playbin: Fix caps memory leak in usage of gst_static_caps_get() API

https://bugzilla.gnome.org/show_bug.cgi?id=775310
This commit is contained in:
Garima Gaur 2016-11-29 16:37:50 +05:30 committed by Sebastian Dröge
parent 88469fdb76
commit 6c5381eda6

View file

@ -4733,6 +4733,7 @@ autoplug_select_cb (GstElement * decodebin, GstPad * pad,
} }
gst_object_unref (sinkpad); gst_object_unref (sinkpad);
gst_caps_unref (raw_caps);
gst_caps_unref (caps); gst_caps_unref (caps);
} }