Multiple Video Channels Demux
Posted: 17 Jun 2015 17:48
I am working on a demuxer that supports multiple video channels. The problem is I cannot find a way to order the channels. I add the channels in open using es_out_Add(demux->out, &sys->videoFmt);. Then I send the frames in demux es_out_Send(demux->out, sys->videoESArr[channel], buf);. It seems like the channels are not always in the same order. I printed off the channel before calling send and that order is always the same, but the order the windows appear in is different sometimes. Is there any way I can preset the order?