Fix for N_SE-38874
authorabhismita ghosh <g.abhismita@samsung.com>
Wed, 5 Jun 2013 14:18:56 +0000 (19:48 +0530)
committerabhismita ghosh <g.abhismita@samsung.com>
Wed, 5 Jun 2013 14:18:56 +0000 (19:48 +0530)
Change-Id: I51a15e3757834b692e8fff9c8030575d7f749613

src/VpVideoPlayerForm.cpp

index 83d6e90..681b581 100755 (executable)
@@ -709,6 +709,8 @@ VideoPlayerForm::OnPlayErrorOccurred(PlayerErrorReason r)
        {
        case PLAYER_ERROR_INVALID_DATA:
                {
+                       __pVideoPlayerPresentationModel->StopPlay();
+
                        pAppResource = Application::GetInstance()->GetAppResource();
                        pAppResource->GetString(IDS_COM_POP_UNSUPPORTED_FILE_TYPE, messageBoxString);
 
@@ -723,6 +725,8 @@ VideoPlayerForm::OnPlayErrorOccurred(PlayerErrorReason r)
 
        case PLAYER_ERROR_DEVICE_FAILED:
                {
+                       __pVideoPlayerPresentationModel->StopPlay();
+
                        pAppResource = Application::GetInstance()->GetAppResource();
                        pAppResource->GetString(IDS_VPL_POP_UNABLE_TO_PLAY_VIDEO_ERROR_OCCURRED, messageBoxString);