[Bug 702003] New: [libav] renegotiation might cause corrupted video

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 11 04:35:01 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702003
  GStreamer | gst-libav | 1.x

           Summary: [libav] renegotiation might cause corrupted video
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-libav
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: thiago.sousa.santos at collabora.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


According to libav docs:

    /**
     * Bitstream width / height, may be different from width/height.
     * - encoding: unused
     * - decoding: Set by user before init if known. Codec should override /
dynamically change if needed.
     */
    int coded_width, coded_height;

But during a resolution renegotiation, those fields are kept as is between
closing and opening the codec again, this leads to libav using the
coded_width/_height as the final width/height. This causes a mismatch and the
decoder can produce corrupted video or segfault.

This was discovered with the test stream from
https://bugzilla.gnome.org/show_bug.cgi?id=700505 [dash video renegotiation
issue]

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