Commit 6193c35a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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

parent 902605ba
...@@ -69,8 +69,7 @@ static int Open (vlc_object_t *obj) ...@@ -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 /* Keep a list of busy drawables, so we don't overlap videos if there are
* more than one video track in the stream. */ * more than one video track in the stream. */
vlc_mutex_lock (&serializer); vlc_mutex_lock (&serializer);
/* TODO: per-type list of busy drawables */ used = var_GetAddress (obj->p_libvlc, "hwnd-in-use");
used = var_GetAddress (obj->p_libvlc, "drawables-in-use");
if (used != NULL) if (used != NULL)
{ {
while (used[n] != NULL) while (used[n] != NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment