Revert "audioencoder: plug caps ref leak"

This reverts commit 08ff5899a7.

Was not a leak to begin with as we did not have ownership of caps.
This commit is contained in:
Mark Nauwelaerts 2012-07-25 12:29:36 +02:00
parent 08ff5899a7
commit 26d74941fb

View file

@ -2551,7 +2551,6 @@ gst_audio_encoder_set_output_format (GstAudioEncoder * enc, GstCaps * caps)
done:
if (query)
gst_query_unref (query);
gst_caps_unref (caps);
return res;