]> git.sesse.net Git - vlc/commitdiff
Correct up audio-control stop command.
authorRocky Bernstein <rocky@videolan.org>
Sun, 1 May 2005 02:43:17 +0000 (02:43 +0000)
committerRocky Bernstein <rocky@videolan.org>
Sun, 1 May 2005 02:43:17 +0000 (02:43 +0000)
modules/access/cdda/access.c

index 035abcc5346d2844bd432a3899e5ac5b7916ed1d..de1d6c254d5a12f46b1f0a36b6b072d9e4fa075b 100644 (file)
@@ -771,6 +771,11 @@ CDDAClose (vlc_object_t *p_this )
     cdda_data_t *p_cdda   = (cdda_data_t *) p_access->p_sys;
     track_t      i;
 
+#if LIBCDIO_VERSION_NUM >= 73
+    if (p_cdda->b_audio_ctl)
+      cdio_audio_stop(p_cdda->p_cdio);
+#endif
+
     dbg_print( (INPUT_DBG_CALL|INPUT_DBG_EXT), "" );
 
     /* Remove playlist titles */