Doc: Add comment about stream requirements
Change-Id: I92e16722dc5cc8df23cf4ed0d048a0d2a23956eb Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
This commit is contained in:
committed by
Yoann Lopes
parent
5472ea1506
commit
309dcb9259
@@ -956,8 +956,8 @@ void QMediaPlayer::setPlaybackRate(qreal rate)
|
|||||||
Sets the current \a media source.
|
Sets the current \a media source.
|
||||||
|
|
||||||
If a \a stream is supplied; media data will be read from it instead of resolving the media
|
If a \a stream is supplied; media data will be read from it instead of resolving the media
|
||||||
source. In this case the media source may still be used to resolve additional information
|
source. In this case the media source may still be used to resolve additional information
|
||||||
about the media such as mime type.
|
about the media such as mime type. The \a stream must be open and readable.
|
||||||
|
|
||||||
Setting the media to a null QMediaContent will cause the player to discard all
|
Setting the media to a null QMediaContent will cause the player to discard all
|
||||||
information relating to the current media source and to cease all I/O operations related
|
information relating to the current media source and to cease all I/O operations related
|
||||||
|
|||||||
Reference in New Issue
Block a user