[vlc-commits] demux: mkv: use stable ids
Thomas Guillem
git at videolan.org
Fri Feb 28 20:46:21 CET 2020
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Feb 17 16:25:00 2020 +0100| [7db8ce92c7ef663dad8ff86ccf02127c739d2749] | committer: Thomas Guillem
demux: mkv: use stable ids
Use the mkv track identifier.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7db8ce92c7ef663dad8ff86ccf02127c739d2749
---
modules/demux/mkv/matroska_segment.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index c0b8ad8212..3ec9d55e04 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -1117,6 +1117,7 @@ bool matroska_segment_c::ESCreate()
track.p_es = NULL;
continue;
}
+ track.fmt.i_id = static_cast<int>( track_id );
if( !track.p_es )
{
More information about the vlc-commits
mailing list