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;
}
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;
}