[Bug 700933] New: AVI Demux: Wrong duration in push mode for some clips.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu May 23 22:12:51 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=700933
  GStreamer | gst-plugins-good | 0.10.28

           Summary: AVI Demux: Wrong duration in push mode for some clips.
    Classification: Platform
           Product: GStreamer
           Version: 0.10.28
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: srk.it38 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=245211)
 View: https://bugzilla.gnome.org/attachment.cgi?id=245211
 Review: https://bugzilla.gnome.org/review?bug=700933&attachment=245211

gst-plugins-good avidemux duration query patch.

AVI demux reports wrong duration info for some samples.

Usually in pull mode the duration was calculated from indexing information
which is always accurate (stream->duration).

In PUSH mode duration was taken from header(If stream->duration is invalid
avi->duration is takes into consideration) which some times wrong for some
samples.

In this case the stream->hdr_duration contains the appropriate duration info.

Changing the duration query logic to take stream->hdr_duration into
consideration before falling back to avi->duration seems to be working fine
with these samples.

Please find the attached patch which is working for these samples.

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