diff options
author | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2012-07-05 17:54:48 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-12-10 12:05:29 +0000 |
commit | 51f751341fd7b8858c1159832c8b1653cc01c2c9 (patch) | |
tree | e06cdb945e71b7dad2b2242916de694168cd1dee | |
parent | 969fe8c0b97ae4ac58aacf7530ca1bfbc2b5969a (diff) | |
download | gstreamer-plugins-base-51f751341fd7b8858c1159832c8b1653cc01c2c9.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c index 25b90a96f..01392f226 100644 --- a/gst-libs/gst/video/gstvideodecoder.c +++ b/gst-libs/gst/video/gstvideodecoder.c @@ -2733,7 +2733,7 @@ gst_video_decoder_set_src_caps (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); |