This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to hidden a window?

Hi,

I use mcfw_demo to verify some idea, i use the demo to read one video file and display in two windows, the display is synchronized(display same frame in same time),  then i want to hidden one window,  after a while, i want the hidden window to display and  synchronize with another, how can i do this? 

use Vdis_disableChn and Vdis_enableChn can not achieve the goal!

Thanks!

  • When you say hide a window what do you mean. Will one window be on top of another window and then when you hide it will go away ?

    For this you need to switch the SwMs layout from 2 windows with one on top of another to 1 window layout when you want to hide.

    Avsync in SwMs supports the feature of synchronizing playback of all video channels with one master channel. You can select the window you want to hide as the master synch channel.When you again switch to 2 window layout to make the hidden window appear the channels will still be in synch

  • Badri,

    thanks for your answer! hidden a window means that not display the decode frame and without SwMs layout, but the decoding is in process. if the window is top of another, then it will show the covered window. How can i implement this function?

    I will try your suggestion of Avsync in SwMs, thank you very much!

  • You need to have two swms layout with one shoing 2 windows in PIP layout and other showing only 1 window and when you want to hide the window on the top you have to  switch swms layout from 2 window to 1 window, This is the only option to not display a window. Decoding will continue to occur