[vlc-commits] bluray: Fix track languages in GUI
Petri Hintukainen
git at videolan.org
Mon Oct 5 09:52:18 CEST 2020
vlc | branch: master | Petri Hintukainen <phintuka at gmail.com> | Wed Sep 23 19:11:40 2020 +0300| [6694717199c09c2522f9a24d138e9dac4e91027b] | committer: Jean-Baptiste Kempf
bluray: Fix track languages in GUI
Track language may change between playlists.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6694717199c09c2522f9a24d138e9dac4e91027b
---
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);
More information about the vlc-commits
mailing list