summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-10-20 07:48:26 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-10-20 07:48:26 (GMT)
commiteeac9aa8d51b11f3040dcf818cec0a58cd0898f0 (patch)
tree21c33e600d650aaa7cdbd412b4f4f3f721c879a0 /src
parent256cadca060900078cfdc749e667f78ac954caea (diff)
parentf9d36789b4f2565f342f22d62a5106e5d5ca3389 (diff)
downloadQt-eeac9aa8d51b11f3040dcf818cec0a58cd0898f0.zip
Qt-eeac9aa8d51b11f3040dcf818cec0a58cd0898f0.tar.gz
Qt-eeac9aa8d51b11f3040dcf818cec0a58cd0898f0.tar.bz2
Merge branch 'mmfphonon' into 4.6
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/phonon/mmf/audiooutput.cpp6
-rw-r--r--src/3rdparty/phonon/mmf/mmf_videoplayer.cpp2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/3rdparty/phonon/mmf/audiooutput.cpp b/src/3rdparty/phonon/mmf/audiooutput.cpp
index 5a00f60..bb0e5bc 100644
--- a/src/3rdparty/phonon/mmf/audiooutput.cpp
+++ b/src/3rdparty/phonon/mmf/audiooutput.cpp
@@ -102,15 +102,17 @@ bool MMF::AudioOutput::activateOnMediaObject(MediaObject *mo)
QHash<QByteArray, QVariant> MMF::AudioOutput::audioOutputDescription(int index)
{
+ QHash<QByteArray, QVariant> retval;
+
if (index == AudioOutputDeviceID) {
QHash<QByteArray, QVariant> retval;
retval.insert("name", QCoreApplication::translate("Phonon::MMF", "Audio Output"));
retval.insert("description", QCoreApplication::translate("Phonon::MMF", "The audio output device"));
retval.insert("available", true);
-
- return retval;
}
+
+ return retval;
}
QT_END_NAMESPACE
diff --git a/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp b/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp
index a93aca0..d1d2337 100644
--- a/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp
+++ b/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp
@@ -300,8 +300,8 @@ void MMF::VideoPlayer::MvpuoPlayComplete(TInt aError)
TRACE_CONTEXT(VideoPlayer::MvpuoPlayComplete, EVideoApi)
TRACE_ENTRY("state %d error %d", state(), aError);
- // TODO
Q_UNUSED(aError); // suppress warnings in release builds
+ changeState(StoppedState);
TRACE_EXIT_0();
}