diff -r ce5ada96ab30 -r 5294c000a26d videoplayback/inc/mpxvideoplaybackcontrolscontroller.h --- a/videoplayback/inc/mpxvideoplaybackcontrolscontroller.h Fri Mar 12 15:43:00 2010 +0200 +++ b/videoplayback/inc/mpxvideoplaybackcontrolscontroller.h Mon Mar 15 12:40:47 2010 +0200 @@ -15,7 +15,8 @@ * */ -// Version : %version: 8 % + +// Version : %version: e003sa33#11 % #ifndef MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_ @@ -135,6 +136,13 @@ TBool SetBackgroundBlack(); + inline TBool IsRealMediaFormat(); + + /** + * Check if video clip's aspect ratio is equal to screen display aspect ratio + */ + TBool IsSameAspectRatio(); + private: /** * Create controls @@ -354,6 +362,7 @@ TBool iSurfaceCreated; TBool iTvOutConnected; + TBool iRNFormat; #ifdef RD_TACTILE_FEEDBACK MTouchFeedback* iFeedback; @@ -394,6 +403,13 @@ return playable; } +inline +TBool CMPXVideoPlaybackControlsController::IsRealMediaFormat() +{ + MPX_DEBUG(_L("CMPXVideoPlaybackControlsController::IsRealFormat() [%d]"), iRNFormat); + return iRNFormat; +} + #endif /*MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_*/ // End of File