[gst-devel] Sink will not pause

Wim Taymans wim.taymans at gmail.com
Mon Aug 25 19:54:35 CEST 2008


On Mon, 2008-08-25 at 12:39 -0500, Levi Pope wrote:
> I have a pipeline that looks like this:
> 
> Filesrc ! TSDemux ! Queue ! Decodebin ! Xvimagesink
>                             ! Queue ! Fakesink
> 
> I add the second row to the pipe when i get a new_pad event from the
> Demux.
> The Pad is for a private data stream that is embeded in the MPEG-TS
> stream.
> 
> The pipleline plays just fine but when I change the state of the
> pipeline to PAUSE all of the elements pause
> except the Fakesink. I see that it has a pending state of PAUSE but it
> never changes from PLAYING.
> 

It's because no data arrives in fakesink because the other queue is
filled. You can solve this by using multiqueue or by setting the async
property to FALSE on fakesink.

Wim

> If I replace the fakesink with a filesink the same think happens
> 
> Thanks for the help
> Levi
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list