[vlc-devel] [PATCH 2/2] input: es_out: do not temporary select if explicit params
Francois Cartegnie
fcvlcdev at free.fr
Thu Jul 2 20:13:12 CEST 2020
---
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 )
{
--
2.25.4
More information about the vlc-devel
mailing list