changeset 895:1b919783797e trunk

[svn] - should fix the ability to change songs while paused
author nhjm449
date Wed, 29 Mar 2006 19:57:35 -0800
parents 12feaeb5ad5b
children e23aec1dd3ef
files audacious/playlist.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/playlist.c	Wed Mar 29 07:37:10 2006 -0800
+++ b/audacious/playlist.c	Wed Mar 29 19:57:35 2006 -0800
@@ -852,7 +852,9 @@
     if (bmp_playback_get_playing()) {
         /* We need to stop before changing playlist_position */
         PLAYLIST_UNLOCK();
+        ip_data.stop = TRUE;
         bmp_playback_stop();
+        ip_data.stop = FALSE;
         PLAYLIST_LOCK();
         restart_playing = TRUE;
     }
@@ -903,7 +905,9 @@
     if (bmp_playback_get_playing()) {
         /* We need to stop before changing playlist_position */
         PLAYLIST_UNLOCK();
+        ip_data.stop = TRUE;
         bmp_playback_stop();
+        ip_data.stop = FALSE;
         PLAYLIST_LOCK();
         restart_playing = TRUE;
     }