changeset 905:e5727eb096a6 trunk

[svn] - more output-stopping fun!
author nhjm449
date Thu, 30 Mar 2006 21:10:03 -0800
parents 2cb51ff37e8d
children 704c0b2e5f6b
files audacious/playlist.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/playlist.c	Thu Mar 30 21:04:21 2006 -0800
+++ b/audacious/playlist.c	Thu Mar 30 21:10:03 2006 -0800
@@ -245,8 +245,11 @@
 void
 playlist_clear(void)
 {
-    if (bmp_playback_get_playing())
+    if (bmp_playback_get_playing()) {
+        ip_data.stop = TRUE;
         bmp_playback_stop();
+        ip_data.stop = FALSE;
+    }
 
     PLAYLIST_LOCK();
 
@@ -287,7 +290,9 @@
 
         if (bmp_playback_get_playing()) {
             PLAYLIST_UNLOCK();
+            ip_data.stop = TRUE;
             bmp_playback_stop();
+            ip_data.stop = FALSE;
             PLAYLIST_LOCK();
             *restart_playing = TRUE;
         }