[gst-devel] qtdemux bug?
t.i.m at zen.co.uk
Tue Sep 29 10:21:28 CEST 2009
On Tue, 2009-09-29 at 11:36 +0800, dxssx wrote:
> Pipeline "filesrc location=xxx.mp4 ! qtdemux name=demux
> demux.audio_00 ! queue ! filesink location=a.aac demux.video_00 !
> queue ! filesink location=a.h264" works well, but "filesrc
> location=xxx.mp4 ! qtdemux name=demux demux.audio_00 ! filesink
> location=a.aac demux.video_00 ! filesink location=a.h264" does not
> It seems to be a dead lock in basesink which is waiting for a play
> Does it necessary to add a queue in pipeline when demuxing?
Yes, you need to add queues, otherwise the pipeline can't preroll
because the first sink to get data will block and control won't be given
back to qtdemux to push data to the other sink (which will then wait for
data forever and never preroll).
More information about the gstreamer-devel