[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/engine/xine
From:       Mark Kretschmann <markey () web ! de>
Date:       2007-01-28 14:19:46
Message-ID: 1169993986.484013.12138.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 627874 by markey:

Possible fix for dbkr's GUI lag problem: Don't query the stream position when nothing is playing.


 M  +1 -1      xine-engine.cpp  


--- trunk/extragear/multimedia/amarok/src/engine/xine/xine-engine.cpp #627873:627874
@@ -447,7 +447,7 @@
 uint
 XineEngine::position() const
 {
-    if ( !m_stream )
+    if ( state() == Engine::Empty )
        return 0;
 
     int pos;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic