[vlc-commits] commit: drawable: fix typo, should fix assertion with two or more videos ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sat May 15 18:40:51 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 15 19:40:18 2010 +0300| [6193c35a6ef00e52ebc8c1276c205d1efd868b0b] | committer: Rémi Denis-Courmont 

drawable: fix typo, should fix assertion with two or more videos

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6193c35a6ef00e52ebc8c1276c205d1efd868b0b
---

 modules/video_output/drawable.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/drawable.c b/modules/video_output/drawable.c
index 0abd822..a68d9db 100644
--- a/modules/video_output/drawable.c
+++ b/modules/video_output/drawable.c
@@ -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)



More information about the vlc-commits mailing list