videoplayback/hbvideoplaybackview/viewsrc/mpxvideoplaybackdisplayhandler.cpp
changeset 31 45b81204cdd1
parent 30 4f111d64a341
child 36 8aed59de29f9
equal deleted inserted replaced
30:4f111d64a341 31:45b81204cdd1
    13 *
    13 *
    14 * Description:   Implementation of video playback display handler
    14 * Description:   Implementation of video playback display handler
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:  17 %
    18 // Version : %version:  18 %
    19 
    19 
    20 #include <sysutil.h>
    20 #include <sysutil.h>
    21 #include <s32file.h>
    21 #include <s32file.h>
    22 #include <mpxcommand.h>
    22 #include <mpxcommand.h>
    23 #include <mpxcommandgeneraldefs.h>
    23 #include <mpxcommandgeneraldefs.h>
   529     //
   529     //
   530     // If RWindow is still in potrait, rotate surface to play a video in landscape
   530     // If RWindow is still in potrait, rotate surface to play a video in landscape
   531     //
   531     //
   532     if ( cropRect.Width() < cropRect.Height() )
   532     if ( cropRect.Width() < cropRect.Height() )
   533     {
   533     {
   534         iRotation = EVideoRotationClockwise270;
   534         iRotation = EVideoRotationClockwise90;
   535     }
   535     }
   536     
   536     
   537     iWindowRect = cropRect;
   537     iWindowRect = cropRect;
   538     
   538     
   539     MPX_DEBUG(_L("CMPXVideoPlaybackDisplayHandler::AddDisplayWindowL() cropRect (%d, %d), (%d, %d)"),
   539     MPX_DEBUG(_L("CMPXVideoPlaybackDisplayHandler::AddDisplayWindowL() cropRect (%d, %d), (%d, %d)"),