Reference

CL_MPEG(3)

NAME

CL_MPEG

CLASS MEMBERS

CL_MPEG(
const char *filename,
bool video = true,
bool audio = true)

~CL_MPEG()
void set_audio(
bool flag)

void set_video(
bool flag)

void set_double(
bool flag)

void set_loop(
bool flag)

void set_volume(
int volume)

void move(
int x,
int y)

bool has_video()
bool has_audio()
unsigned int get_width()
unsigned int get_height()
unsigned int get_current_frame()
double get_current_fps()
CL_MPEG_Status get_status()
void play()
void pause()
void stop()
void rewind()
void set_display(
CL_Target* dst,
CL_Mutex* surfLock,
CL_MPEG_DisplayCallback callback)

void set_display(
CL_Target* dst)

char* get_error()

MEMBERS WITH DESCRIPTIONS

CL_MPEG(
const char *filename,
bool video = true,
bool audio = true)

Description:

~CL_MPEG()
Description:

void set_audio(
bool flag)

Description:

void set_video(
bool flag)

Description:

void set_double(
bool flag)

Description:

void set_loop(
bool flag)

Description:

void set_volume(
int volume)

Description:

void move(
int x,
int y)

Description:

bool has_video()
Description:

bool has_audio()
Description:

unsigned int get_width()
Description:

unsigned int get_height()
Description:

unsigned int get_current_frame()
Description:

double get_current_fps()
Description:

CL_MPEG_Status get_status()
Description:

void play()
Description:

void pause()
Description:

void stop()
Description:

void rewind()
Description:

void set_display(
CL_Target* dst,
CL_Mutex* surfLock,
CL_MPEG_DisplayCallback callback)

Description:

void set_display(
CL_Target* dst)

Description:

char* get_error()
Description:

SEE ALSO

All ClanLib API classes can be found in clanlib (3).

AUTHORS

Originally written by Magnus Norddahl <[email protected]> and Martin Starch <[email protected]>. ClanLib is now developed by the ClanLib Development team as an Open Source project.

The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at http://somewhere.in.the.world.org).

See clanlib (3) to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.