]> git.sesse.net Git - vlc/commitdiff
drawable: fix typo, should fix assertion with two or more videos
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 15 May 2010 16:40:18 +0000 (19:40 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 15 May 2010 16:40:46 +0000 (19:40 +0300)
modules/video_output/drawable.c

index 0abd8227d282a3c73d789858d0481e444db62ee4..a68d9dbd65822dbbe9edde561909450aaaab4e7a 100644 (file)
@@ -69,8 +69,7 @@ static int Open (vlc_object_t *obj)
     /* Keep a list of busy drawables, so we don't overlap videos if there are
      * more than one video track in the stream. */
     vlc_mutex_lock (&serializer);
-    /* TODO: per-type list of busy drawables */
-    used = var_GetAddress (obj->p_libvlc, "drawables-in-use");
+    used = var_GetAddress (obj->p_libvlc, "hwnd-in-use");
     if (used != NULL)
     {
         while (used[n] != NULL)