audiomixer: Use the src query implementation of aggregator as the default case

This commit is contained in:
Sebastian Dröge 2014-12-22 22:11:13 +01:00
parent 68d4616ac8
commit 8244e78d19

View file

@ -553,17 +553,11 @@ gst_audiomixer_src_query (GstAggregator * agg, GstQuery * query)
case GST_QUERY_DURATION:
res = gst_audiomixer_query_duration (audiomixer, query);
break;
case GST_QUERY_LATENCY:
default:
res =
GST_AGGREGATOR_CLASS (gst_audiomixer_parent_class)->src_query
(agg, query);
break;
default:
/* FIXME, needs a custom query handler because we have multiple
* sinkpads */
res = gst_pad_query_default (GST_PAD (agg->srcpad), GST_OBJECT (agg),
query);
break;
}
return res;