[vlc-commits] aout: add comment

Thomas Guillem git at videolan.org
Mon Jul 17 13:53:57 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jul 17 13:44:42 2017 +0200| [3a0ef15dceaeca1540e71ed79a6a9eb27bad0db4] | committer: Thomas Guillem

aout: add comment

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

 src/audio_output/dec.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c
index 41c9018c46..cc377521f1 100644
--- a/src/audio_output/dec.c
+++ b/src/audio_output/dec.c
@@ -160,6 +160,9 @@ static int aout_CheckReady (audio_output_t *aout)
             memcpy(owner->remap, remap, sizeof(remap));
             aout_volume_SetFormat (owner->volume,
                                    owner->mixer_format.i_format);
+
+            /* Notify the decoder that the aout changed in order to try a new
+             * suitable codec (like an HDMI audio format). */
             status = AOUT_DEC_CHANGED;
         }
 



More information about the vlc-commits mailing list