mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
androidmedia: Fix slice-height for Tegra 3 devices
https://bugzilla.gnome.org/show_bug.cgi?id=748867
This commit is contained in:
parent
8d41c3e393
commit
21ff3ae0b0
1 changed files with 1 additions and 1 deletions
|
@ -1960,7 +1960,7 @@ gst_amc_color_format_info_set (GstAmcColorFormatInfo * color_format_info,
|
||||||
if (slice_height == 0) {
|
if (slice_height == 0) {
|
||||||
/* NVidia Tegra 3 on Nexus 7 does not set this */
|
/* NVidia Tegra 3 on Nexus 7 does not set this */
|
||||||
if (g_str_has_prefix (codec_info->name, "OMX.Nvidia."))
|
if (g_str_has_prefix (codec_info->name, "OMX.Nvidia."))
|
||||||
slice_height = GST_ROUND_UP_32 (height);
|
slice_height = GST_ROUND_UP_16 (height);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (width == 0 || height == 0) {
|
if (width == 0 || height == 0) {
|
||||||
|
|
Loading…
Reference in a new issue