[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:41:20 CEST 2010


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

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

(cherry picked from commit 6193c35a6ef00e52ebc8c1276c205d1efd868b0b)

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

 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