Commit 900280a1 authored by Thomas Guillem's avatar Thomas Guillem

VLCMediaListPlayer: 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 9df762ae)
Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent 375f8bf4
......@@ -150,7 +150,7 @@
[self performSelectorInBackground:@selector(pause) withObject:nil];
return;
}
libvlc_media_list_player_pause(instance);
libvlc_media_list_player_set_pause(instance, 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