[Bug 792601] Message bus lockup if getting pipeline state

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 17 13:24:17 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=792601

Florent Thiéry <florent.thiery at ubicast.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #2 from Florent Thiéry <florent.thiery at ubicast.eu> ---
Indeed the set_state to playing returns GST_STATE_CHANGE_ASYNC, in which case
the get_state documentation says: 

"For elements that did not return GST_STATE_CHANGE_ASYNC, this function returns
the current and pending state immediately."

(https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-get-state)

This explains why get_state is blocking the pipeline, until
Gst.MessageType.STREAM_START is received, sorry i was not aware of this.

Thanks for taking a look.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list