videoplayback/videoplaybackviews/src/mpxvideoplaybackview.cpp
branchRCL_3
changeset 45 baf439b22ddd
parent 16 7f2b2a65da29
--- a/videoplayback/videoplaybackviews/src/mpxvideoplaybackview.cpp	Wed Jun 09 09:44:23 2010 +0300
+++ b/videoplayback/videoplaybackviews/src/mpxvideoplaybackview.cpp	Mon Jun 21 15:43:03 2010 +0300
@@ -16,7 +16,7 @@
 */
 
 
-// Version : %version: 20 %
+// Version : %version: 22 %
 
 
 //  Include Files
@@ -80,6 +80,8 @@
     MPX_ENTER_EXIT(_L("CMPXVideoPlaybackView::ConstructL()"));
 
     InitializeVideoPlaybackViewL();
+
+    iSyncClose = EFalse;
 }
 
 // -------------------------------------------------------------------------------------------------
@@ -149,7 +151,6 @@
             HandleClosePlaybackViewL();
             break;
         }
-
         case KErrMMInvalidProtocol:
         case KErrMMInvalidURL:
         case KErrArgument:
@@ -158,13 +159,9 @@
             HandleClosePlaybackViewL();
             break;
         }
-
         case KErrSessionClosed:
         {
-            if ( iFileDetails->iPlaybackMode != EMPXVideoLiveStreaming )
-            {
-                DisplayErrorMessageL( R_MPX_RESOURCE_LOST );
-            }
+            DisplayErrorMessageL( R_MPX_RESOURCE_LOST );
             HandleClosePlaybackViewL();
             break;
         }
@@ -197,7 +194,6 @@
         default:
         {
             CMPXVideoBasePlaybackView::HandlePluginErrorL( aError );
-
             break;
         }
     }
@@ -235,14 +231,7 @@
     MPX_ENTER_EXIT(_L("CMPXVideoPlaybackView::HandleInitializingStateL()"),
                    _L("aLastState = %d"), aLastState );
 
-    //
-    //  For multi item playlists, reset the container and controls for next
-    //  item in playlist
-    //
-    if ( IsMultiItemPlaylist() )
-    {
-        DoHandleInitializingStateL( aLastState );
-    }
+    DoHandleInitializingStateL( aLastState );
 }
 
 // EOF