diff -r 55fa1ec415c6 -r 8f0df5c82986 videoplayback/inc/mpxvideoplaybackcontrolscontroller.h --- a/videoplayback/inc/mpxvideoplaybackcontrolscontroller.h Tue May 11 16:15:40 2010 +0300 +++ b/videoplayback/inc/mpxvideoplaybackcontrolscontroller.h Tue May 25 12:44:54 2010 +0300 @@ -16,7 +16,7 @@ */ -// Version : %version: 15 % +// Version : %version: 17 % #ifndef MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_ @@ -26,6 +26,7 @@ #include #include #include +#include #include "mpxvideo_debug.h" #include "mpxvideoplaybackviewfiledetails.h" @@ -117,6 +118,11 @@ */ inline TMPXPlaybackState State(); + /* + * Return the Aspect Ratio for the clip + */ + inline TMMFScalingType AspectRatio(); + /** * Return file details */ @@ -129,14 +135,12 @@ void SetRealOneBitmapVisibility( TBool aVisible ); - TBool SetBackgroundBlack(); - inline TBool IsRealMediaFormat(); /** * Check aspect ratio icon - * In case that Clip's AR is equals to Screen Display AR, also hide AR icon. - * + * In case that Clip's AR is equals to Screen Display AR, also hide AR icon. + * * @return ETrue in case that clip's AspectRatioIcon can be shown */ TBool ShowAspectRatioIcon(); @@ -362,13 +366,13 @@ TInt iVideoResourceOffset; TMPXPlaybackState iState; + TMMFScalingType iAspectRatio; CMPXVideoPlaybackViewFileDetails* iFileDetails; // not owned RFs iFs; TFileName iBitmapFileName; - TBool iSurfaceCreated; TBool iTvOutConnected; TBool iRNFormat; @@ -410,6 +414,13 @@ return iRNFormat; } +inline +TMMFScalingType CMPXVideoPlaybackControlsController::AspectRatio() +{ + MPX_DEBUG(_L("CMPXVideoPlaybackControlsController::AspectRatio(%d)"), iAspectRatio); + return iAspectRatio; +} + #endif /*MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_*/ // End of File