summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>2012-07-05 17:54:48 +0300
committerTim-Philipp Müller <tim@centricular.net>2012-10-28 23:09:36 +0000
commitf816f94995956b7a341889b2678ccd3abfd6108b (patch)
tree4a7e446af93431720e36c462a02075b8745bf273
parente921b5b0f3187ff3b210dd54473ff887eca020ab (diff)
videodecoder: fix inappropriate compiler optimization hint macro usage
https://bugzilla.gnome.org/show_bug.cgi?id=679456
-rw-r--r--gst-libs/gst/video/gstvideodecoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c
index a62c9f83f..219daf6c1 100644
--- a/gst-libs/gst/video/gstvideodecoder.c
+++ b/gst-libs/gst/video/gstvideodecoder.c
@@ -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);