[vlc-devel] [PATCH] vlm and vod preparsing

Sébastien Escudier sebastien-devel at celeos.eu
Mon Sep 14 17:04:49 CEST 2009

Quoting Rémi Denis-Courmont <remi at remlab.net>:

> Thanks. I merged the first patch. But I don't understand why you use a
> while()
> statement in the second one.

because if psz_mux is NULL, then when need to wait for p_input->b_dead, and the
semaphore is unlocked on both INPUT_EVENT_DEAD and INPUT_EVENT_ITEM_META.

If psz_mux is not NULL, then we only wait for INPUT_EVENT_ITEM_META.

More information about the vlc-devel mailing list