Collaboration diagram for libvlc_media_player:
|
| typedef struct libvlc_media_player_t libvlc_media_player_t |
| enum libvlc_state_t |
Note the order of libvlc_state_t enum must match exactly the order of.
input_state_e enums.
| int libvlc_media_player_can_pause | ( | libvlc_media_player_t * | p_mi, | |
| libvlc_exception_t * | p_e | |||
| ) |
Can this media player be paused?
| p_input | the input | |
| p_e | an initialized exception pointer |
| libvlc_event_manager_t* libvlc_media_player_event_manager | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
Get the Event Manager from which the media player send event.
| p_mi | the Media Player | |
| p_e | an initialized exception pointer |
| int libvlc_media_player_get_chapter | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
| int libvlc_media_player_get_chapter_count | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
| libvlc_drawable_t libvlc_media_player_get_drawable | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
Get the drawable where the media player should render its video output.
| p_mi | the Media Player | |
| p_e | an initialized exception pointer |
| float libvlc_media_player_get_fps | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
| libvlc_time_t libvlc_media_player_get_length | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
Get the current movie length (in ms).
| p_mi | the Media Player | |
| p_e | an initialized exception pointer |
| libvlc_media_t* libvlc_media_player_get_media | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
Get the media used by the media_player.
| p_mi | the Media Player | |
| p_e | an initialized exception pointer |
| float libvlc_media_player_get_position | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
| float libvlc_media_player_get_rate | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
| libvlc_state_t libvlc_media_player_get_state | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
| libvlc_time_t libvlc_media_player_get_time | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
Get the current movie time (in ms).
| p_mi | the Media Player | |
| p_e | an initialized exception pointer |
| int libvlc_media_player_has_vout | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
Does this media player have a video output?
| p_md | the media player | |
| p_e | an initialized exception pointer |
| int libvlc_media_player_is_seekable | ( | libvlc_media_player_t * | p_mi, | |
| libvlc_exception_t * | p_e | |||
| ) |
Is this media player seekable?
| p_input | the input | |
| p_e | an initialized exception pointer |
| libvlc_media_player_t* libvlc_media_player_new | ( | libvlc_instance_t * | , | |
| libvlc_exception_t * | ||||
| ) |
Create an empty Media Player object.
| p_libvlc_instance | the libvlc instance in which the Media Player should be created. | |
| p_e | an initialized exception pointer |
| libvlc_media_player_t* libvlc_media_player_new_from_media | ( | libvlc_media_t * | , | |
| libvlc_exception_t * | ||||
| ) |
Create a Media Player object from a Media.
| p_md | the media. Afterwards the p_md can be safely destroyed. | |
| p_e | an initialized exception pointer |
| void libvlc_media_player_pause | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
Pause.
| p_mi | the Media Player | |
| p_e | an initialized exception pointer |
| void libvlc_media_player_play | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
Play.
| p_mi | the Media Player | |
| p_e | an initialized exception pointer |
| void libvlc_media_player_release | ( | libvlc_media_player_t * | ) |
Release a media_player after use Decrement the reference count of a media player object.
If the reference count is 0, then libvlc_media_player_release() will release the media player object. If the media player object has been released, then it should not be used again.
| p_mi | the Media Player to free |
| void libvlc_media_player_retain | ( | libvlc_media_player_t * | ) |
Retain a reference to a media player object.
Use libvlc_media_player_release() to decrement reference count.
| p_mi | media player object |
| void libvlc_media_player_set_chapter | ( | libvlc_media_player_t * | , | |
| int | , | |||
| libvlc_exception_t * | ||||
| ) |
| void libvlc_media_player_set_drawable | ( | libvlc_media_player_t * | , | |
| libvlc_drawable_t | , | |||
| libvlc_exception_t * | ||||
| ) |
Set the drawable where the media player should render its video output.
| p_mi | the Media Player | |
| drawable | the libvlc_drawable_t where the media player should render its video | |
| p_e | an initialized exception pointer |
| void libvlc_media_player_set_media | ( | libvlc_media_player_t * | , | |
| libvlc_media_t * | , | |||
| libvlc_exception_t * | ||||
| ) |
Set the media that will be used by the media_player.
If any, previous md will be released.
| p_mi | the Media Player | |
| p_md | the Media. Afterwards the p_md can be safely destroyed. | |
| p_e | an initialized exception pointer |
| void libvlc_media_player_set_position | ( | libvlc_media_player_t * | , | |
| float | , | |||
| libvlc_exception_t * | ||||
| ) |
| void libvlc_media_player_set_rate | ( | libvlc_media_player_t * | , | |
| float | , | |||
| libvlc_exception_t * | ||||
| ) |
| void libvlc_media_player_set_time | ( | libvlc_media_player_t * | , | |
| libvlc_time_t | , | |||
| libvlc_exception_t * | ||||
| ) |
Set the movie time (in ms).
| p_mi | the Media Player | |
| the | movie time (in ms). | |
| p_e | an initialized exception pointer |
| void libvlc_media_player_stop | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
Stop.
| p_mi | the Media Player | |
| p_e | an initialized exception pointer |
| int libvlc_media_player_will_play | ( | libvlc_media_player_t * | , | |
| libvlc_exception_t * | ||||
| ) |
1.5.1