Change Video and VideoOutput docs to mention ScreenSaver
Change-Id: If7a03e9eafd351eec484a568802c75d955b68ecf Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
5f7b64346d
commit
c7b02bad92
@@ -83,6 +83,19 @@ import QtMultimedia 5.0
|
||||
presentation, see the \l fillMode property description.
|
||||
|
||||
\sa MediaPlayer, VideoOutput
|
||||
|
||||
\section1 Screen Saver
|
||||
|
||||
If it is likely that an application will be playing video for an extended
|
||||
period of time without user interaction it may be necessary to disable
|
||||
the platform's screen saver. The \l ScreenSaver element (from \l QtSystemInfo)
|
||||
may be used to disable the screensaver in this fashion:
|
||||
|
||||
\qml
|
||||
import QtSystemInfo 5.0
|
||||
|
||||
ScreenSaver { screenSaverEnabled: false }
|
||||
\endqml
|
||||
*/
|
||||
|
||||
Item {
|
||||
|
||||
@@ -156,6 +156,19 @@ private:
|
||||
description.
|
||||
|
||||
\sa MediaPlayer, Camera
|
||||
|
||||
\section1 Screen Saver
|
||||
|
||||
If it is likely that an application will be playing video for an extended
|
||||
period of time without user interaction it may be necessary to disable
|
||||
the platform's screen saver. The \l ScreenSaver element (from \l QtSystemInfo)
|
||||
may be used to disable the screensaver in this fashion:
|
||||
|
||||
\qml
|
||||
import QtSystemInfo 5.0
|
||||
|
||||
ScreenSaver { screenSaverEnabled: false }
|
||||
\endqml
|
||||
*/
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user