[vlc-devel] [RFC PATCHv2 11/18] demux: mkv: use stable ids
Thomas Guillem
thomas at gllm.fr
Tue Feb 18 17:11:24 CET 2020
Use the mkv track identifier.
---
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 c0b8ad82122..3ec9d55e049 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 )
{
--
2.20.1
More information about the vlc-devel
mailing list