On Wed, 2017-03-29 at 20:27 -0700, BillyBob wrote:
> I have a case where I need to use TWO queue2 (one is for video and one is
> for audio), but I observed when one of the queue is FULL, that queue is stop
> but the other queue is also stopped....
> I'm not sure why this is happening? shouldn't the second queue keep
> is this the normal behavior?
That depends on your pipeline, but in your specific one that is normal.
What will happen is that when one of the queues runs full, the demuxer
thread that pushes into that queue will block until there's space again
in the queue. And while the demuxer thread is blocked, it can't push
any new buffers into the other queue. So the other queue stays empty
and does not produce any further output either.