Revert "pulseaudiosink: fix caps leak"

This reverts commit d6a9de9e2a.

setcaps functions aren't supposed to take ownership of the caps passed
This commit is contained in:
Thiago Santos 2011-11-29 17:34:10 -03:00
parent c0e101e93f
commit 1e6bd5ad57

View file

@ -872,7 +872,6 @@ gst_pulse_audio_sink_sink_setcaps (GstPad * pad, GstCaps * caps)
GST_PULSE_AUDIO_SINK_UNLOCK (pbin);
gst_caps_unref (caps);
gst_object_unref (pbin);
return ret;