[vlc-devel] [PATCH 1/5] decoder: send aout/vout events via the input thread
Rémi Denis-Courmont
remi at remlab.net
Fri Jul 13 18:25:18 CEST 2018
Le perjantaina 13. heinäkuuta 2018, 12.34.37 EEST Thomas Guillem a écrit :
> This is not specified anywhere, but I would prefer having all input events
> coming from the same thread (the input one).
The input thread spends most of its time blocked inside the demuxer code. It
cannot be used to dispatch events, lest they end up delayed arbitrarily long
in the pathological cases.
Besides, those events really should have the concerned aout/vout pointer as
parameters (it was not possible with intf-event being an integer). And then,
it becomes evident that the event must be dispatched synchronously.
Having said, that those events should be removed IMO. For the aout events, it
might even be feasible already. For the vout, it's a long shot.
--
レミ・デニ-クールモン
http://www.remlab.net/
More information about the vlc-devel
mailing list