[vlc-devel] [PATCH 03/12] speex: requires a valid physical channel layout
Rémi Denis-Courmont
remi at remlab.net
Fri Jul 7 17:03:25 CEST 2017
Le 7 juillet 2017 16:39:50 GMT+03:00, Thomas Guillem <thomas at gllm.fr> a écrit :
>---
> modules/audio_filter/resampler/speex.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
>diff --git a/modules/audio_filter/resampler/speex.c
>b/modules/audio_filter/resampler/speex.c
>index ee37ea95d9..bdb32e4240 100644
>--- a/modules/audio_filter/resampler/speex.c
>+++ b/modules/audio_filter/resampler/speex.c
>@@ -68,7 +68,8 @@ static int OpenResampler (vlc_object_t *obj)
> || filter->fmt_in.audio.i_physical_channels
> != filter->fmt_out.audio.i_physical_channels
> || filter->fmt_in.audio.i_original_channels
>- !=
>filter->fmt_out.audio.i_original_channels)
>+ !=
>filter->fmt_out.audio.i_original_channels
>+ || filter->fmt_in.audio.i_physical_channels == 0 )
> return VLC_EGENERIC;
>
> switch (filter->fmt_in.audio.i_format)
>--
>2.11.0
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel
I don't think speex-dsp cares about the channel layout.
--
Rémi Denis-Courmont
Typed on an inconvenient virtual keyboard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170707/bba13aca/attachment-0001.html>
More information about the vlc-devel
mailing list