Commit 9fd752da authored by Thomas Guillem's avatar Thomas Guillem

VLCMediaPlayer: change pause behavior

The pause method is not toggling the pause state anymore. This fixes possible
inconsistencies when the input is paused from an other thread.
parent 2d22ebfa
......@@ -659,7 +659,7 @@ extern NSString *const VLCTitleDescriptionIsMenu;
- (void)play;
* Toggle's the pause state of the feed.
* Set the pause state of the feed. Do nothing if already paused.
- (void)pause;
......@@ -1103,7 +1103,7 @@ static void HandleMediaPlayerSnapshot(const libvlc_event_t * event, void * self)
// Pause the stream
libvlc_media_player_set_pause(_playerInstance, 1);
- (void)stop
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