QVideoRendererControl Class
The QVideoRendererControl class provides a media control for rendering video to a QAbstractVideoSurface. More...
| Header: | #include <QVideoRendererControl> |
| qmake: | QT += multimedia |
| Inherits: | QMediaControl |
This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Macros
Detailed Description
Using the surface() property of QVideoRendererControl a QAbstractVideoSurface may be set as the video render target of a QMediaService.
QVideoRendererControl *rendererControl = mediaService->requestControl<QVideoRendererControl *>(); rendererControl->setSurface(myVideoSurface);
QVideoRendererControl is one of a number of possible video output controls.
The interface name of QVideoRendererControl is org.qt-project.qt.videorenderercontrol/5.0 as defined in QVideoRendererControl_iid.
See also QMediaService::requestControl() and QVideoWidget.
Macro Documentation
QVideoRendererControl_iid
org.qt-project.qt.videorenderercontrol/5.0
Defines the interface name of the QVideoRendererControl class.