changeset 3178:0c6e89336d86 trunk

Automated merge with ssh://hg.atheme-project.org//hg/audacious
author Christian Birchinger <joker@netswarm.net>
date Thu, 26 Jul 2007 23:54:39 +0200
parents a6299755b78a (diff) faa0b632a4f6 (current diff)
children d2eae001e562
files
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_main.c	Thu Jul 26 22:39:43 2007 +0200
+++ b/src/audacious/ui_main.c	Thu Jul 26 23:54:39 2007 +0200
@@ -2984,9 +2984,9 @@
 mainwin_idle_func(gpointer data)
 {
     static gint count = 0;
-    gint time = playback_get_time();
-
-    input_update_vis(time);
+
+    if (playback_get_playing())  
+        input_update_vis(playback_get_time());    
 
     GDK_THREADS_ENTER();