mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue