Skip to content

Commit

Permalink
core: add player API
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tguillem committed Nov 15, 2018
1 parent 82260d0 commit a80c78f
Show file tree
Hide file tree
Showing 7 changed files with 6,501 additions and 0 deletions.
6 changes: 6 additions & 0 deletions PLAYER_TODO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- Remove input/control.c (move remaining implementation to player.c)
- Remove bookmark handling from input
- Remove INPUT_GET_VOUTS/INPUT_GET_AOUT
- Remove INPUT_GET_FULL_TITLE_INFO and priv->*title
- http cookies jar
- Seek callback
Loading

0 comments on commit a80c78f

Please sign in to comment.