[vlc-devel] commit: Implement access_GetParentInput and demux_GetParentInput and use. ( Pierre d'Herbemont )

git version control git at videolan.org
Fri Aug 21 12:34:07 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Fri Aug 21 12:27:56 2009 +0200| [0d1f966a0b3581d3e96423ce34f32b4da7725c31] | committer: Pierre d'Herbemont 

Implement access_GetParentInput and demux_GetParentInput and use.

This try to avoid vlc_object_find() as much as possible.
This is conservative, because where there is no associated parent input, we'll try to find in certain cases the parent input. This will probably be
 removed later on. Because yes, there is not necessarily a parent input for access and demux, especially if created from stream_UrlNew().

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

 include/vlc_access.h      |    9 +++++++++
 include/vlc_demux.h       |    9 +++++++++
 include/vlc_stream.h      |    7 +++++--
 src/input/access.c        |   16 ++++++++++++++--
 src/input/access.h        |    7 ++++---
 src/input/demux.c         |   13 ++++++++++++-
 src/input/demux.h         |    4 ++--
 src/input/input.c         |    6 +++---
 src/input/stream.c        |   22 +++++++++++++++-------
 src/input/stream_demux.c  |    7 ++++---
 src/input/stream_filter.c |    2 ++
 src/input/stream_memory.c |    6 ++++++
 src/libvlccore.sym        |    4 +++-
 13 files changed, 88 insertions(+), 24 deletions(-)

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



More information about the vlc-devel mailing list