[Bug 682110] New: [isomp4/qtdemux] Discont flag set on multiple buffers in push mode

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 17 09:55:22 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=682110
  GStreamer | gst-plugins-good | 0.11.x

           Summary: [isomp4/qtdemux] Discont flag set on multiple buffers
                    in push mode
    Classification: Platform
           Product: GStreamer
           Version: 0.11.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: rawoul at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When playing an mp4 file in push mode, I receive multiple successive buffers
with the discont flag set on stream start, on each stream. Only the first
buffer should have the discont flag set for each stream.

The problem is that gst_adapter_take_buffer might return a region copy of the
original buffer pushed in the adapter, and the copy includes the buffer flags.
So if an input buffer has the discont flag and it is cut in two output buffers,
both buffers will have the discont flag set.

The bug can be fixed by either patching the gst_adapter_take_buffer function,
or clearing the buffer flags in gst_qtdemux_decorate_and_push_buffer.

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