The QVideoRendererControl class provides a control for rendering to a video surface. More...
#include <QVideoRendererControl>
Inherits: QMediaControl.
This class was introduced in Qt Mobility 1.0.
~QVideoRendererControl () | |
virtual void | setSurface ( QAbstractVideoSurface * surface ) = 0 |
virtual QAbstractVideoSurface * | surface () const = 0 |
QVideoRendererControl ( QObject * parent = 0 ) |
QVideoRendererControl_iid |
The QVideoRendererControl class provides a control for rendering to a video surface.
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 com.nokia.Qt.QVideoRendererControl/1.0 as defined in QVideoRendererControl_iid.
See also QMediaService::requestControl() and QVideoWidget.
Constructs a new video renderer media end point with the given parent.
Destroys a video renderer media end point.
Sets the surface a video producer renders to.
This function was introduced in Qt Mobility 1.0.
See also surface().
Returns the surface a video producer renders to.
This function was introduced in Qt Mobility 1.0.
See also setSurface().
com.nokia.Qt.QVideoRendererControl/1.0
Defines the interface name of the QVideoRendererControl class.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.