[vlc-devel] [PATCH 03/48] video_output: add a function to release the display separately from its thread
Rémi Denis-Courmont
remi at remlab.net
Sat Oct 12 13:38:55 CEST 2019
Le perjantaina 11. lokakuuta 2019, 16.33.17 EEST Steve Lhomme a écrit :
> vout_Stop does a vout_StopDisplay + vout_DisableWindow
>
> When we failed to start the thread we shouldn't stop it
Sure we should stop the thread if there is no display. Rather the thread
should only exist when the display exists.
Ultimately, the only use of the thread is to handle the timing of the picture
FIFO. It's completely pointless if there is no display, and keeping it around
only adds extra intricacies with sycnhronizing state between threads.
--
雷米‧德尼-库尔蒙
http://www.remlab.net/
More information about the vlc-devel
mailing list