[Bug 762787] New: dvdreadsrc: Seeking forgets title

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Feb 27 18:45:51 UTC 2016


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

            Bug ID: 762787
           Summary: dvdreadsrc: Seeking forgets title
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-ugly
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: mail at jensge.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When using gst_element_seek on a pipeline containing dvdreadsrc and a title
different to 1, there seems to be an issue in time -> sector mapping.

Example:

gst_element_seek (pipeline, 1.0, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH |
GST_SEEK_FLAG_KEY_UNIT, GST_SEEK_TYPE_SET, start, GST_SEEK_TYPE_SET, end)

if start == 0, I get the sector "0" and end up in title 1.

dvdreadsrc.c:1275:gst_dvd_read_src_do_seek:<dvdreadsrc0> Time 0:00:00.000000000
=> sector 0

If I set start to 1 second, I get the proper offset for the current title:
dvdreadsrc.c:1275:gst_dvd_read_src_do_seek:<dvdreadsrc0> Time 0:00:01.000000000
=> sector 514961

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