diff audacious/playback.c @ 2155:840263ee3a5c trunk

[svn] - fix the logic of bmp_playback_stop(). now JTF works well even if the playing is paused.
author yaz
date Mon, 18 Dec 2006 03:34:52 -0800
parents a414866b32bc
children fe6e7b9b4aac
line wrap: on
line diff
--- a/audacious/playback.c	Mon Dec 18 03:34:11 2006 -0800
+++ b/audacious/playback.c	Mon Dec 18 03:34:52 2006 -0800
@@ -166,11 +166,12 @@
 bmp_playback_stop(void)
 {
     if (ip_data.playing && get_current_input_plugin()) {
-        ip_data.playing = FALSE;
 
         if (bmp_playback_get_paused())
             bmp_playback_pause();
 
+        ip_data.playing = FALSE; 
+
         if (get_current_input_plugin()->stop)
             get_current_input_plugin()->stop();