videoplayback/videohelix/src/mpxvideoplaybackcontroller.cpp
changeset 1 6711b85517b7
parent 0 96612d01cf9f
child 2 dec420019252
--- a/videoplayback/videohelix/src/mpxvideoplaybackcontroller.cpp	Mon Jan 18 20:21:12 2010 +0200
+++ b/videoplayback/videohelix/src/mpxvideoplaybackcontroller.cpp	Tue Jan 26 12:00:59 2010 +0200
@@ -15,7 +15,7 @@
  *
 */
 
-// Version : %version: 39 %
+// Version : %version: 40 %
 
 
 //
@@ -1170,7 +1170,9 @@
         switch ( aChangeToState )
         {
             case EMPXVideoPlaying:
+            {
                 iState = iPlayingState;
+                
                 //
                 //  If clip is audio only, stop the backlight timer and break switch
                 //  If clip has audio and video, proceed to the next case which will
@@ -1184,34 +1186,50 @@
                 {
                     CancelBackLightTimer();
                 }
+                
                 break;
+            }
             case EMPXVideoPaused:
+            {
                 iState = iPausedState;
                 CancelBackLightTimer();
                 break;
+            }
             case EMPXVideoInitializing:
+            {
                 iState = iInitialisingState;
                 StartBackLightTimer();
                 break;
+            }
             case EMPXVideoInitialized:
+            {
                 iState = iInitialisedState;
                 break;
+            }
             case EMPXVideoBuffering:
+            {
                 iState = iBufferingState;
                 StartBackLightTimer();
                 break;
+            }
             case EMPXVideoSeeking:
+            {
                 iState = iSeekingState;
                 break;
+            }
             case EMPXVideoStopped:
+            {
                 iState = iStoppedState;
                 CancelBackLightTimer();
                 break;
+            }
             case EMPXVideoNotInitialized:
+            {
                 ResetMemberVariables();
                 iState = iNotIntialisedState;
                 CancelBackLightTimer();
                 break;
+            }
         }
     }
 }