]> git.sesse.net Git - vlc/blobdiff - src/libvlc.c
Qt: move playMRL slot from THEDP to RecentsMRL
[vlc] / src / libvlc.c
index 21f9d4a1614cb576fb1ecc58bbb5ea53055ac79e..dd2f30ad88a2653cdc151a01679c8cd757171884 100644 (file)
 static void GetFilenames  ( libvlc_int_t *, unsigned, const char *const [] );
 
 /**
- * Allocate a libvlc instance, initialize global data if needed
- * It also initializes the threading system
+ * Allocate a blank libvlc instance, also setting the exit handler.
+ * Vlc's threading system must have been initialized first
  */
 libvlc_int_t * libvlc_InternalCreate( void )
 {
     libvlc_int_t *p_libvlc;
     libvlc_priv_t *priv;
 
-    /* Now that the thread system is initialized, we don't have much, but
-     * at least we have variables */
     /* Allocate a libvlc instance object */
     p_libvlc = vlc_custom_create( (vlc_object_t *)NULL, sizeof (*priv),
                                   "libvlc" );