# HG changeset patch # User Christian Birchinger # Date 1185486879 -7200 # Node ID 0c6e89336d86cfb777d5346bbbe641b865c5b8d7 # Parent a6299755b78a579f4697a72fe253b0bfb69be2a5# Parent faa0b632a4f677b2e796dfa56e950341db9af269 Automated merge with ssh://hg.atheme-project.org//hg/audacious diff -r faa0b632a4f6 -r 0c6e89336d86 src/audacious/ui_main.c --- 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();