[Bug 778390] New: gstplayer: Add gst_player play / stop in sync mode API

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 9 12:08:27 UTC 2017


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

            Bug ID: 778390
           Summary: gstplayer: Add gst_player play / stop  in sync mode
                    API
    Classification: Platform
           Product: GStreamer
           Version: 1.x
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: lyon.wang at nxp.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Currently the gst_player_play() / gst_player_stop() functions are in async
mode. When return from _play/stop() function, the gstplayer state might not
changed yet. 
When in application side, we may want to seek after gst_player_play(), and need
get seekable flag in media_info. however, as the gst_player_play() function is
async, the media_info might not been created yet.

So we implement gst_player_play_sync() and gst_player_stop_sync() function to
wait for the state change finished.  So that it will be easy to handle for
application.

Do you think add these API is reasonable. or Should these functions should be
implement on application side.

Thanks
Lyon

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