summaryrefslogtreecommitdiff
path: root/ext/webrtcdsp
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2016-06-22 21:45:08 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2016-06-22 22:34:25 -0400
commitfb8662eb5c64c9c25ef670a018174b74616b6a2a (patch)
tree4c6f166cc28ce62a330d0a4d5808d007f4b39c23 /ext/webrtcdsp
parent89b193c0a966e9330f01231b710d49009a009449 (diff)
downloadgstreamer-plugins-bad-fb8662eb5c64c9c25ef670a018174b74616b6a2a.tar.gz
webrtdsp: Remove restriction on channels number
Unlike 0.1, in 0.2 the reverse stream can have different number of channels. Remove the check that restrict it.
Diffstat (limited to 'ext/webrtcdsp')
-rw-r--r--ext/webrtcdsp/gstwebrtcdsp.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/ext/webrtcdsp/gstwebrtcdsp.cpp b/ext/webrtcdsp/gstwebrtcdsp.cpp
index a5ed2f189..f17947bfe 100644
--- a/ext/webrtcdsp/gstwebrtcdsp.cpp
+++ b/ext/webrtcdsp/gstwebrtcdsp.cpp
@@ -277,13 +277,11 @@ gst_webrtc_dsp_sync_reverse_stream (GstWebrtcDsp * self,
return FALSE;
}
- if (self->info.rate != probe->info.rate
- || self->info.channels != probe->info.channels) {
+ if (self->info.rate != probe->info.rate) {
GST_WARNING_OBJECT (self,
- "Echo Probe has rate %i and %i channels, while "
- "the DSP is running at rate %i with %i channels, use a caps filter to "
- "ensure those are the same.", probe->info.rate, probe->info.channels,
- self->info.rate, self->info.channels);
+ "Echo Probe has rate %i while the DSP is running at rate %i, use a "
+ "caps filter to ensure those are the same.",
+ probe->info.rate, self->info.rate);
return FALSE;
}