From 8244e78d1908ea04302364ef39d987c26bac55e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 22 Dec 2014 22:11:13 +0100 Subject: [PATCH] audiomixer: Use the src query implementation of aggregator as the default case --- gst/audiomixer/gstaudiomixer.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gst/audiomixer/gstaudiomixer.c b/gst/audiomixer/gstaudiomixer.c index faa1a0af48..12a7ac0d6b 100644 --- a/gst/audiomixer/gstaudiomixer.c +++ b/gst/audiomixer/gstaudiomixer.c @@ -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;