Class QfVideoSinkCapture
ClassList > QfVideoSinkCapture
#include <qfvideosinkcapture.h>
Inherits the following classes: QObject
Public Properties
| Type | Name |
|---|---|
| property QVideoSink * | videoSink |
Public Signals
| Type | Name |
|---|---|
| signal void | imageSaved (const QString & path=QString()) |
| signal void | videoSinkChanged |
Public Functions
| Type | Name |
|---|---|
| QfVideoSinkCapture () = default |
|
| Q_INVOKABLE void | saveToFile (const QString & location) Save the current frame from the video sink within a directory location . |
| void | setVideoSink (QVideoSink * videoSink) Sets the video sink from which still frames will be drawn from. |
| QVideoSink * | videoSink () const Returns the video sink from which still frames will be drawn from. |
Detailed Description
This object allows capturing of still frames from a video sink.
Public Properties Documentation
property videoSink [1/2]
QVideoSink * QfVideoSinkCapture::videoSink;
Public Signals Documentation
signal imageSaved
void QfVideoSinkCapture::imageSaved;
signal videoSinkChanged
void QfVideoSinkCapture::videoSinkChanged;
Public Functions Documentation
function QfVideoSinkCapture
explicit QfVideoSinkCapture::QfVideoSinkCapture () = default
function saveToFile
Save the current frame from the video sink within a directory location .
Q_INVOKABLE void QfVideoSinkCapture::saveToFile (
const QString & location
)
function setVideoSink
Sets the video sink from which still frames will be drawn from.
void QfVideoSinkCapture::setVideoSink (
QVideoSink * videoSink
)
function videoSink [2/2]
Returns the video sink from which still frames will be drawn from.
inline QVideoSink * QfVideoSinkCapture::videoSink () const
The documentation for this class was generated from the following file src/core/qfvideosinkcapture.h