core: add player API
This API will replace the usage of input_thread_t from interface modules. The player implementation continue to use input_thread_t in private. The goal is to hide the input_thread_t API when every modules are switched to the player API. TODO (all need to be fixed, for VLC 4.0): - Gapless: API is complete but not implemented (the player can play several medias in a row, but without gapless). - Position callbacks: still using the input_thread_t position that is really imprecise (notified every 250ms minimum, and sometime more, depending on pf_demux implementation). - Seek/discontinuity callbacks: when seeking, the player can still send position of the requested position, the actual position or the next position to come. This leads to UI inconsistency. - OSD messages should be display from input callbacks but it's not possible now since you can't know if the event come from the user or from the core.
Showing
- PLAYER_TODO.txt 6 additions, 0 deletionsPLAYER_TODO.txt
- include/vlc_player.h 2761 additions, 0 deletionsinclude/vlc_player.h
- po/POTFILES.in 1 addition, 0 deletionspo/POTFILES.in
- src/Makefile.am 3 additions, 0 deletionssrc/Makefile.am
- src/input/player.c 3585 additions, 0 deletionssrc/input/player.c
- src/input/player.h 35 additions, 0 deletionssrc/input/player.h
- src/libvlccore.sym 110 additions, 0 deletionssrc/libvlccore.sym
PLAYER_TODO.txt
0 → 100644
include/vlc_player.h
0 → 100644
This diff is collapsed.
src/input/player.c
0 → 100644
This diff is collapsed.
src/input/player.h
0 → 100644