summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/3rdparty/phonon/mmf/backend.cpp3
-rw-r--r--src/3rdparty/phonon/mmf/backend.h3
-rw-r--r--src/3rdparty/phonon/mmf/mediaobject.h6
-rw-r--r--src/plugins/phonon/mmf/mmf.pro10
4 files changed, 19 insertions, 3 deletions
diff --git a/src/3rdparty/phonon/mmf/backend.cpp b/src/3rdparty/phonon/mmf/backend.cpp
index 86d329b..4324409 100644
--- a/src/3rdparty/phonon/mmf/backend.cpp
+++ b/src/3rdparty/phonon/mmf/backend.cpp
@@ -28,9 +28,10 @@ using namespace Phonon::MMF;
Backend::Backend(QObject *parent)
{
+ qDebug() << Q_FUNC_INFO;
setParent(parent);
- setProperty("identifier", QLatin1String("mmf"));
+ setProperty("identifier", QLatin1String("phonon_mmf"));
setProperty("backendName", QLatin1String("MMF"));
setProperty("backendComment", QLatin1String("Backend using Nokia's S60 Multimedia Framework Architecture (MMF)."));
setProperty("backendVersion", QLatin1String("0.1"));
diff --git a/src/3rdparty/phonon/mmf/backend.h b/src/3rdparty/phonon/mmf/backend.h
index cb03859..4fff204 100644
--- a/src/3rdparty/phonon/mmf/backend.h
+++ b/src/3rdparty/phonon/mmf/backend.h
@@ -42,6 +42,9 @@ namespace Phonon
virtual bool disconnectNodes(QObject *, QObject *);
virtual bool endConnectionChange(QSet<QObject *>);
virtual QStringList availableMimeTypes() const;
+
+ Q_SIGNALS:
+ void objectDescriptionChanged(ObjectDescriptionType);
};
}
}
diff --git a/src/3rdparty/phonon/mmf/mediaobject.h b/src/3rdparty/phonon/mmf/mediaobject.h
index 3afa3b4..207cb91 100644
--- a/src/3rdparty/phonon/mmf/mediaobject.h
+++ b/src/3rdparty/phonon/mmf/mediaobject.h
@@ -19,8 +19,11 @@ along with this library. If not, see <http://www.gnu.org/licenses/>.
#ifndef PHONON_MMF_MEDIAOBJECT_H
#define PHONON_MMF_MEDIAOBJECT_H
+/* We use the extra qualification include/ to avoid picking up the include
+ * Phonon has. */
+#include <include/VideoPlayer.h>
+
#include <DrmAudioSamplePlayer.h>
-#include <VideoPlayer.h>
#include <Phonon/MediaSource>
#include <Phonon/mediaobjectinterface.h>
@@ -44,6 +47,7 @@ namespace Phonon
, public MediaObjectInterface
, public MDrmAudioPlayerCallback
, public MAudioLoadingObserver
+ , public MVideoLoadingObserver
//, public MVideoPlayerUtilityObserver
{
Q_OBJECT
diff --git a/src/plugins/phonon/mmf/mmf.pro b/src/plugins/phonon/mmf/mmf.pro
index 381f119..1a1d435 100644
--- a/src/plugins/phonon/mmf/mmf.pro
+++ b/src/plugins/phonon/mmf/mmf.pro
@@ -2,7 +2,7 @@ DESTDIR = $$QT_BUILD_TREE/plugins/phonon_backend
QT += phonon
TARGET = phonon_mmf
PHONON_MMF_DIR = $$QT_SOURCE_TREE/src/3rdparty/phonon/mmf
-LIBS += -lDrmAudioPlayUtility.lib
+LIBS += -lDrmAudioPlayUtility.lib
HEADERS += \
$$PHONON_MMF_DIR/audiooutput.h \
@@ -22,3 +22,11 @@ include(../../qpluginbase.pri)
# In the internal 5th SDK, DrmAudioSamplePlayer.h is placed in this folder, as
# opposed to the public, where it is placed in epoc32/include.
INCLUDEPATH *= /epoc32/include/osextensions
+
+# We need this to be able to resolve ambiguity for VideoPlayer.h. Phonon has
+# it, and the SDK has it.
+INCLUDEPATH *= /epoc32/include/osextensions /epoc32
+
+# Temporary steal one of the reserved, until we know that this MMF plugin is
+# turning into something at all.
+symbian:TARGET.UID3=0x2001E627