[vlc-commits] commit: Made object created by input_resource attached to a high level object. ( Laurent Aimar )
git at videolan.org
git at videolan.org
Tue May 25 20:48:05 CEST 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue May 25 20:31:13 2010 +0200| [211f72ff01d9f6fcfefc6801503b01b3a4e935a4] | committer: Laurent Aimar
Made object created by input_resource attached to a high level object.
The high level object must at least live as long as the input_resource,
I used playlist, vlm or libvlc_media_player.
It avoids invalid reparent of the vout, aout and sout on input changes.
It breaks support for per input options used for creating vout, aout
and sout (:sout= is not impacted). I will fix the vout case.
It breaks invalid usages of vlc_object_find(INPUT, PARENT) used
at least by :
- the sout modules describe and display.
- the sout statistics.
- the vout splitter change
- the snapshot vout display.
I will fix the vout related ones.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=211f72ff01d9f6fcfefc6801503b01b3a4e935a4
---
include/vlc_input.h | 11 ++--
src/control/media_player.c | 8 +--
src/input/input.c | 28 ++++-----
src/input/input_internal.h | 1 +
src/input/resource.c | 118 ++++++++++++++-------------------------
src/input/resource.h | 17 ++----
src/input/vlm.c | 10 +---
src/libvlccore.sym | 2 +-
src/playlist/thread.c | 8 +--
src/video_output/video_output.c | 3 -
10 files changed, 73 insertions(+), 133 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=211f72ff01d9f6fcfefc6801503b01b3a4e935a4
More information about the vlc-commits
mailing list