QML video source. More...
#include <VLCQtQml/QmlSource.h>
Public Member Functions | |
| VlcQmlSource (QObject *parent) | |
| VlcQmlSource constructor. More... | |
| void | setPlayer (VlcMediaPlayer *player) |
| Set media player to use. More... | |
| void | removePlayer () |
| Remove player from source. | |
| virtual void | registerVideoOutput (VlcQmlVideoOutput *output) |
| Register video output. More... | |
| virtual void | deregisterVideoOutput (VlcQmlVideoOutput *output) |
| Deregister video output. More... | |
QML video source.
A special class which represents video source. VlcQmlVideoOutput can connect to any class that subclasses this one.
| VlcQmlSource::VlcQmlSource | ( | QObject * | parent | ) |
VlcQmlSource constructor.
| parent | parent object |
|
virtual |
Deregister video output.
| output | QML video output |
|
virtual |
Register video output.
| output | QML video output |
| void VlcQmlSource::setPlayer | ( | VlcMediaPlayer * | player | ) |
Set media player to use.
| player | media player |