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.
This commit is contained in:
Nicolas Dufresne 2016-06-22 21:45:08 -04:00
parent 89b193c0a9
commit fb8662eb5c

View file

@ -277,13 +277,11 @@ gst_webrtc_dsp_sync_reverse_stream (GstWebrtcDsp * self,
return FALSE; return FALSE;
} }
if (self->info.rate != probe->info.rate if (self->info.rate != probe->info.rate) {
|| self->info.channels != probe->info.channels) {
GST_WARNING_OBJECT (self, GST_WARNING_OBJECT (self,
"Echo Probe has rate %i and %i channels, while " "Echo Probe has rate %i while the DSP is running at rate %i, use a "
"the DSP is running at rate %i with %i channels, use a caps filter to " "caps filter to ensure those are the same.",
"ensure those are the same.", probe->info.rate, probe->info.channels, probe->info.rate, self->info.rate);
self->info.rate, self->info.channels);
return FALSE; return FALSE;
} }