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.
Showing
- include/vlc_input.h 5 additions, 6 deletionsinclude/vlc_input.h
- src/control/media_player.c 2 additions, 6 deletionssrc/control/media_player.c
- src/input/input.c 13 additions, 15 deletionssrc/input/input.c
- src/input/input_internal.h 1 addition, 0 deletionssrc/input/input_internal.h
- src/input/resource.c 42 additions, 76 deletionssrc/input/resource.c
- src/input/resource.h 5 additions, 12 deletionssrc/input/resource.h
- src/input/vlm.c 2 additions, 8 deletionssrc/input/vlm.c
- src/libvlccore.sym 1 addition, 1 deletionsrc/libvlccore.sym
- src/playlist/thread.c 2 additions, 6 deletionssrc/playlist/thread.c
- src/video_output/video_output.c 0 additions, 3 deletionssrc/video_output/video_output.c
Loading
Please register or sign in to comment