[vlc-devel] [PATCH 0/8] replacing es_out_ctx_t with input_source_t

Thomas Guillem thomas at gllm.fr
Fri Feb 28 08:36:22 CET 2020


This patch set aims to replace the es_out_ctx_t usage from
https://code.videolan.org/tguillem/vlc/commits/track-id/8 by using an existing
struct: input_source_t.

input_source_t is made public but is currently unusable from any modules (no
struct definition + no public functions). Demux modules don't have to handle
it. It just need to be handled from the 2 top level es_outs (display +
timeshift).

The complete branch is available here:
https://code.videolan.org/tguillem/vlc/commits/track-id/10

Thomas Guillem (8):
  input: source: add a refcount
  input: change InputDemuxNew arguments
  input: split InputSourceNew
  input: don't release from InputSourceDestroy
  input: always keep a valid master source
  input: make the input_source_t struct public
  input: source: add input_source_GetStrId()
  input: source: add input_source_GetNewAutoId()

 include/vlc_common.h       |   1 +
 src/input/input.c          | 129 +++++++++++++++++++++++++++----------
 src/input/input_internal.h |  35 +++++++++-
 3 files changed, 129 insertions(+), 36 deletions(-)

-- 
2.20.1



More information about the vlc-devel mailing list