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

List:       kde-commits
Subject:    KDE/kdemultimedia/phonon-xine
From:       Matthias Kretz <kretz () kde ! org>
Date:       2007-05-30 15:54:00
Message-ID: 1180540440.710471.3706.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 669850 by mkretz:

first connect the signals, then connect the StreamInterface to the MediaSource

 M  +3 -3      bytestream.cpp  


--- trunk/KDE/kdemultimedia/phonon-xine/bytestream.cpp #669849:669850
@@ -62,13 +62,13 @@
     m_buffering(false),
     m_playRequested(false)
 {
+    connect(this, SIGNAL(needDataQueued()), this, SLOT(needData()), \
Qt::QueuedConnection); +    connect(this, SIGNAL(seekStreamQueued(qint64)), this, \
SLOT(syncSeekStream(qint64)), Qt::QueuedConnection); +
     connectToSource(mediaSource);
 
     // created in the main thread
     //m_mainThread = pthread_self();
-
-    connect(this, SIGNAL(needDataQueued()), this, SLOT(needData()), \
                Qt::QueuedConnection);
-    connect(this, SIGNAL(seekStreamQueued(qint64)), this, \
SLOT(syncSeekStream(qint64)), Qt::QueuedConnection);  }
 
 //X void ByteStream::setMrl()


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

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