androidmedia: Fix string comparison

This commit is contained in:
Sebastian Dröge 2013-06-07 14:01:46 +02:00
parent 44b1bc6081
commit 17699d07e7

View file

@ -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;