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

This commit is contained in:
Sebastian Dröge 2014-12-22 22:11:30 +01:00
parent 5c9472f78c
commit b9312fe9a2

View file

@ -1464,17 +1464,11 @@ gst_videoaggregator_src_query (GstAggregator * agg, GstQuery * query)
case GST_QUERY_DURATION:
res = gst_videoaggregator_query_duration (vagg, query);
break;
case GST_QUERY_LATENCY:
case GST_QUERY_CAPS:
default:
res =
GST_AGGREGATOR_CLASS (gst_videoaggregator_parent_class)->src_query
(agg, query);
break;
default:
/* FIXME, needs a custom query handler because we have multiple
* sinkpads */
res = FALSE;
break;
}
return res;
}