[Bug 797066] New: player: position getter returns 0 upon query failure

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Sep 1 10:23:15 UTC 2018


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

            Bug ID: 797066
           Summary: player: position getter returns 0 upon query failure
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: philn at igalia.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Returning 0 instead of GST_CLOCK_TIME_NONE in case of query failure is wrong
because it might induce unintended seeks to the beginning of the media.

Arguably this might be an issue in gst_element_query_position() which doesn't
set the output param to GST_CLOCK_TIME_NONE when the query failed.

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