×
Namespaces

Variants
Actions
Revision as of 06:43, 27 August 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Nokia 5800 XpressMusic视频播放窗口的旋转问题

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata

兼容于
平台: S60 5th Edition
S60 5th Edition

文章
翻译:
hoolee
最后由 hamishwillee 在 27 Aug 2012 编辑
  • 详细描述

调用 CVideoPlayerUtility::SetRotationL()方法将导致Nokia 5800 XpressMusic上出现空白的视频输出(黑屏)

当我们使用void CVideoPlayerUtility::SetRotationL( TVideoRotation aRotation ); 设置屏幕翻转时,根据视频播放窗口的分辨率和图像纵横比可能会丢失一些视频,并输出黑屏。音频还是会正常播放的。如一个全屏的视频在landscape模式下(EVideoRotationClockwise90),当在Nokia 5800 XpressMusic使用上述方法时就会产生错误。


  • 解决方案

避免使用CVideoPlayerUtility::SetRotationL()控制视频播放窗口的方向。相反我们应该使用CAknAppUi的SetOrientationL方法来设置整个窗口的方向,如果我们要讲视频翻转90度播放,可以使用

void CAknAppUi::SetOrientationL( EAppUiOrientationLandscape );
This page was last modified on 27 August 2012, at 06:43.
110 page views in the last 30 days.
×