[vlc-commits] core: add player API
Thomas Guillem
git at videolan.org
Thu Nov 15 16:23:30 CET 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Apr 9 14:23:36 2018 +0200| [4797a215303befd066f3a3c6cde78ac82d33df82] | committer: Thomas Guillem
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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4797a215303befd066f3a3c6cde78ac82d33df82
---
PLAYER_TODO.txt | 6 +
include/vlc_player.h | 2761 +++++++++++++++++++++++++++++++++++++++
po/POTFILES.in | 1 +
src/Makefile.am | 3 +
src/input/player.c | 3534 ++++++++++++++++++++++++++++++++++++++++++++++++++
src/input/player.h | 35 +
src/libvlccore.sym | 113 ++
7 files changed, 6453 insertions(+)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=4797a215303befd066f3a3c6cde78ac82d33df82
More information about the vlc-commits
mailing list