[vlc-devel] [RFC PATCHv2 12/18] demux: mp4: use stable ids
Thomas Guillem
thomas at gllm.fr
Tue Feb 18 17:11:25 CET 2020
Use the mp4 track identifier.
---
modules/demux/mp4/mp4.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index be9eee33fe2..987ba392180 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -2830,6 +2830,8 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
p_sample->i_type = p_frma->data.p_frma->i_type;
}
+ p_track->fmt.i_id = p_track->i_track_ID;
+
/* */
switch( p_track->fmt.i_cat )
{
--
2.20.1
More information about the vlc-devel
mailing list