VlcQmlVideoObject Class Reference

QML video object (deprecated) 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...
 

Detailed Description

QML video object (deprecated)

A basic QML video object for painting video. It acts as a replacement for video widget.

Deprecated:
Deprecated since VLC-Qt 1.1, will be removed in 2.0

Constructor & Destructor Documentation

VlcQmlVideoObject::VlcQmlVideoObject ( QQuickItem *  parent = 0)
explicit

VlcQmlVideoObject constructor.

Parameters
parentparent item
VlcQmlVideoObject::~VlcQmlVideoObject ( )
virtual

VlcMediaPlayer destructor

Member Function Documentation

Vlc::Ratio VlcQmlVideoObject::aspectRatio ( ) const

Get current aspect ratio.

Returns
aspect ratio
void VlcQmlVideoObject::connectToMediaPlayer ( VlcMediaPlayer player)

Connect to media player.

Parameters
playermedia player
Vlc::Ratio VlcQmlVideoObject::cropRatio ( ) const

Get current crop ratio.

Returns
crop ratio
void VlcQmlVideoObject::disconnectFromMediaPlayer ( VlcMediaPlayer player)

Disconnect from media player.

Parameters
playermedia player
void VlcQmlVideoObject::setAspectRatio ( const Vlc::Ratio aspectRatio)

Set aspect ratio.

Parameters
aspectRationew aspect ratio
void VlcQmlVideoObject::setCropRatio ( const Vlc::Ratio cropRatio)

Set crop ratio.

Parameters
cropRationew crop ratio

The documentation for this class was generated from the following files: