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

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


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

> There is a small window of opportunity for a dead lock here. If you signal
> the
> condition while the VLM thread is not in vlc_cond_wait(), the wake up will be
> lost. Then the VLM thread will sleep for all eternity.

Ok, I can add a lock in the callback, it should be ok now ?
Attached, my two patches updated.

Regards,

Seb.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-vod-input-preparsing-use-input-events-instead-of-m.patch
Type: text/x-patch
Size: 2586 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090914/b82eca3f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-vod-preparsing-if-muxer-is-specified-only-wait-fo.patch
Type: text/x-patch
Size: 1774 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090914/b82eca3f/attachment-0001.bin>


More information about the vlc-devel mailing list