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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue