[Bug 657150] New: Failed to display end of frame when seeking to end of stream

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 23 03:29:54 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=657150
  GStreamer | gst-plugins | 0.10.22

           Summary: Failed to display end of frame when seeking to end of
                    stream
    Classification: Platform
           Product: GStreamer
           Version: 0.10.22
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: chngjp88 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Hi,

I tried to seek to end of stream with the following code:
gst_element_query_duration (playbin, &fmt, &len);
gst_element_seek (playbin, 1.0, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH |
GST_SEEK_FLAG_KEY_UNIT, GST_SEEK_TYPE_SET, len, GST_SEEK_TYPE_SET, -1);
The video will stop at current frame without displaying the last key frame.

Is there other way to implement seek to end of stream and displaying the last
key frame?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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