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

List:       kde-commits
Subject:    kdesupport/phonon/phonon/experimental
From:       Matthias Kretz <kretz () kde ! org>
Date:       2008-08-11 17:53:16
Message-ID: 1218477196.615054.18832.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 845455 by mkretz:

expand the warning a bit

 M  +4 -1      abstractvideodataoutput.h  


--- trunk/kdesupport/phonon/phonon/experimental/abstractvideodataoutput.h #845454:845455
@@ -80,7 +80,10 @@
          * This function is called whenever a frame should be displayed.
          *
          * \warning frameReady can get called from any thread (other than the
-         * main thread or the thread affinity of this QObject).
+         * main thread or the thread affinity of this QObject). A common error to create a deadlock
+         * situation is to block the thread this function is called from, until the main thread
+         * has found time to handle the frame. If it is blocking while the main thread decides to
+         * stop/delete the MediaObject you might get a deadlock.
          */
         virtual void frameReady(const VideoFrame2 &) = 0;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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