diff -r 45e72b57a2fd -r e3cecb93e76a videoplayback/videohelix/src/mpxvideoplaybackstate.cpp --- a/videoplayback/videohelix/src/mpxvideoplaybackstate.cpp Tue Jul 06 14:17:50 2010 +0300 +++ b/videoplayback/videohelix/src/mpxvideoplaybackstate.cpp Wed Aug 18 09:50:14 2010 +0300 @@ -16,7 +16,7 @@ */ -// Version : %version: 47 % +// Version : %version: 48 % // @@ -177,7 +177,7 @@ // ------------------------------------------------------------------------------------------------ void CMPXVideoPlaybackState::HandleSetPosterFrame() { - MPX_DEBUG(_L("CMPXVideoPlaybackState::HandleSetPosterFrame()")); + MPX_DEBUG(_L("CMPXVideoPlaybackState::HandleSetPosterFrame()")); } // ------------------------------------------------------------------------------------------------ @@ -239,10 +239,10 @@ MPX_ENTER_EXIT(_L("CMPXVideoPlaybackState::HandlePlaybackComplete()"), _L("error = %d"), aError ); + iVideoPlaybackCtlr->ChangeState( EMPXVideoStopped ); + if ( aError == KErrNone ) { - iVideoPlaybackCtlr->ChangeState( EMPXVideoStopped ); - iVideoPlaybackCtlr->iMPXPluginObs->HandlePluginEvent( MMPXPlaybackPluginObserver::EPPlayComplete, 0, @@ -1387,8 +1387,8 @@ void CMPXPlayingState::HandleSetPosterFrame() { MPX_DEBUG(_L("CMPXPlayingState::HandleSetPosterFrame()")); - - iVideoPlaybackCtlr->iPlaybackMode->HandleSetPosterFrame(); + + iVideoPlaybackCtlr->iPlaybackMode->HandleSetPosterFrame(); } @@ -1552,8 +1552,8 @@ // ------------------------------------------------------------------------------------------------ void CMPXPausedState::HandleSetPosterFrame() { - MPX_DEBUG(_L("CMPXPausedState::HandleSetPosterFrame()")); - + MPX_DEBUG(_L("CMPXPausedState::HandleSetPosterFrame()")); + iVideoPlaybackCtlr->iPlaybackMode->HandleSetPosterFrame(); } @@ -1650,8 +1650,8 @@ } else { - // As the custom play command could not resume the playback. Send a pause event to - // the view though the MPX FW to get the view state in sync playback plugin. + // As the custom play command could not resume the playback. Send a pause event to + // the view though the MPX FW to get the view state in sync playback plugin. iVideoPlaybackCtlr->iMPXPluginObs->HandlePluginEvent( MMPXPlaybackPluginObserver::EPPaused, 0, KErrNone );