videoplayback/hbvideoplaybackview/viewsrc/mpxvideoplaybackdisplayhandler.cpp
changeset 37 4eb2df7f7cbe
parent 36 8aed59de29f9
child 38 ff53afa8ad05
equal deleted inserted replaced
36:8aed59de29f9 37:4eb2df7f7cbe
    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:  19 %
    18 // Version : %version:  20 %
    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>
   240 //   CMPXVideoPlaybackDisplayHandler::SetDefaultAspectRatioL
   240 //   CMPXVideoPlaybackDisplayHandler::SetDefaultAspectRatioL
   241 // -------------------------------------------------------------------------------------------------
   241 // -------------------------------------------------------------------------------------------------
   242 //
   242 //
   243 TInt CMPXVideoPlaybackDisplayHandler::SetDefaultAspectRatioL(
   243 TInt CMPXVideoPlaybackDisplayHandler::SetDefaultAspectRatioL(
   244                                           QMPXVideoPlaybackViewFileDetails* aFileDetails,
   244                                           QMPXVideoPlaybackViewFileDetails* aFileDetails,
   245                                           TReal aDisplayAspectRatio )
   245                                           TReal32 aDisplayAspectRatio )
   246 {
   246 {
   247     MPX_ENTER_EXIT(_L("CMPXVideoPlaybackDisplayHandler::SetDefaultAspectRatioL()"));
   247     MPX_ENTER_EXIT(_L("CMPXVideoPlaybackDisplayHandler::SetDefaultAspectRatioL()"));
   248 
   248 
   249     TInt newAspectRatio = EMMFNatural;
   249     TInt newAspectRatio = EMMFNatural;
   250 
   250