Skip to content

matroskademux: Guard event deferring with locks

When handling seek events, the demuxer object lock must be taken before checking the read state and storing the event in order to avoid potential races in case the streaming thread is in the middle of a read state transition.

Merge request reports