]> git.sesse.net Git - vlc/commit
libvlc: libvlc_media_subitems: lock and always return a medialist
authorThomas Guillem <thomas@gllm.fr>
Mon, 19 Jan 2015 10:22:48 +0000 (11:22 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 20 Jan 2015 06:17:18 +0000 (08:17 +0200)
commit75fe4eafffdb918fc4c5a88afd8f41340d81b37e
tree963d3e394b4dbb6027685249f8df98062ff36b34
parent9b2c414cc629a4b287d2cfbcdc3a4b47f54fb2a6
libvlc: libvlc_media_subitems: lock and always return a medialist

This way, libvlc_media_subitems can be called before, during or after a
parsing. Furthermore, this allows to attach media_list events before
libvlc_media_parse is called.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
lib/media.c
lib/media_internal.h