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
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel