[vlc-devel] [PATCH] bluray: Fix track languages in GUI
Petri Hintukainen
phintuka at gmail.com
Wed Sep 23 18:11:40 CEST 2020
Track language may change between playlists.
---
modules/access/bluray.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index bf636c4991..5d23b3893c 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1314,6 +1314,8 @@ static es_out_id_t *bluray_esOutAddUnlocked(bluray_esout_priv_t *esout_priv,
p_es = p_pair->p_es;
if(!es_format_IsSimilar(p_fmt, &p_pair->fmt) ||
p_fmt->b_packetized != p_pair->fmt.b_packetized ||
+ strcmp(fmt.psz_language ? fmt.psz_language : "",
+ p_pair->fmt.psz_language ? p_pair->fmt.psz_language : "") ||
esout_priv->b_restart_decoders_on_reuse)
es_out_Control(esout_priv->p_dst_out, ES_OUT_SET_ES_FMT, p_pair->p_es, &fmt);
es_format_Clean(&p_pair->fmt);
--
2.25.1
More information about the vlc-devel
mailing list