[Bug 735379] mpeg2dec: use stride information from GstVideoFrame

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 9 12:19:16 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=735379

--- Comment #5 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
Review of attachment 284402:
 --> (https://bugzilla.gnome.org/review?bug=735379&attachment=284402)

::: ext/mpeg2dec/gstmpeg2dec.c
@@ +557,3 @@
+  for (i = 1; i < GST_VIDEO_FRAME_N_PLANES (&vframe); i++) {
+    const guint pstride = GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, i);
+    if (pstride != (stride >> mpeg2dec->chroma_w_shift))

Maybe use already existing video info scale macro ?

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