Commit 375f8bf4 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.

(cherry picked from commit 9fd752da)
Signed-off-by: Thomas Guillem's avatarThomas Guillem <>
parent eab5c3b6
......@@ -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