[vlc-commits] input: remove indirection from input to input private data

Rémi Denis-Courmont git at videolan.org
Sat Nov 5 09:50:51 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov  5 10:11:44 2016 +0200| [ad4a50d3947e6846fa23b02e4331ba6e75d84800] | committer: Rémi Denis-Courmont

input: remove indirection from input to input private data

Put the input thread (public) within the private data, like we already
do for some other core-allocated objects. This removes one layer of
indirection for almost all internal input values.

input_thread_t.p no longer exists. Use input_priv() instead.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ad4a50d3947e6846fa23b02e4331ba6e75d84800
---

 include/vlc_input.h          |   9 -
 src/input/access.c           |  21 +-
 src/input/control.c          | 179 +++++------
 src/input/decoder.c          |  28 +-
 src/input/es_out.c           |  78 ++---
 src/input/es_out_timeshift.c |   6 +-
 src/input/event.c            |   8 +-
 src/input/input.c            | 685 +++++++++++++++++++++----------------------
 src/input/input_internal.h   |  13 +-
 src/input/meta.c             |   6 +-
 src/input/stats.c            |  40 +--
 src/input/var.c              |  40 +--
 12 files changed, 557 insertions(+), 556 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=ad4a50d3947e6846fa23b02e4331ba6e75d84800


More information about the vlc-commits mailing list