Commit 9df762ae 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.
parent 9fd752da
......@@ -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