Make the Dialog API depend on MediaPlayer instead of LibVLC instance
Problem to solve
Enable the dialog API in multi-mediaplayer scenarios.
Intended users
All LibVLC 4+ users.
Proposal
Current state of the API
LIBVLC_API void libvlc_dialog_set_callbacks(libvlc_instance_t * p_instance, const libvlc_dialog_cbs * p_cbs, void * p_data)
Evolution of the API that would solve this use case
LIBVLC_API void libvlc_dialog_set_callbacks(libvlc_media_player_t * p_mp, const libvlc_dialog_cbs * p_cbs, void * p_data)