messagingappbase/msgeditor/mediacontrolsrc/MsgVideoControl.cpp
branchRCL_3
changeset 22 52d61119153d
parent 0 72b543305e3a
--- a/messagingappbase/msgeditor/mediacontrolsrc/MsgVideoControl.cpp	Wed Mar 31 21:25:02 2010 +0300
+++ b/messagingappbase/msgeditor/mediacontrolsrc/MsgVideoControl.cpp	Wed Apr 14 15:53:21 2010 +0300
@@ -637,6 +637,8 @@
         MSGMEDIACONTROLLOGGER_WRITEF( _L("MsgVideoControl:: SizeChanged(): cliRect (%d,%d),( %d,%d)"),  clipRect.iTl.iX, clipRect.iTl.iY, clipRect.iBr.iX, clipRect.iBr.iY);
 	    }
 	
+    iVideoAreaControl->SetRect( iVideoFrameArea );
+
 	// iVideoAreaControl is relative to screen coordinates.
     iVideoPlayer->SetDisplayWindowL(
         ControlEnv()->WsSession(),
@@ -644,7 +646,6 @@
         *iVideoAreaControl->DrawableWindow(),
         rect,
         clipRect );
-    iVideoAreaControl->SetRect( iVideoFrameArea );
     
     MSGMEDIACONTROLLOGGER_LEAVEFN( "MsgVideoControl : DoSizeChangedL()" );
     }