From: Edward Hervey Date: Fri, 14 Jan 2011 16:37:09 +0000 (+0100) Subject: mpeg2dec: Use the proper component value for height X-Git-Tag: 1.19.3~505^2~818^2~153 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72389b19413cdee2608bf07c31dbf74ad18de454;p=platform%2Fupstream%2Fgstreamer.git mpeg2dec: Use the proper component value for height --- diff --git a/ext/mpeg2dec/gstmpeg2dec.c b/ext/mpeg2dec/gstmpeg2dec.c index cbf72b4..67b00ff 100644 --- a/ext/mpeg2dec/gstmpeg2dec.c +++ b/ext/mpeg2dec/gstmpeg2dec.c @@ -357,7 +357,7 @@ gst_mpeg2dec_crop_buffer (GstMpeg2dec * dec, GstBuffer ** buf) stride_in = gst_video_format_get_row_stride (dec->format, c, dec->decoded_width); c_height = - gst_video_format_get_component_width (dec->format, c, dec->height); + gst_video_format_get_component_height (dec->format, c, dec->height); c_width = gst_video_format_get_component_width (dec->format, c, dec->width); for (line = 0; line < c_height; line++) {