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

List:       kde-commits
Subject:    KDE/kdebase/runtime/phonon/xine
From:       Matthias Kretz <kretz () kde ! org>
Date:       2008-07-18 19:32:24
Message-ID: 1216409544.580508.24521.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 834397 by mkretz:

one more misuse of m_buffersize: pullPuffer set it to 0, so use the saved value

 M  +1 -1      bytestream.cpp  


--- trunk/KDE/kdebase/runtime/phonon/xine/bytestream.cpp #834396:834397
@@ -228,7 +228,7 @@
         m_currentPosition += len;
         PXINE_DEBUG << "returning less data than requested, the stream is at its end";
         //kDebug(610) << "UNLOCKING m_mutex: ";
-        return m_buffersize;
+        return len;
     }
     PXINE_DEBUG << "return 0, the stream is at its end";
     //kDebug(610) << "UNLOCKING m_mutex: ";
[prev in list] [next in list] [prev in thread] [next in thread] 

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