tests: baseparse: set_sink_caps vfunc should't take ownership of the caps

https://bugzilla.gnome.org/show_bug.cgi?id=737762
This commit is contained in:
Matej Knopp 2014-10-03 13:14:25 +02:00 committed by Tim-Philipp Müller
parent e014bac42b
commit 0561c988ff

View file

@ -68,7 +68,6 @@ static gboolean
gst_parser_tester_set_sink_caps (GstBaseParse * parse, GstCaps * caps)
{
gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (parse), caps);
gst_caps_unref (caps);
return TRUE;
}