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

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


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

aout: declink: force bitmap channel type

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

 modules/video_output/decklink.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_output/decklink.cpp b/modules/video_output/decklink.cpp
index c876b2e8b6..13d9a608f6 100644
--- a/modules/video_output/decklink.cpp
+++ b/modules/video_output/decklink.cpp
@@ -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 ;



More information about the vlc-commits mailing list