[vlc-commits] audiotrack: update original channels

Thomas Guillem git at videolan.org
Fri Oct 21 09:41:59 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Oct 21 09:41:02 2016 +0200| [ec16509e0d2ae114cf2ed2e0236f3c90e974ec98] | committer: Thomas Guillem

audiotrack: update original channels

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

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

diff --git a/modules/audio_output/audiotrack.c b/modules/audio_output/audiotrack.c
index d0b598b..5533675 100644
--- a/modules/audio_output/audiotrack.c
+++ b/modules/audio_output/audiotrack.c
@@ -1059,6 +1059,7 @@ Start( audio_output_t *p_aout, audio_sample_format_t *restrict p_fmt )
             else
                 p_sys->fmt.i_physical_channels = AOUT_CHANS_STEREO;
         }
+        p_sys->fmt.i_original_channels = p_sys->fmt.i_physical_channels;
 
         /* Try to create an AudioTrack with the most advanced channel and
          * format configuration. If AudioTrack_Create fails, try again with a



More information about the vlc-commits mailing list