[vlc-commits] bluray: Fix track languages in GUI
Petri Hintukainen
git at videolan.org
Sat Oct 24 22:02:27 CEST 2020
vlc/vlc-3.0 | branch: master | Petri Hintukainen <phintuka at gmail.com> | Wed Sep 23 19:11:40 2020 +0300| [4710e0b6d3941649d51b4532aadd7e448d4abb52] | 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>
(cherry picked from commit 6694717199c09c2522f9a24d138e9dac4e91027b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=4710e0b6d3941649d51b4532aadd7e448d4abb52
---
modules/access/bluray.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 10be6cbf27..1e47057532 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1222,6 +1222,8 @@ static es_out_id_t *bluray_esOutAdd(es_out_t *p_out, const es_format_t *p_fmt)
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_sys->b_restart_decoders_on_reuse)
{
es_out_Control(esout_sys->p_dst_out, ES_OUT_SET_ES_FMT, p_pair->p_es, &fmt);
More information about the vlc-commits
mailing list