summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/phonon/mmf/videoplayer.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/3rdparty/phonon/mmf/videoplayer.cpp b/src/3rdparty/phonon/mmf/videoplayer.cpp
index 4f9834a..c18af9c 100644
--- a/src/3rdparty/phonon/mmf/videoplayer.cpp
+++ b/src/3rdparty/phonon/mmf/videoplayer.cpp
@@ -217,12 +217,10 @@ void MMF::VideoPlayer::MvpuoOpenComplete(TInt aError)
__ASSERT_ALWAYS(LoadingState == state(), Utils::panic(InvalidStatePanic));
- if (KErrNone == aError) {
+ if (KErrNone == aError)
m_player->Prepare();
- } else {
- // TODO: set different error states according to value of aError?
+ else
setError(NormalError);
- }
TRACE_EXIT_0();
}