From 6d4d0d1cdf7c7531fbf72ce39e1eab1260d20550 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Tue, 24 Mar 2015 15:45:25 +0000 Subject: [PATCH] audioaggregator: check sink caps are valid CID #1291622 --- gst/audiomixer/gstaudioaggregator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/audiomixer/gstaudioaggregator.c b/gst/audiomixer/gstaudioaggregator.c index b52635015d..647f36a234 100644 --- a/gst/audiomixer/gstaudioaggregator.c +++ b/gst/audiomixer/gstaudioaggregator.c @@ -617,7 +617,7 @@ gst_audio_aggregator_set_sink_caps (GstAudioAggregator * aagg, GstAudioAggregatorPad * pad, GstCaps * caps) { GST_OBJECT_LOCK (pad); - gst_audio_info_from_caps (&pad->info, caps); + g_assert (gst_audio_info_from_caps (&pad->info, caps)); GST_OBJECT_UNLOCK (pad); }