[gst-devel] Multiple Programs in a container format
Daniel James Laird
daniel.j.laird at nxp.com
Tue Feb 17 17:55:39 CET 2009
All,
I am writing some gstreamer code to cope with a inout file that has multiple programs.
Currently what I do is the following:
Create filesrc and demux
Create N * queue and fakesink
I then connect filesrc -> demux
I then connect N times queueN -> fakesinkN
I then run demux for 5 seconds and every time on_pad_added is called I link pad->QueueN
This works fine.
I then destroy and start again:
Create filesrc and demux
Create Queue and MySink
Create Queue and MySink2
Create (N-2) * queue and fakesink
For playback I do a similar thing except that the first video and first audio pads are not linked to the (Queue->Fakesink) but to my (Queue->MySink)
This all sets up fine and starts fine with no errors, however all I get a a queue full and nothing happens.
Wierdly if I remove the queues that are connected to Fakesinks but not attached to the demux then it runs perfectly.
Does anyone have any code/advice on this issue?
Many thanks
Daniel Laird
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090217/820291f0/attachment.htm>
More information about the gstreamer-devel
mailing list