changeset 3156:4a0e216bc825 trunk

playback monitor thread: If forced stop occurs, do not queue "playback eof" signal.
author William Pitcock <nenolod@atheme-project.org>
date Mon, 23 Jul 2007 19:24:51 -0500
parents bdd455d322c1
children f9d34bc5079f
files src/audacious/playback.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/playback.c	Mon Jul 23 17:14:47 2007 -0500
+++ b/src/audacious/playback.c	Mon Jul 23 19:24:51 2007 -0500
@@ -244,7 +244,8 @@
 
     entry->decoder->play_file(playback);
 
-    playback_eof();
+    if (ip_data.playing)
+        playback_eof();
 
     return NULL;
 }