[Bug 763165] New: Seek not working with decodebin while it's working with playbin (Android)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Mar 6 08:08:45 UTC 2016


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

            Bug ID: 763165
           Summary: Seek not working with decodebin while it's working
                    with playbin (Android)
    Classification: Platform
           Product: GStreamer
           Version: 1.7.90
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: gregoire at gentil.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

On Android 6.0.1 with gstreamer 1.7.90, a seek event such as:

gst_element_seek_simple(data->pipeline, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH |
GST_SEEK_FLAG_KEY_UNIT, s * GST_MSECOND);

works with the following pipeline:

playbin uri=file://path

while it's not working with the following pipeline:

filesrc location=path ! queue ! decodebin ! queue ! glimagesink

everything else not changed.



With the playbin pipeline, it's working as expected and the jump is immediate.
After the seek event occurs, the video continues playing immediately at the new
position. Here is the *:4 log. At 23:45:50.073, a seek to 31s is requested and
at 23:45:50.174, the video plays at the 31s mark.


With the decodebin pipeline, after the seek event occurs at 23:30:17.396, there
is an immediate jump for one frame, meaning that a frame of the 31s mark is
displayed at 23:30:17.476. Nevertheless, the pipeline restarts from the
beginning without displaying anything (the 31s frame is still visible) and once
31 seconds have elapsed at 23:30:49.176, the video resumes playing after the
31s mark.

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