--- a/videoplayback/videoplaybackcontrols/src/mpxvideoplaybackcontrolconfiguration.cpp Wed Apr 14 15:59:50 2010 +0300
+++ b/videoplayback/videoplaybackcontrols/src/mpxvideoplaybackcontrolconfiguration.cpp Tue Apr 27 16:40:33 2010 +0300
@@ -16,7 +16,7 @@
*/
-// Version : %version: e003sa33#13 %
+// Version : %version: e003sa33#14 %
// INCLUDE FILES
@@ -200,9 +200,7 @@
iTitleArtistIndicatorsAdded = EFalse;
}
- if ( ! iAspectRatioIconAdded &&
- iControlsController->FileDetails()->iVideoHeight > 0 &&
- iControlsController->FileDetails()->iVideoWidth > 0 )
+ if ( ! iAspectRatioIconAdded && iControlsController->ShowAspectRatioIcon() )
{
iControlsList.AppendL( EMPXAspectRatioIcon );
iAspectRatioIconAdded = ETrue;
@@ -291,16 +289,7 @@
iTitleArtistIndicatorsAdded = EFalse;
}
- //
- // If video is enabled,
- // if video has not same aspect ratio with phone screenadd then
- // add aspect ratio icon
- //
- if ( ! iAspectRatioIconAdded &&
- fileDetails->iVideoHeight > 0 &&
- fileDetails->iVideoWidth > 0 &&
- ! ( iControlsController->IsSameAspectRatio() ) &&
- AknLayoutUtils::PenEnabled() )
+ if ( ! iAspectRatioIconAdded && iControlsController->ShowAspectRatioIcon() )
{
iControlsList.AppendL( EMPXAspectRatioIcon );
iAspectRatioIconAdded = ETrue;