[vlc-commits] demux: mp4: use stable ids
Thomas Guillem
git at videolan.org
Fri Feb 28 20:46:22 CET 2020
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Feb 17 16:25:45 2020 +0100| [0d8557ff01f327fdbc87b4843f3f0e32e5dd7fd9] | committer: Thomas Guillem
demux: mp4: use stable ids
Use the mp4 track identifier.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0d8557ff01f327fdbc87b4843f3f0e32e5dd7fd9
---
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 be9eee33fe..987ba39218 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 )
{
More information about the vlc-commits
mailing list