[vlc-commits] demux: vobsub: use stable id
Thomas Guillem
git at videolan.org
Fri Feb 28 20:46:24 CET 2020
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Feb 18 11:24:53 2020 +0100| [01215b3a5ef634dcd94ebbf1400b6de9ea7af62c] | committer: Thomas Guillem
demux: vobsub: use stable id
Use the vob track identifier.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=01215b3a5ef634dcd94ebbf1400b6de9ea7af62c
---
modules/demux/vobsub.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/vobsub.c b/modules/demux/vobsub.c
index 1597c4109c..157264612b 100644
--- a/modules/demux/vobsub.c
+++ b/modules/demux/vobsub.c
@@ -547,6 +547,7 @@ static int ParseVobSubIDX( demux_t *p_demux )
memcpy( &fmt.subs.spu.palette[1], p_sys->palette, 16 * sizeof( uint32_t ) );
}
+ fmt.i_id = i_track_id;
current_tk->p_es = es_out_Add( p_demux->out, &fmt );
msg_Dbg( p_demux, "New vobsub track detected: %i [%s]", i_track_id, language );
}
More information about the vlc-commits
mailing list