[vlc-commits] channel_mixer: remap: use same rate for input/output
Thomas Guillem
git at videolan.org
Mon Oct 23 16:52:30 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Oct 23 16:50:58 2017 +0200| [d8908c11ef037b847d87c025a5cc08d726013519] | committer: Thomas Guillem
channel_mixer: remap: use same rate for input/output
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d8908c11ef037b847d87c025a5cc08d726013519
---
modules/audio_filter/channel_mixer/remap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/audio_filter/channel_mixer/remap.c b/modules/audio_filter/channel_mixer/remap.c
index b4136bb505..98ec3463a1 100644
--- a/modules/audio_filter/channel_mixer/remap.c
+++ b/modules/audio_filter/channel_mixer/remap.c
@@ -359,6 +359,7 @@ static int OpenFilter( vlc_object_t *p_this )
return VLC_EGENERIC;
}
+ audio_out->i_rate = audio_in->i_rate;
audio_out->i_format = audio_in->i_format;
audio_out->i_physical_channels = i_output_physical;
aout_FormatPrepare( audio_out );
More information about the vlc-commits
mailing list