From a99347380a9006ec81a9dba2340d6aaab690a86e Mon Sep 17 00:00:00 2001 From: bipolar Date: Sun, 03 Mar 2002 17:13:17 +0000 Subject: commited by ljp (llornkcor) reverted to qpe's interface for compatibility. Added playlist features: save, remove, and have different ones. Uncommented code for background image and added opielogo. --- (limited to 'core/multimedia/opieplayer/libmpeg3/libmpeg3pluginimpl.cpp') diff --git a/core/multimedia/opieplayer/libmpeg3/libmpeg3pluginimpl.cpp b/core/multimedia/opieplayer/libmpeg3/libmpeg3pluginimpl.cpp index e7216af..bf3f372 100644 --- a/core/multimedia/opieplayer/libmpeg3/libmpeg3pluginimpl.cpp +++ b/core/multimedia/opieplayer/libmpeg3/libmpeg3pluginimpl.cpp @@ -30,14 +30,14 @@ LibMpeg3PluginImpl::LibMpeg3PluginImpl() LibMpeg3PluginImpl::~LibMpeg3PluginImpl() { if ( libmpeg3plugin ) - delete libmpeg3plugin; + delete libmpeg3plugin; } MediaPlayerDecoder *LibMpeg3PluginImpl::decoder() { if ( !libmpeg3plugin ) - libmpeg3plugin = new LibMpeg3Plugin; + libmpeg3plugin = new LibMpeg3Plugin; return libmpeg3plugin; } @@ -54,8 +54,8 @@ MediaPlayerEncoder *LibMpeg3PluginImpl::encoder() QRESULT LibMpeg3PluginImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { *iface = 0; - if ( ( uuid == IID_QUnknown ) || ( uuid == IID_MediaPlayerPlugin ) ) - *iface = this, (*iface)->addRef(); + if ( ( uuid == IID_QUnknown ) || ( uuid == IID_MediaPlayerPlugin ) ) + *iface = this, (*iface)->addRef(); return QS_OK; } -- cgit v0.9.0.2