Commit f172f04f authored by Felix Paul Kühne's avatar Felix Paul Kühne

VLCMediaListPlayer: add a pause selector

parent a89b5ff6
......@@ -58,10 +58,10 @@ typedef NSInteger VLCRepeatMode;
- (id)initWithOptions:(NSArray *)options;
/**
* Basic play and stop are here. For other method, use the mediaPlayer.
* This may change.
* Basic play, pause and stop are here. For other methods, use the mediaPlayer.
*/
- (void)play;
- (void)pause;
- (void)stop;
/**
......
......@@ -22,6 +22,7 @@ New APIs:
- added property: snapshotPosition to overwrite the default
- VLCMediaListPlayer:
- added initWithOptions selector matching VLCMediaPlayer's implementation
- added pause selector
Modified API behavior:
- VLCMediaPlayer:
......
......@@ -118,6 +118,11 @@
libvlc_media_list_player_play(instance);
}
- (void)pause
{
libvlc_media_list_player_pause(instance);
}
- (void)stop
{
libvlc_media_list_player_stop(instance);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment