]> git.sesse.net Git - vlc/commit
Sub filter deadlock fixes.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 2 Feb 2009 20:49:52 +0000 (21:49 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 2 Feb 2009 21:25:08 +0000 (22:25 +0100)
commitf0fc0b2353b5234746b8e2e5fd7b764d7915f469
tree79930c23b205c4aa77f2fe12c8f39693f46e5f4e
parent8a353bf6dc813d0f54810df685504a0ec458a522
Sub filter deadlock fixes.

The original idea and debug come from basos g patch with the following
comment:

"A dead lock was created when adding an spu filter (like marq)
because the same mutex was used for spu->p stuff and sub filter
chain (p_spu->p->p_chain)."

 I implemented the creation/destruction of the chain outside the sub-filter
callback.
src/video_output/vout_subpictures.c