mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
androidmedia: Fix string comparison
This commit is contained in:
parent
44b1bc6081
commit
17699d07e7
1 changed files with 1 additions and 1 deletions
|
@ -707,7 +707,7 @@ gst_amc_video_dec_set_src_caps (GstAmcVideoDec * self, GstAmcFormat * format)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
if (strcmp (klass->codec_info->name, "OMX.k3.video.decoder.avc") &&
|
||||
if (strcmp (klass->codec_info->name, "OMX.k3.video.decoder.avc") == 0 &&
|
||||
color_format == COLOR_FormatYCbYCr)
|
||||
color_format = COLOR_TI_FormatYUV420PackedSemiPlanar;
|
||||
|
||||
|
|
Loading…
Reference in a new issue