]> git.sesse.net Git - vlc/commit
Made object created by input_resource attached to a high level object.
authorLaurent Aimar <fenrir@videolan.org>
Tue, 25 May 2010 18:31:13 +0000 (20:31 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 25 May 2010 18:47:49 +0000 (20:47 +0200)
commit211f72ff01d9f6fcfefc6801503b01b3a4e935a4
treec6e6203c2f05a879bf722fa5a40793b5c85652a1
parent63e5475e641364376113d787d5053b3b160b73f0
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.
include/vlc_input.h
src/control/media_player.c
src/input/input.c
src/input/input_internal.h
src/input/resource.c
src/input/resource.h
src/input/vlm.c
src/libvlccore.sym
src/playlist/thread.c
src/video_output/video_output.c