messagingappbase/msgeditor/mediacontrolsrc/MsgVideoControl.cpp
branchRCL_3
changeset 15 52d61119153d
parent 0 72b543305e3a
equal deleted inserted replaced
14:c6838af47512 15:52d61119153d
   635         MSGMEDIACONTROLLOGGER_WRITE( "MsgVideoControl : DoSizeChangedL() - Calling  SetDisplayWindowL" );
   635         MSGMEDIACONTROLLOGGER_WRITE( "MsgVideoControl : DoSizeChangedL() - Calling  SetDisplayWindowL" );
   636         MSGMEDIACONTROLLOGGER_WRITEF( _L("MsgVideoControl:: SizeChanged(): rect (%d,%d),( %d,%d)"),  rect.iTl.iX, rect.iTl.iY, rect.iBr.iX, rect.iBr.iY);
   636         MSGMEDIACONTROLLOGGER_WRITEF( _L("MsgVideoControl:: SizeChanged(): rect (%d,%d),( %d,%d)"),  rect.iTl.iX, rect.iTl.iY, rect.iBr.iX, rect.iBr.iY);
   637         MSGMEDIACONTROLLOGGER_WRITEF( _L("MsgVideoControl:: SizeChanged(): cliRect (%d,%d),( %d,%d)"),  clipRect.iTl.iX, clipRect.iTl.iY, clipRect.iBr.iX, clipRect.iBr.iY);
   637         MSGMEDIACONTROLLOGGER_WRITEF( _L("MsgVideoControl:: SizeChanged(): cliRect (%d,%d),( %d,%d)"),  clipRect.iTl.iX, clipRect.iTl.iY, clipRect.iBr.iX, clipRect.iBr.iY);
   638 	    }
   638 	    }
   639 	
   639 	
       
   640     iVideoAreaControl->SetRect( iVideoFrameArea );
       
   641 
   640 	// iVideoAreaControl is relative to screen coordinates.
   642 	// iVideoAreaControl is relative to screen coordinates.
   641     iVideoPlayer->SetDisplayWindowL(
   643     iVideoPlayer->SetDisplayWindowL(
   642         ControlEnv()->WsSession(),
   644         ControlEnv()->WsSession(),
   643         *ControlEnv()->ScreenDevice(),
   645         *ControlEnv()->ScreenDevice(),
   644         *iVideoAreaControl->DrawableWindow(),
   646         *iVideoAreaControl->DrawableWindow(),
   645         rect,
   647         rect,
   646         clipRect );
   648         clipRect );
   647     iVideoAreaControl->SetRect( iVideoFrameArea );
       
   648     
   649     
   649     MSGMEDIACONTROLLOGGER_LEAVEFN( "MsgVideoControl : DoSizeChangedL()" );
   650     MSGMEDIACONTROLLOGGER_LEAVEFN( "MsgVideoControl : DoSizeChangedL()" );
   650     }
   651     }
   651 
   652 
   652 
   653