<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 15 May 2019 at 12:02 AM, Rémi Denis-Courmont <<a href="mailto:remi@remlab.net">remi@remlab.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le tiistaina 14. toukokuuta 2019, 12.40.00 EEST Roland Bewick a écrit :<br>
> ---<br>
> include/vlc_player.h | 13 +++++++++++++<br>
> src/input/es_out.c | 47<br>
> ++++++++++++++++++++++++++++++++++++++++++++-- src/input/es_out.h |<br>
> 5 ++++-<br>
> src/input/input.c | 5 +++++<br>
> src/input/input_internal.h | 1 +<br>
> src/input/player.c | 11 +++++++++++<br>
> src/libvlccore.sym | 1 +<br>
> 7 files changed, 80 insertions(+), 3 deletions(-)<br>
> <br>
> diff --git a/include/vlc_player.h b/include/vlc_player.h<br>
> index 1aa5f8e687..077b3883ad 100644<br>
> --- a/include/vlc_player.h<br>
> +++ b/include/vlc_player.h<br>
> @@ -2428,6 +2428,19 @@ VLC_API unsigned<br>
> vlc_player_GetSubtitleTextScale(vlc_player_t *player);<br>
> <br>
> /**<br>
> + * Allow secondary subtitle track(s) to be selected when<br>
> + * the primary subtitle track is already selected.<br>
> + *<br>
> + * @note This must be returned to false immediately after<br>
> + * selection of the subtitle.<br>
<br>
No - that won't work because you cannot assume atomicity of the following <br>
operations on the ES output , at least not with the following code.</blockquote><div dir="auto"><br></div><div dir="auto">You’re correct, but the possibility of unwanted ES selection occuring in actual use is negligible.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
<br>
-- <br>
Реми Дёни-Курмон<br>
<a href="http://www.remlab.net/" rel="noreferrer" target="_blank">http://www.remlab.net/</a><br>
<br>
<br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a></blockquote></div></div>