QtGStreamer
1.2.0
|
#include <QGst/Quick/VideoSurface>
Inherits QObject.
Public Member Functions | |
VideoSurface (QObject *parent=0) | |
ElementPtr | videoSink () const |
Protected Member Functions | |
QTGSTREAMERQUICK_NO_EXPORT void | onUpdate () |
Helper class for painting video on a QtQuick2 VideoItem.
This is a helper class that represents a video surface on a QQuickView. To use it, create a VideoItem from QML and connect it with this surface.
Example:
Definition at line 57 of file videosurface.h.
ElementPtr QGst::Quick::VideoSurface::videoSink | ( | ) | const |
Returns the video sink element that provides this surface's image. The element will be constructed the first time that this function is called. The surface will always keep a reference to this element.
Definition at line 43 of file videosurface.cpp.