[vlc-devel] [PATCH 01/15] Enable selection of secondary SPU ES in the core
    Rémi Denis-Courmont 
    remi at remlab.net
       
    Tue May 14 19:01:57 CEST 2019
    
    
  
Le tiistaina 14. toukokuuta 2019, 12.40.00 EEST Roland Bewick a écrit :
> ---
>  include/vlc_player.h       | 13 +++++++++++++
>  src/input/es_out.c         | 47
> ++++++++++++++++++++++++++++++++++++++++++++-- src/input/es_out.h         |
>  5 ++++-
>  src/input/input.c          |  5 +++++
>  src/input/input_internal.h |  1 +
>  src/input/player.c         | 11 +++++++++++
>  src/libvlccore.sym         |  1 +
>  7 files changed, 80 insertions(+), 3 deletions(-)
> 
> diff --git a/include/vlc_player.h b/include/vlc_player.h
> index 1aa5f8e687..077b3883ad 100644
> --- a/include/vlc_player.h
> +++ b/include/vlc_player.h
> @@ -2428,6 +2428,19 @@ VLC_API unsigned
>  vlc_player_GetSubtitleTextScale(vlc_player_t *player);
> 
>  /**
> + * Allow secondary subtitle track(s) to be selected when
> + * the primary subtitle track is already selected.
> + *
> + * @note This must be returned to false immediately after
> + * selection of the subtitle.
No - that won't work because you cannot assume atomicity of the following 
operations on the ES output , at least not with the following code.
-- 
Реми Дёни-Курмон
http://www.remlab.net/
    
    
More information about the vlc-devel
mailing list