]> git.sesse.net Git - vlc/commit
* ./src/libvlc.c, ./include/main.h: the root of all objects is now
authorSam Hocevar <sam@videolan.org>
Thu, 3 Oct 2002 13:21:55 +0000 (13:21 +0000)
committerSam Hocevar <sam@videolan.org>
Thu, 3 Oct 2002 13:21:55 +0000 (13:21 +0000)
commit145b1961b4825d2a8d807bf02db90440a8c45380
treef21c0c669fae377b17644d633defae9854d09e91
parent75873492aace522467ef45e8eb2ef2810ceee93b
  * ./src/libvlc.c, ./include/main.h: the root of all objects is now
    p_libvlc, and each p_vlc is a child of p_libvlc. Reasons for this are:

     o the module bank and the message bank only need to be initialized once,
       which gives faster loads when multiple instances of libvlc are used,
     o we allow the possibility of different p_vlc sharing objects, for
       instance the audio output,
     o the CPU detection is only done once.

    This patch is not polished yet, but I cannot do any intensive tests for
    the moment because of a bug somewhere that leaves audio output objects
    lying here and there which needs to be investigated first. The current
    major issue is that the module bank is no longer freed.
13 files changed:
debian/control
include/main.h
include/vlc_common.h
include/vlc_cpu.h
include/vlc_objects.h
modules/control/rc/rc.c
modules/misc/gtk_main.c
src/libvlc.c
src/misc/cpu.c
src/misc/messages.c
src/misc/modules.c
src/misc/objects.c
src/misc/threads.c