videomixer: Send queries to the master pad by default instead of all pads

This commit is contained in:
Sebastian Dröge 2009-07-10 19:54:13 +02:00
parent 0bf61ecfaf
commit f19ef7eada

View file

@ -896,8 +896,8 @@ gst_videomixer_query (GstPad * pad, GstQuery * query)
break;
default:
/* FIXME, needs a custom query handler because we have multiple
* sinkpads */
res = gst_pad_query_default (pad, query);
* sinkpads, send to the master pad until then */
res = gst_pad_query (GST_PAD_CAST (mix->master), query);
break;
}