aout: declink: force bitmap channel type
authorThomas Guillem <thomas@gllm.fr>
Wed, 19 Jul 2017 09:50:33 +0000 (11:50 +0200)
committerThomas Guillem <thomas@gllm.fr>
Wed, 19 Jul 2017 16:46:05 +0000 (18:46 +0200)
modules/video_output/decklink.cpp

index c876b2e..13d9a60 100644 (file)
@@ -1118,6 +1118,7 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
     fmt->i_format = VLC_CODEC_S16N;
     fmt->i_channels = 2; //decklink_sys->i_channels;
     fmt->i_physical_channels = AOUT_CHANS_STEREO; //pi_channels_maps[fmt->i_channels];
+    fmt->channel_type = AUDIO_CHANNEL_TYPE_BITMAP;
     fmt->i_rate = sys->i_rate;
     fmt->i_bitspersample = 16;
     fmt->i_blockalign = fmt->i_channels * fmt->i_bitspersample /8 ;