videoplayback/videohelix/src/mpxvideoplaybackstate.cpp
branchRCL_3
changeset 20 2d690156cf8f
parent 18 baf439b22ddd
child 21 315810614048
--- a/videoplayback/videohelix/src/mpxvideoplaybackstate.cpp	Mon Jun 21 15:43:03 2010 +0300
+++ b/videoplayback/videohelix/src/mpxvideoplaybackstate.cpp	Thu Jul 15 18:41:27 2010 +0300
@@ -16,7 +16,7 @@
 */
 
 
-// Version : %version: 45 %
+// Version : %version: 46 %
 
 
 //
@@ -1638,6 +1638,14 @@
     {
         IssuePlayCommand( EMPXVideoPlaying, MMPXPlaybackPluginObserver::EPPlaying, EFalse );
     }
+    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. 
+        iVideoPlaybackCtlr->iMPXPluginObs->HandlePluginEvent( MMPXPlaybackPluginObserver::EPPaused,
+                                                              0,
+                                                              KErrNone );
+    }
 }
 
 // -------------------------------------------------------------------------------------------------