qtmobility/src/multimedia/qvideorenderercontrol.cpp
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
    50     \preliminary
    50     \preliminary
    51 
    51 
    52     \brief The QVideoRendererControl class provides a control for rendering
    52     \brief The QVideoRendererControl class provides a control for rendering
    53     to a video surface.
    53     to a video surface.
    54 
    54 
    55     \ingroup multimedia-serv
    55     \ingroup multimedia
    56 
    56 
    57     Using the surface() property of QVideoRendererControl a QAbstractVideoSurface
    57     Using the surface() property of QVideoRendererControl a
    58     may be set as the video render target of a QMediaService.
    58     QAbstractVideoSurface may be set as the video render target of a
       
    59     QMediaService.
    59 
    60 
    60     \code
    61     \code
    61     QVideoRendererControl *rendererControl = mediaService->control<QVideoRendererControl *>();
    62     QVideoRendererControl *rendererControl = mediaService->control<QVideoRendererControl *>();
    62     rendererControl->setSurface(myVideoSurface);
    63     rendererControl->setSurface(myVideoSurface);
    63     \endcode
    64     \endcode
    64 
    65 
    65     QVideoRendererControl is one of number of possible video output controls,
    66     QVideoRendererControl is one of number of possible video output controls,
    66     in order to receive video it must be made the active video output
    67     in order to receive video it must be made the active video output control
    67     control by setting the output property of QVideoOutputControl to
    68     by setting the output property of QVideoOutputControl to \l
    68     \l {QVideoOutputControl::RendererOutput}{RendererOutput}. Consequently any
    69     {QVideoOutputControl::RendererOutput}{RendererOutput}. Consequently any
    69     QMediaService that implements QVideoRendererControl must also implement
    70     QMediaService that implements QVideoRendererControl must also implement
    70     QVideoOutputControl.
    71     QVideoOutputControl.
    71 
    72 
    72     \code
    73     \code
    73     QVideoOutputControl *outputControl = mediaService->control<QVideoOutputControl *>();
    74     QVideoOutputControl *outputControl = mediaService->control<QVideoOutputControl *>();
    75     \endcode
    76     \endcode
    76 
    77 
    77     The interface name of QVideoRendererControl is \c com.nokia.Qt.QVideoRendererControl/1.0 as
    78     The interface name of QVideoRendererControl is \c com.nokia.Qt.QVideoRendererControl/1.0 as
    78     defined in QVideoRendererControl_iid.
    79     defined in QVideoRendererControl_iid.
    79 
    80 
    80     \sa QMediaService::control(), QVideoOutputControl, QVideoWidget
    81     \sa QMediaService::requestControl(), QVideoOutputControl, QVideoWidget
    81 */
    82 */
    82 
    83 
    83 /*!
    84 /*!
    84     \macro QVideoRendererControl_iid
    85     \macro QVideoRendererControl_iid
    85 
    86