changeset 923:ddadd6828a1a trunk

[svn] - Fix playlist_set_position when paused
author nhjm449
date Mon, 10 Apr 2006 17:18:44 -0700
parents 4ed0e954cc69
children 5ef13028e42d
files audacious/playlist.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/audacious/playlist.c	Sun Apr 09 23:36:13 2006 -0700
+++ b/audacious/playlist.c	Mon Apr 10 17:18:44 2006 -0700
@@ -1062,7 +1062,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;
     }