From aa5c16c3ff21a3efdaa2c9f5c6bfe2037c5918b1 Mon Sep 17 00:00:00 2001 From: lupeng Date: Tue, 29 Jan 2019 11:53:22 +0800 Subject: [PATCH] tplayer use last 6 layers. --- package/allwinner/libuapi/src/videoOutPort.c | 4 +++- package/netease/clockFrame/src/main.cpp | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package/allwinner/libuapi/src/videoOutPort.c b/package/allwinner/libuapi/src/videoOutPort.c index 28a55156c..516a22f5f 100755 --- a/package/allwinner/libuapi/src/videoOutPort.c +++ b/package/allwinner/libuapi/src/videoOutPort.c @@ -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; diff --git a/package/netease/clockFrame/src/main.cpp b/package/netease/clockFrame/src/main.cpp index 896df5751..29d17813f 100755 --- a/package/netease/clockFrame/src/main.cpp +++ b/package/netease/clockFrame/src/main.cpp @@ -62,6 +62,7 @@ int main(int argc, char *argv[]) thdDbusLoop = std::thread(RunUVLoop, pLoop); thdDbusLoop.detach(); + //为界面设置mailbox,使用子类dbusMailBox实例化 setMailBox(); return frameShow(argc, argv);