• Thomas Guillem's avatar
    input: fix restart of all ES when changing renderer · 72f780a4
    Thomas Guillem authored
    The sout was destroyed before decoders were deleted. This could lead to a
    use-after-free of the sout from the DecoderThread.
    To fix this issue, we stop all ES, save the stopped state of all ES, change the
    renderer/sout configuration and restart all previously stopped ES.
    Deprecate ES_OUT_RESTART_ALL_ES since it was only used for this case. And
    replace it by ES_OUT_STOP_ALL_ES/ES_OUT_START_ALL_ES, but in private headers.
vlc_es_out.h 6.57 KB