Pausing the pipeline from within a plugin element

Konstantin Miller konstantin.miller at googlemail.com
Thu Sep 8 00:19:50 PDT 2011


Dear all,

I am working on a plugin that receives streaming video data and buffers them
in a queue element, which is connected to decodebin. I would like to set the
pipeline to the PAUSED state whenever the queue becomes empty and then
periodically query its current-level-bytes property until enough data is
accumulated to restart playback.

Is it a good practice to call gst_element_set_state on the pipeline from
within a plugin element?

Thanks!

Best,
Konstantin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110908/debf2555/attachment.html>


More information about the gstreamer-devel mailing list