[Bug 773099] New: decodebin2 ignores the GST_CHANGE_STATE_ASYNC returned by the child element.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Oct 17 12:54:24 UTC 2016


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

            Bug ID: 773099
           Summary: decodebin2  ignores the GST_CHANGE_STATE_ASYNC
                    returned by the child element.
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: bandou.yacine at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 337847
  --> https://bugzilla.gnome.org/attachment.cgi?id=337847&action=edit
decodebin2 don't ignore the GST_CHANGE_STATE_ASYNC

1/ The application changes the pipeline state from paused to playing state,
   the change state paused_to_playing is propagate to  playbin, then to
   uridecodebin then to decodebin2 then to the child elements 

2/ My videodecoder element changes his state in asynchronous mode, so returns
GST_CHANGE_STATE_ASYNC in video_decoder_change_state function.

3/ decodebin2 ignores this return (GST_CHANGE_STATE_ASYNC) and forwards  to
uridecodebin  GST_CHANGE_STATE_SUCCESS.


here is the patch that I propose in attached

-- 
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