[Bug 708598] New: [asfdemux] When seek to end of file, some asf recieve EOS and then finished. But some asf file play from beginning.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Sep 22 22:31:12 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=708598
  GStreamer | gst-plugins-ugly | 1.0.5

           Summary: [asfdemux] When seek to end of file, some asf recieve
                    EOS and then finished. But some asf file play from
                    beginning.
    Classification: Platform
           Product: GStreamer
           Version: 1.0.5
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-ugly
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: hjqiao213 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When play asf video, using gst_element_seek_simple interface, seek to 62000ms
while the duration of video is 62455ms. Expect result is application can
recieve EOS immediately, but the actual result is video play again from
beginning. After debug, i found in asfdemux when process simple index object,
the last index entry will be lost. For example, my video should have 66 index
entry, but in gstasfdemux.c:3332 Line when process the last index entry, the
condition G_UNLIKELY (size <= 6) return true, so the last index entry will not
add to index table. So there are 65 elements in index table, when i seek to
62000ms, the match idx is 65(the last index entry) but packet value is 0. So
the video play again from beginning.

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