QVideoRendererControl¶
The
QVideoRendererControl
class provides a media control for rendering video to aQAbstractVideoSurface
. More…
Detailed Description¶
Using the
surface()
property ofQVideoRendererControl
aQAbstractVideoSurface
may be set as the video render target of aQMediaService
.QVideoRendererControl *rendererControl = mediaService->requestControl<QVideoRendererControl *>(); rendererControl->setSurface(myVideoSurface);
QVideoRendererControl
is one of a number of possible video output controls.The interface name of
QVideoRendererControl
isorg.qt-project.qt.videorenderercontrol/5.0
as defined inQVideoRendererControl_iid
.See also
requestControl()
QVideoWidget
- class PySide2.QtMultimedia.QVideoRendererControl([parent=None])¶
- param parent:
Constructs a new video renderer media end point with the given
parent
.
- PySide2.QtMultimedia.QVideoRendererControl.setSurface(surface)¶
- Parameters:
Sets the
surface
a video producer renders to.See also
- PySide2.QtMultimedia.QVideoRendererControl.surface()¶
- Return type:
Returns the surface a video producer renders to.
See also
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.