[Bug 743311] New: mpeg2dec does not cope if downstream buffer allocation has stride != width

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 21 10:38:11 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=743311
  GStreamer | gst-plugins-ugly | git master

           Summary: mpeg2dec does not cope if downstream buffer allocation
                    has stride != width
    Classification: Platform
           Product: GStreamer
           Version: git master
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-ugly
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: simon at farnz.org.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


mpeg2dec assumes that stride == width. This causes corrupt video with:

gst-launch-1.0 filesrc location=file.ts ! tsdemux ! mpegvideoparse ! mpeg2dec 
! vaapisink

(or any other sink where stride != width)

I've got a patch I'll attach to fix this, which also asserts that the stride is
something libmpeg2 can cope with.

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