QML video object. More...
#include <VLCQtQml/QmlVideoObject.h>
Public Member Functions | |
| VlcQmlVideoObject (QQuickItem *parent=0) | |
| VlcQmlVideoObject constructor. More... | |
| virtual | ~VlcQmlVideoObject () |
| void | connectToMediaPlayer (VlcMediaPlayer *player) |
| Connect to media player. More... | |
| void | disconnectFromMediaPlayer (VlcMediaPlayer *player) |
| Disconnect from media player. More... | |
| Vlc::Ratio | aspectRatio () const |
| Get current aspect ratio. More... | |
| void | setAspectRatio (const Vlc::Ratio &aspectRatio) |
| Set aspect ratio. More... | |
| Vlc::Ratio | cropRatio () const |
| Get current crop ratio. More... | |
| void | setCropRatio (const Vlc::Ratio &cropRatio) |
| Set crop ratio. More... | |
Public Member Functions inherited from VlcVideoMemoryStream | |
| void | setCallbacks (VlcMediaPlayer *player) |
| Set VlcMediaPlayer callbacks. More... | |
| void | unsetCallbacks (VlcMediaPlayer *player) |
| Unset VlcMediaPlayer callbacks. More... | |
Protected Attributes | |
| VlcMediaPlayer * | _player |
| Core media player. | |
Additional Inherited Members | |
Static Public Member Functions inherited from VlcVideoMemoryStream | |
| static unsigned | setPitchAndLines (const vlc_chroma_description_t *chromaDescription, unsigned width, unsigned height, unsigned *pitches, unsigned *lines, unsigned *visiblePitches=0, unsigned *visibleLines=0) |
| Set required information for rendering video. More... | |
A basic QML video object for painting video. It acts as a replacement for video widget.
|
explicit |
| parent | parent item |
|
virtual |
VlcMediaPlayer destructor
| Vlc::Ratio VlcQmlVideoObject::aspectRatio | ( | ) | const |
| void VlcQmlVideoObject::connectToMediaPlayer | ( | VlcMediaPlayer * | player | ) |
| player | media player |
| Vlc::Ratio VlcQmlVideoObject::cropRatio | ( | ) | const |
| void VlcQmlVideoObject::disconnectFromMediaPlayer | ( | VlcMediaPlayer * | player | ) |
| player | media player |
| void VlcQmlVideoObject::setAspectRatio | ( | const Vlc::Ratio & | aspectRatio | ) |
| aspectRatio | new aspect ratio |
| void VlcQmlVideoObject::setCropRatio | ( | const Vlc::Ratio & | cropRatio | ) |
| cropRatio | new crop ratio |