mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
audiomixer: Use the src query implementation of aggregator as the default case
This commit is contained in:
parent
68d4616ac8
commit
8244e78d19
1 changed files with 1 additions and 7 deletions
|
@ -553,17 +553,11 @@ gst_audiomixer_src_query (GstAggregator * agg, GstQuery * query)
|
||||||
case GST_QUERY_DURATION:
|
case GST_QUERY_DURATION:
|
||||||
res = gst_audiomixer_query_duration (audiomixer, query);
|
res = gst_audiomixer_query_duration (audiomixer, query);
|
||||||
break;
|
break;
|
||||||
case GST_QUERY_LATENCY:
|
default:
|
||||||
res =
|
res =
|
||||||
GST_AGGREGATOR_CLASS (gst_audiomixer_parent_class)->src_query
|
GST_AGGREGATOR_CLASS (gst_audiomixer_parent_class)->src_query
|
||||||
(agg, query);
|
(agg, query);
|
||||||
break;
|
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;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue