Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
Rotation of video playback window in Nokia 5800 XpressMusic (Known Issue)
Calling the SetRotationL() method of the CVideoPlayerUtility may result in blank video output (black screen) in the Nokia 5800 XpressMusic.
S60 5th Edition
Depending on the resolution and aspect ratio of the video playback window, an attempt to set the video rotation with the following method may cause a loss of video, with blank output being shown instead. The audio track will continue to play normally:
void CVideoPlayerUtility::SetRotationL( TVideoRotation aRotation );
For example, a full-screen video playback in landscape mode (EVideoRotationClockwise90) fails in the Nokia 5800 XpressMusic when the above method is used.
Avoid using CVideoPlayerUtility::SetRotationL() to control the orientation of video playback window. Instead, set the orientation of the entire player application with the SetOrientationL function from CAknAppUi. For video playback in landscape (90° clockwise rotation), use:
void CAknAppUi::SetOrientationL( EAppUiOrientationLandscape );