State change in tee element

Sebastian Dröge sebastian at centricular.com
Wed May 21 00:36:48 PDT 2014


On Mi, 2014-05-21 at 12:40 +0530, Yogesh Tyagi wrote:
> In my plugin for playing sparse steams, if  audio sink branch changes it's
> state first then streams plays fine but if video sink branch goes for state
> change first, it stuck in prerolling because there is too much audio data
> in the stream which stalls the demux for processing further data.
> 
> Is there any way I can force branches to change state in a particular order
> when there is tee in the pipeline?

No, and even if you did that it wouldn't be very reliable. Instead you
should use queue elements in your pipeline that are large enough to
compensate the bad interleaving.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140521/0290ea0a/attachment.sig>


More information about the gstreamer-devel mailing list