input: notify "subtree added" on the input thread
commit9da7193926407cb4eecd10aafed4afff9ec1669b
authorRomain Vimont <rom1v@videolabs.io>
Thu, 2 Aug 2018 12:10:33 +0000 (2 14:10 +0200)
committerRomain Vimont <rom1v@videolabs.io>
Mon, 20 Aug 2018 11:51:28 +0000 (20 13:51 +0200)
tree75e030c593eec3bb3709eaccece6769fea553baf
parentee83628877583f131ca11cea3718dbe6a7d6c434
input: notify "subtree added" on the input thread

Subitems do not belong to an input item: they are created only to fire
an event, then destroyed immediately. Thus, the detection of subitems is
more related to a specific preparsing task than to the item itself.

Therefore, notify the detection of subitems on the input thread, so that
we could eventually remove the vlc_InputItemSubItemTreeAdded event on
the input item.
include/vlc_input.h
src/input/es_out.c
src/input/event.c
src/input/event.h
src/input/var.c