From e35e23b734be3887546173aaba86e8d746bb255d Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 29 Jun 2016 15:55:19 -0400 Subject: [PATCH] webrtcdsp: We now fail if there is no echo probe When echo cancel is enabled, we now fail the pipeline if there is not echo probe. For this reason there is no need to check if probe pointer is set anymore. --- ext/webrtcdsp/gstwebrtcdsp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/webrtcdsp/gstwebrtcdsp.cpp b/ext/webrtcdsp/gstwebrtcdsp.cpp index 2f87f58..f8f086d 100644 --- a/ext/webrtcdsp/gstwebrtcdsp.cpp +++ b/ext/webrtcdsp/gstwebrtcdsp.cpp @@ -311,7 +311,7 @@ gst_webrtc_dsp_analyze_reverse_stream (GstWebrtcDsp * self) gint err; GST_OBJECT_LOCK (self); - if (self->echo_cancel && self->probe) + if (self->echo_cancel) probe = GST_WEBRTC_ECHO_PROBE (g_object_ref (self->probe)); GST_OBJECT_UNLOCK (self); -- 2.7.4