QtMobility Reference Documentation

QVideoRendererControl Class Reference

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.

Public Functions

~QVideoRendererControl ()
virtual void setSurface ( QAbstractVideoSurface * surface ) = 0
virtual QAbstractVideoSurface * surface () const = 0
  • 29 public functions inherited from QObject

Protected Functions

QVideoRendererControl ( QObject * parent = 0 )
  • 7 protected functions inherited from QObject

Macros

QVideoRendererControl_iid

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 signal inherited from QObject
  • 1 public variable inherited from QObject
  • 4 static public members inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

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.

Member Function Documentation

QVideoRendererControl::QVideoRendererControl ( QObject * parent = 0 ) [protected]

Constructs a new video renderer media end point with the given parent.

QVideoRendererControl::~QVideoRendererControl ()

Destroys a video renderer media end point.

void QVideoRendererControl::setSurface ( QAbstractVideoSurface * surface ) [pure virtual]

Sets the surface a video producer renders to.

This function was introduced in Qt Mobility 1.0.

See also surface().

QAbstractVideoSurface * QVideoRendererControl::surface () const [pure virtual]

Returns the surface a video producer renders to.

This function was introduced in Qt Mobility 1.0.

See also setSurface().

Macro Documentation

QVideoRendererControl_iid

com.nokia.Qt.QVideoRendererControl/1.0

Defines the interface name of the QVideoRendererControl class.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.