[vlc-commits] aout: fix decoder not restarted when needed
    Thomas Guillem 
    git at videolan.org
       
    Thu Mar 22 09:47:06 CET 2018
    
    
  
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Mar 21 11:04:49 2018 +0100| [f9b57e2a2edf7ff2c1ad6b7875189255ab92d44a] | committer: Thomas Guillem
aout: fix decoder not restarted when needed
Since AOUT_RESTART_STEREOMODE = (AOUT_RESTART_OUTPUT|0x4)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f9b57e2a2edf7ff2c1ad6b7875189255ab92d44a
---
 src/audio_output/dec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c
index cf7642ca08..60c35e6176 100644
--- a/src/audio_output/dec.c
+++ b/src/audio_output/dec.c
@@ -163,7 +163,7 @@ static int aout_CheckReady (audio_output_t *aout)
              * suitable codec (like an HDMI audio format). However, keep the
              * same codec if the aout was restarted because of a stereo-mode
              * change from the user. */
-            if (!(restart & AOUT_RESTART_STEREOMODE))
+            if (restart == AOUT_RESTART_OUTPUT)
                 status = AOUT_DEC_CHANGED;
         }
 
    
    
More information about the vlc-commits
mailing list