[827/906] mixer: don't unref the query in the default case
authorMatthew Waters <ystreet00@gmail.com>
Fri, 25 Oct 2013 15:20:54 +0000 (02:20 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:32 +0000 (19:31 +0000)
The element/application performing the query is responsible for the
de/allocation

gst-libs/gst/gl/gstglmixer.c

index b9c2c69..02eaee4 100644 (file)
@@ -883,7 +883,6 @@ gst_gl_mixer_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
       /* FIXME, needs a custom query handler because we have multiple
        * sinkpads, send to the master pad until then */
       res = FALSE;
-      gst_query_unref (query);
       break;
   }