videodecoder: fix inappropriate compiler optimization hint macro usage
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 5 Jul 2012 14:54:48 +0000 (17:54 +0300)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 28 Oct 2012 23:09:36 +0000 (23:09 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=679456

gst-libs/gst/video/gstvideodecoder.c

index a62c9f8..219daf6 100644 (file)
@@ -2927,7 +2927,7 @@ gst_video_decoder_negotiate_default (GstVideoDecoder * decoder)
       state->info.par_n, state->info.par_d,
       state->info.fps_n, state->info.fps_d);
 
-  if (G_UNLIKELY (state->caps == NULL))
+  if (state->caps == NULL)
     state->caps = gst_video_info_to_caps (&state->info);
 
   GST_DEBUG_OBJECT (decoder, "setting caps %" GST_PTR_FORMAT, state->caps);