androidmedia: Fix calculation of the frame size for COLOR_FormatYUV420Planar
https://bugzilla.gnome.org/show_bug.cgi?id=734156
This commit is contained in:
parent
03a5bc82db
commit
66a4572c12
@ -2753,7 +2753,7 @@ gst_amc_color_format_info_set (GstAmcColorFormatInfo * color_format_info,
|
|||||||
}
|
}
|
||||||
|
|
||||||
frame_size =
|
frame_size =
|
||||||
stride * slice_height + 2 * (((stride + 1) / 2) * (slice_height +
|
stride * slice_height + 2 * ((stride + 1) / 2) * ((slice_height +
|
||||||
1) / 2);
|
1) / 2);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user