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 #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 m_bytestream; + MySharedDataPointer m_bytestream; }; KByteStreamInputPlugin::KByteStreamInputPlugin(xine_stream_t *stream, const char *_mrl)