audiodecoder: Fix previous commit

(sorry)
This commit is contained in:
Edward Hervey 2013-08-23 16:59:30 +02:00
parent d1cf4b2b9a
commit f9ebfd57f8

View file

@ -579,7 +579,7 @@ gst_audio_decoder_negotiate_default (GstAudioDecoder * dec)
prevcaps = gst_pad_get_current_caps (dec->srcpad);
if (!prevcaps || !gst_caps_is_equal (prevcaps, caps))
set_caps = TRUE;
set_caps = FALSE;
if (prevcaps)
gst_caps_unref (prevcaps);