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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 22 10:47:44 PST 2015


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

--- Comment #19 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> 2015-01-22 18:47:38 UTC ---
Review of attachment 295211:
 --> (https://bugzilla.gnome.org/review?bug=743311&attachment=295211)

::: ext/mpeg2dec/gstmpeg2dec.c
@@ +327,3 @@
+    goto buffer_not_acquired;
+
+  if (!gst_video_frame_map (&vframe, &dec->decoded_info, test_buffer,

I was testing this solution with some more changes and found that decoded_info
is not always right. Because of the cropping that happens sometimes, the size
in decoded_info might be bigger then the size the pool is configured.

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