splitmuxsrc: Fix extra unref handling queries
authorJan Schmidt <jan@centricular.com>
Wed, 28 Sep 2016 16:47:36 +0000 (02:47 +1000)
committerJan Schmidt <jan@centricular.com>
Fri, 30 Sep 2016 14:12:41 +0000 (00:12 +1000)
https://bugzilla.gnome.org/show_bug.cgi?id=772138

gst/multifile/gstsplitmuxpartreader.c

index 16d78be..1753b37 100644 (file)
@@ -994,7 +994,6 @@ gst_splitmux_part_reader_src_query (GstSplitMuxPartReader * part,
     return FALSE;
 
   ret = gst_pad_peer_query (target, query);
-  gst_object_unref (GST_OBJECT_CAST (target));
 
   if (ret == FALSE)
     goto out;