[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-08-11 8:05:24
Message-ID: 1218441924.530901.6350.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 845063 by mkretz:

use the new sharedpointer class to make sure the ByteStream object is not deleted from the wrong thread

 M  +2 -1      bytestreamplugin.cpp  


--- trunk/KDE/kdebase/runtime/phonon/xine/bytestreamplugin.cpp #845062:845063
@@ -26,6 +26,7 @@
 
 #include <xine.h>
 #include "bytestream.h"
+#include "myshareddatapointer.h"
 
 extern "C" {
 // xine headers use the reserved keyword this:
@@ -56,7 +57,7 @@
     xine_stream_t *m_stream;
     nbc_t *m_nbc;
     const QByteArray m_mrl;
-    QExplicitlySharedDataPointer<Phonon::Xine::ByteStream> m_bytestream;
+    MySharedDataPointer<Phonon::Xine::ByteStream> m_bytestream;
 };
 
 KByteStreamInputPlugin::KByteStreamInputPlugin(xine_stream_t *stream, const char *_mrl)
[prev in list] [next in list] [prev in thread] [next in thread] 

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