[vlc-devel] [PATCH v2 0/7] Rework normal time handling

Thomas Guillem thomas at gllm.fr
Thu Apr 1 15:30:05 UTC 2021


V1 and discussion available here:
https://mailman.videolan.org/pipermail/vlc-devel/2021-March/142470.html

Changes since v1:
 - Add a new ES_OUT control to send the normal time (NPT), only when it
   is updated

It's quite easy to implement with the TS module, but it's harder to
implement in dvd, bluray, and adaptive modules (WIP).


Best,
Thomas Guillem (7):
  clock: handle the normal play time (npt) from the input
  es_out: add ES_OUT_SET_NPT
  es_out_timeshift: handle ES_OUT_SET_NPT
  demux: ts: handle ES_OUT_SET_GROUP_NPT
  player: remove normal_time handling
  input: remove unused normal_time handling
  input: rename vlc_input_event_times variables

 include/vlc_demux.h          |  2 --
 include/vlc_es_out.h         | 14 ++++++++++++++
 modules/demux/mpeg/ts.c      | 21 +++++++++++++--------
 modules/demux/mpeg/ts_psip.c |  2 ++
 modules/demux/mpeg/ts_si.c   |  2 ++
 src/clock/clock.c            | 22 ++++++++++++++++++++--
 src/clock/clock.h            | 11 +++++++++++
 src/input/demux.c            |  2 --
 src/input/es_out.c           | 36 +++++++++++++++++++++++++++++-------
 src/input/es_out.h           |  7 +++----
 src/input/es_out_timeshift.c | 10 ++++++----
 src/input/event.h            |  3 +--
 src/input/input.c            | 11 ++---------
 src/input/input_internal.h   |  5 ++---
 src/player/input.c           | 24 +++++++-----------------
 src/player/player.h          |  3 ---
 src/player/timer.c           | 15 ++-------------
 17 files changed, 114 insertions(+), 76 deletions(-)

-- 
2.30.0



More information about the vlc-devel mailing list