core: add player API
commita80c78fc2a0431a8822e581126e108266ce07d9a
authorThomas Guillem <thomas@gllm.fr>
Mon, 9 Apr 2018 12:23:36 +0000 (9 14:23 +0200)
committerThomas Guillem <thomas@gllm.fr>
Thu, 15 Nov 2018 16:09:32 +0000 (15 17:09 +0100)
tree3e3146b74f09c6013b4cb39dd67021cbaab890b6
parent82260d0153054a87da5969b3701c8f3554b65b2e
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.
PLAYER_TODO.txt [new file with mode: 0644]
include/vlc_player.h [new file with mode: 0644]
po/POTFILES.in
src/Makefile.am
src/input/player.c [new file with mode: 0644]
src/input/player.h [new file with mode: 0644]
src/libvlccore.sym