Sink will not pause

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Sink will not pause

Levi Pope
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.

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Sink will not pause

Wim Taymans
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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel