Added lock around es_out for multiple thread access.
authorLaurent Aimar <fenrir@videolan.org>
Sat, 1 Nov 2008 15:19:52 +0000 (16:19 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 1 Nov 2008 15:24:18 +0000 (16:24 +0100)
commit007185b1ab1125ec04c9aa5bea1446f802dd5d5f
treecbb691b35ce42665e0b1d5c951785bb4405446f9
parente34927d31d92030d037294412f1e651601e5e010
Added lock around es_out for multiple thread access.

It should fix race conditions when using stream demuxer.
It is a temporary way until I finish a few es_out modification.
src/input/es_out.c
src/input/es_out.h
src/input/input.c