[vlc-commits] ugly: don't require a valid channel layout
Thomas Guillem
git at videolan.org
Mon Jul 10 17:13:54 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jul 7 11:40:18 2017 +0200| [90591791eec98a3ab204d63595311fc90f0111fd] | committer: Thomas Guillem
ugly: don't require a valid channel layout
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=90591791eec98a3ab204d63595311fc90f0111fd
---
modules/audio_filter/resampler/ugly.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/modules/audio_filter/resampler/ugly.c b/modules/audio_filter/resampler/ugly.c
index d7a9657368..fd72e85691 100644
--- a/modules/audio_filter/resampler/ugly.c
+++ b/modules/audio_filter/resampler/ugly.c
@@ -74,10 +74,7 @@ static int CreateResampler( vlc_object_t *p_this )
filter_t * p_filter = (filter_t *)p_this;
if( p_filter->fmt_in.audio.i_format != p_filter->fmt_out.audio.i_format
- || p_filter->fmt_in.audio.i_physical_channels
- != p_filter->fmt_out.audio.i_physical_channels
- || p_filter->fmt_in.audio.i_original_channels
- != p_filter->fmt_out.audio.i_original_channels
+ || p_filter->fmt_in.audio.i_channels != p_filter->fmt_out.audio.i_channels
|| !AOUT_FMT_LINEAR( &p_filter->fmt_in.audio ) )
return VLC_EGENERIC;
More information about the vlc-commits
mailing list