androidmedia: Fix calculation of the frame size for COLOR_FormatYUV420Planar

https://bugzilla.gnome.org/show_bug.cgi?id=734156
This commit is contained in:
Sebastian Dröge 2014-10-02 10:26:43 +03:00
parent 03a5bc82db
commit 66a4572c12

View file

@ -2753,7 +2753,7 @@ gst_amc_color_format_info_set (GstAmcColorFormatInfo * color_format_info,
}
frame_size =
stride * slice_height + 2 * (((stride + 1) / 2) * (slice_height +
stride * slice_height + 2 * ((stride + 1) / 2) * ((slice_height +
1) / 2);
break;
}