mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
isomp4/atoms: fix multiple stsd entries
stsd entries are serialized in reverse order (starting from g_list_last()), and must be prepended to the entry list for their index to be correct when referenced from stsc entries. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1047>
This commit is contained in:
parent
2c6be7373f
commit
e069824c7d
1 changed files with 1 additions and 1 deletions
|
@ -4020,7 +4020,7 @@ atom_trak_add_video_entry (AtomTRAK * trak, AtomsContext * context,
|
|||
mp4v->temporal_quality = 512;
|
||||
}
|
||||
|
||||
stsd->entries = g_list_append (stsd->entries, mp4v);
|
||||
stsd->entries = g_list_prepend (stsd->entries, mp4v);
|
||||
stsd->n_entries++;
|
||||
return mp4v;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue