[vlc-devel] [PATCH 00/11] decoder: fix vout_thread_started thread safety
Thomas Guillem
thomas at gllm.fr
Tue Jun 30 17:27:11 CEST 2020
cf. Discussion on "[PATCH 1/2] decoder: lock vout_thread_started when written"
This patch set simplify the vout API, only few functions require a started
display. These functions are called directly from the input_resource that know
the started state of all vouts.
It also simplify the decoder_device creation can doesn't need to be handed by
the input_resource anymore.
This patch set need to be heavily tested on all major OS with/without hw
decoder.
Currently tested:
- Saving a free vout
- Re-using a free vout
- Multiple vout playback
- vaapi dec_dev
Best regards,
Alexandre Janniaux (1):
vout: vout_ChangeRate: remove display assert
Thomas Guillem (10):
input: resource: remove useless lock
input: resource: move vouts handling from array to list
input: decoder: always reset vout cancel state
input: resource: store vout order for each vout_rsc
input: rework decoder_device handling
input: resource: re-indent after previous commit
input: decoder: rework CreateVoutIfNeeded()
vout: vout_Flush: check display
vout: vout_NextPicture: remove display assert
input: move vout start/stop handling in resource
src/input/decoder.c | 121 +++++---------
src/input/resource.c | 285 +++++++++++++++++++++-----------
src/input/resource.h | 11 +-
src/video_output/video_output.c | 14 +-
4 files changed, 240 insertions(+), 191 deletions(-)
--
2.20.1
More information about the vlc-devel
mailing list