changeset 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 37c53bc43e9e
children a792aaee8e8e
files ChangeLog audacious/playback.c
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Dec 18 03:34:11 2006 -0800
+++ b/ChangeLog	Mon Dec 18 03:34:52 2006 -0800
@@ -1,3 +1,11 @@
+2006-12-18 11:34:11 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [3313]
+  - add proper XML header
+  
+  trunk/audacious/ui/playlist.ui |  135 ++++++++++++++++++++---------------------
+  1 file changed, 68 insertions(+), 67 deletions(-)
+
+
 2006-12-18 11:25:13 +0000  William Pitcock <nenolod@nenolod.net>
   revision [3311]
   - port playlist editor to XML interface description
--- 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();