Add the hasAudio/hasVideo properties from MediaPlayer to Video.
Change-Id: I167184c3622c4fcb0843b17f2ab803b0bbf104fa Reviewed-by: Mithra Pattison <mithra.pattison@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
6468334eb9
commit
acbefbf5c6
@@ -192,6 +192,20 @@ Item {
|
||||
*/
|
||||
property alias errorString: player.errorString
|
||||
|
||||
/*!
|
||||
\qmlproperty bool Video::hasAudio
|
||||
|
||||
This property holds whether the current media has audio content.
|
||||
*/
|
||||
property alias hasAudio: player.hasAudio
|
||||
|
||||
/*!
|
||||
\qmlproperty bool Video::hasVideo
|
||||
|
||||
This property holds whether the current media has video content.
|
||||
*/
|
||||
property alias hasVideo: player.hasVideo
|
||||
|
||||
/* documented below due to length of metaData documentation */
|
||||
property alias metaData: player.metaData
|
||||
|
||||
|
||||
Reference in New Issue
Block a user