MMSVideo Class Reference
[Media playback (mmsmedia)]

Handles Video playback. More...

#include <mmsvideo.h>

Inheritance diagram for MMSVideo:

List of all members.


Public Member Functions

 MMSVideo (MMSWindow *window, const bool verbose=false)
 Initializes everything that is needed by MMSVideo.
 ~MMSVideo ()
 Destructor of MMSVideo class.
void startPlaying (const string file, const bool cont=true)
 Starts playing.
void add2Playlist (const string file)
 Adds a file to the internal playlist.
void playNext ()
 Starts playing the next file from the playlist.

Public Attributes

sigc::signal< void, const
unsigned short > 
onProgressChange
 Callback that is used to receive buffering progress changes.

Private Member Functions

void xineOpen ()
 Calls MMSAV::open() with the queue_cb callback.

Private Attributes

std::queue< string > playlist
 internal playlist

Detailed Description

Handles Video playback.

Author:
Stefan Schwarzer (stefan.schwarzer@diskohq.org)

Matthias Hardt (matthias.hardt@diskohq.org)

Jens Schneider (pupeider@gmx.de)

Guido Madaus (guido.madaus@diskohq.org)

Patrick Helterhoff (patrick.helterhoff@diskohq.org)

René Bählkow (rene.baehlkow@diskohq.org)

This class is derived from MMSAV and specialized in handling the playback of video files.

Definition at line 54 of file mmsvideo.h.


Constructor & Destructor Documentation

MMSVideo::MMSVideo ( MMSWindow window,
const bool  verbose = false 
)

Initializes everything that is needed by MMSVideo.

Parameters:
window [in] main window for video playback
verbose [in] if true the xine engine writes debug messages to stdout
See also:
MMSAV::MMSAV()

MMSAV::initialize()

Definition at line 92 of file mmsvideo.cpp.

MMSVideo::~MMSVideo (  ) 

Destructor of MMSVideo class.

Definition at line 99 of file mmsvideo.cpp.


Member Function Documentation

void MMSVideo::xineOpen (  )  [private]

Calls MMSAV::open() with the queue_cb callback.

Definition at line 108 of file mmsvideo.cpp.

void MMSVideo::startPlaying ( const string  file,
const bool  cont = true 
)

Starts playing.

If the continue flag is set it tries to continue at the position where it was stopped before.

Parameters:
file file to play
cont if true it tries to continue at a position stopped before
Exceptions:
MMSAVError stream could not be opened

Reimplemented from MMSAV.

Definition at line 124 of file mmsvideo.cpp.

void MMSVideo::add2Playlist ( const string  file  ) 

Adds a file to the internal playlist.

Parameters:
file file to add

Definition at line 147 of file mmsvideo.cpp.

void MMSVideo::playNext (  ) 

Starts playing the next file from the playlist.

Exceptions:
MMSAVError stream could not be opened

Definition at line 156 of file mmsvideo.cpp.


Member Data Documentation

std::queue<string> MMSVideo::playlist [private]

internal playlist

Definition at line 56 of file mmsvideo.h.

sigc::signal<void, const unsigned short> MMSVideo::onProgressChange

Callback that is used to receive buffering progress changes.

Definition at line 75 of file mmsvideo.h.


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