| OGMRip Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <ogmrip-player.h>
OGMRipPlayer;
OGMRipPlayerClass;
OGMRipPlayer * ogmrip_player_new (void);
void ogmrip_player_set_title (OGMRipPlayer *player,
OGMDvdTitle *title);
void ogmrip_player_set_audio_file (OGMRipPlayer *player,
OGMRipFile *file);
void ogmrip_player_set_audio_stream (OGMRipPlayer *player,
OGMDvdAudioStream *stream);
void ogmrip_player_set_subp_file (OGMRipPlayer *player,
OGMRipFile *file);
void ogmrip_player_set_subp_stream (OGMRipPlayer *player,
OGMDvdSubpStream *stream);
void ogmrip_player_set_chapters (OGMRipPlayer *player,
guint start,
gint end);
gboolean ogmrip_player_play (OGMRipPlayer *player,
GError **error);
void ogmrip_player_stop (OGMRipPlayer *player);
typedef struct {
GObjectClass parent_class;
void (* play) (OGMRipPlayer *player);
void (* stop) (OGMRipPlayer *player);
} OGMRipPlayerClass;
OGMRipPlayer * ogmrip_player_new (void);
Creates a new OGMRipPlayer
Returns : |
the new OGMRipPlayer |
void ogmrip_player_set_title (OGMRipPlayer *player,OGMDvdTitle *title);
Sets the DVD title to play
|
an OGMRipPlayer |
|
an OGMDvdTitle |
void ogmrip_player_set_audio_file (OGMRipPlayer *player,OGMRipFile *file);
Sets the audio file to play
|
an OGMRipPlayer |
|
an OGMRipFile |
void ogmrip_player_set_audio_stream (OGMRipPlayer *player,OGMDvdAudioStream *stream);
Sets the audio stream to play
|
an OGMRipPlayer |
|
an OGMDvdAudioStream |
void ogmrip_player_set_subp_file (OGMRipPlayer *player,OGMRipFile *file);
Sets the subtitle file to play
|
an OGMRipPlayer |
|
an OGMRipFile |
void ogmrip_player_set_subp_stream (OGMRipPlayer *player,OGMDvdSubpStream *stream);
Sets the subtitle stream to play
|
an OGMRipPlayer |
|
an OGMDvdSubpStream |
void ogmrip_player_set_chapters (OGMRipPlayer *player,guint start,gint end);
Sets the chapters to play
|
an OGMRipPlayer |
|
the chapter to start playing at |
|
the chapter to stop playing at, or -1 |
gboolean ogmrip_player_play (OGMRipPlayer *player,GError **error);
Plays the selected title, streams and chapters
|
an OGMRipPlayer |
|
return location for error |
Returns : |
TRUE on success, FALSE if an error was set
|
void ogmrip_player_stop (OGMRipPlayer *player);
Stops playing the title
|
an OGMRipPlayer |