[vlc-commits] aout: file: force bitmap channel type

Thomas Guillem git at videolan.org
Wed Jul 19 18:58:58 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jul 19 11:49:40 2017 +0200| [aed6ddf5fe554de2c1f8c66c1851d4ecd11a505a] | committer: Thomas Guillem

aout: file: force bitmap channel type

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aed6ddf5fe554de2c1f8c66c1851d4ecd11a505a
---

 modules/audio_output/file.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/audio_output/file.c b/modules/audio_output/file.c
index e651dff825..915907ab6d 100644
--- a/modules/audio_output/file.c
+++ b/modules/audio_output/file.c
@@ -212,6 +212,7 @@ static int Start( audio_output_t *p_aout, audio_sample_format_t *restrict fmt )
     {
         fmt->i_physical_channels = pi_channels_maps[i_channels];
     }
+    fmt->channel_type = AUDIO_CHANNEL_TYPE_BITMAP;
 
     /* WAV header */
     p_aout->sys->b_add_wav_header = var_InheritBool( p_aout, "audiofile-wav" );



More information about the vlc-commits mailing list