[vlc-devel] [PATCH 2/2] input: es_out: do not temporary select if explicit params
Rémi Denis-Courmont
remi at remlab.net
Thu Jul 2 21:49:43 CEST 2020
Nit: TemporarILy.
Le torstaina 2. heinäkuuta 2020, 21.13.12 EEST Francois Cartegnie a écrit :
> ---
> src/input/es_out.c | 8 +++-----
> 1 file changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/src/input/es_out.c b/src/input/es_out.c
> index 483f3494d4..ab8beb25ac 100644
> --- a/src/input/es_out.c
> +++ b/src/input/es_out.c
> @@ -2524,11 +2524,9 @@ static void EsOutSelect( es_out_t *out, es_out_id_t
> *es, bool b_force )
>
> if( EsOutSelectHasExplicitParams( p_esprops ) )
> {
> - b_auto_selected = false;
> - if( EsOutSelectMatchExplicitParams( p_esprops, es ) )
> - {
> - wanted_es = es;
> - }
> + if( !EsOutSelectMatchExplicitParams( p_esprops, es ) )
> + return;
> + wanted_es = es;
> }
> else if( p_esprops->ppsz_language )
> {
--
レミ・デニ-クールモン
http://www.remlab.net/
More information about the vlc-devel
mailing list