[vlc-commits] input: es_out: fix broken es reselection
Francois Cartegnie
git at videolan.org
Fri Jun 29 14:49:21 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jun 29 14:01:49 2018 +0200| [3b17b75f3e7aa0033e57fa7549734316b71c0abb] | committer: Francois Cartegnie
input: es_out: fix broken es reselection
b09ab2cf7cf762cd20436be73b74495407de2450 regression
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3b17b75f3e7aa0033e57fa7549734316b71c0abb
---
src/input/es_out.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 5c78303912..b6b1b20b98 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2207,7 +2207,7 @@ static void EsOutDel( es_out_t *out, es_out_id_t *es )
input_SendEventEsSelect(p_sys->p_input, es->fmt.i_cat,
other->i_id);
if( p_esprops->p_main_es == NULL )
- p_esprops->p_main_es = es;
+ p_esprops->p_main_es = other;
}
else
EsOutSelect(out, other, false);
More information about the vlc-commits
mailing list