videomixer: Don't unref query, we don't own it

Fixes double-unref bug. Bug found by Youness Alaoui
This commit is contained in:
Olivier Crête 2013-04-16 19:29:48 -04:00
parent d975a70f12
commit 24bb263d54

View file

@ -1279,7 +1279,6 @@ gst_videomixer2_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
/* FIXME, needs a custom query handler because we have multiple
* sinkpads */
res = FALSE;
gst_query_unref (query);
break;
}
return res;