diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2016-06-29 15:55:19 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2016-06-30 09:27:03 -0400 |
commit | e35e23b734be3887546173aaba86e8d746bb255d (patch) | |
tree | dbe010f341acb04c2f5bc47711aada95e41c7c86 /ext/webrtcdsp | |
parent | 087bb0ed6a48366c2c65d8d8c797571fde91277e (diff) | |
download | gstreamer-plugins-bad-e35e23b734be3887546173aaba86e8d746bb255d.tar.gz |
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.
Diffstat (limited to 'ext/webrtcdsp')
-rw-r--r-- | ext/webrtcdsp/gstwebrtcdsp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/webrtcdsp/gstwebrtcdsp.cpp b/ext/webrtcdsp/gstwebrtcdsp.cpp index 2f87f589a..f8f086d37 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); |