With v4, stop is asynchronous and runs on a background thread, so we no longer need to do it in VLCKit.
@@ -224,9 +224,7 @@ static void HandleMediaListPlayerStopped(const libvlc_event_t * event, void * se
- (void)stop
{
- dispatch_async(_libVLCBackgroundQueue, ^{
- libvlc_media_list_player_stop_async(instance);
- });
+ libvlc_media_list_player_stop_async(instance);
}
- (BOOL)next
@@ -1043,9 +1043,7 @@ static void HandleMediaPlayerRecord(const libvlc_event_t * event, void * self)
- libvlc_media_player_stop_async(_playerInstance);
+ libvlc_media_player_stop_async(_playerInstance);
- (libvlc_video_viewpoint_t *)viewPoint