[Bug 792434] New: gstbasesink: Include segment.offset in the computation of position

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 11 17:20:45 UTC 2018


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

            Bug ID: 792434
           Summary: gstbasesink: Include segment.offset in the computation
                    of position
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: aboya at igalia.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 366674
  --> https://bugzilla.gnome.org/attachment.cgi?id=366674&action=edit
Patch

Position queries with GST_FORMAT_TIME are supposed to return stream
time.

gst_base_sink_get_position() estimates the current stream time on its
own instead of using gst_segment_to_stream_time(), but the algorithm
used was not taking segment.offset into account, resulting in invalid
values when this field was set to a non-zero value.

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