tplayer use last 6 layers.
This commit is contained in:
parent
c2231eea0f
commit
aa5c16c3ff
package
|
@ -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;
|
||||
|
|
|
@ -62,6 +62,7 @@ int main(int argc, char *argv[])
|
|||
thdDbusLoop = std::thread(RunUVLoop, pLoop);
|
||||
thdDbusLoop.detach();
|
||||
|
||||
//为界面设置mailbox,使用子类dbusMailBox实例化
|
||||
setMailBox();
|
||||
|
||||
return frameShow(argc, argv);
|
||||
|
|
Loading…
Reference in New Issue