[vlc-devel] [PATCH 3.x 0/2] RFC: libvlc_media_player: add async stop

Thomas Guillem thomas at gllm.fr
Tue Oct 20 11:22:33 CEST 2020


> This is not valid to begin with. You cannot have a thread in 
> libvlc_media_list_player_play_item_at_index() and another thread in  
> libvlc_video_get_track_count() simultaneously.
> 

Indeed, it's not valid. The goal of this patch is to have all libvlc calls from one single thread, likely the main one.

Since set/close functions are blocking, it needs to be moved in a background thread, then all functions need to be moved to this thread. This make the LibVLC very hard to use when interacting with a UI.

> -- 
> 雷米‧德尼-库尔蒙
> http://www.remlab.net/
> 
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list