mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
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:
parent
89b193c0a9
commit
fb8662eb5c
1 changed files with 4 additions and 6 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue