tplayer use last 6 layers.

This commit is contained in:
lupeng 2019-01-29 11:53:22 +08:00
parent c2231eea0f
commit aa5c16c3ff
2 changed files with 4 additions and 1 deletions
package
allwinner/libuapi/src
netease/clockFrame/src

View File

@ -185,7 +185,9 @@ int LayerRequest(int *pCh, int *pId)
int ch;
int id;
{
for (id = 0; id < LYL_NUM; id++) {
//卢鹏改动20190128播放器只占用6个图层LAYER2和3的4个channel图层。0和1 layer图层播放器不得使用
//for (id = 0; id < LYL_NUM; id++) {
for (id = 2; id < LYL_NUM; id++) {
for (ch = 0; ch < CHN_NUM; ch++) {
if (!(mLayerStatus[ch][id] & LAYER_STATUS_REQUESTED)) {
mLayerStatus[ch][id] |= LAYER_STATUS_REQUESTED;

View File

@ -62,6 +62,7 @@ int main(int argc, char *argv[])
thdDbusLoop = std::thread(RunUVLoop, pLoop);
thdDbusLoop.detach();
//为界面设置mailbox使用子类dbusMailBox实例化
setMailBox();
return frameShow(argc, argv);