Namespaces
Variants
Actions

Rotation of video playback window in Nokia 5800 XpressMusic (Known Issue)

Jump to: navigation, search

Calling the SetRotationL() method of the CVideoPlayerUtility may result in blank video output (black screen) in the Nokia 5800 XpressMusic.

MultiMediaTile.png
Article Metadata

Tested with
Devices(s): Nokia 5800 XpressMusic

Compatibility
Platform(s): S60 5th Edition (initial release)

Article
Keywords: CVideoPlayerUtility, SetRotationL
Created: User:Technical writer 1 (24 Feb 2009)
Last edited: hamishwillee (01 Aug 2012)

Description

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.

Solution

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 );
This page was last modified on 1 August 2012, at 07:40.
65 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved