mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
matroskamux: Always write a tags element into seekhead
If there are only stream tags, we still want to write the tags entry into the seekhead, so that tags can be found quickly in the player. Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/905 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1020>
This commit is contained in:
parent
adae01e4c3
commit
d270fa498c
1 changed files with 1 additions and 1 deletions
|
@ -3593,7 +3593,7 @@ gst_matroska_mux_finish (GstMatroskaMux * mux)
|
|||
gst_ebml_write_seek (ebml, my_pos);
|
||||
}
|
||||
|
||||
if (tags != NULL || toc_has_tags) {
|
||||
if (mux->tags_pos != 0 || toc_has_tags) {
|
||||
gst_ebml_replace_uint (ebml, mux->seekhead_pos + 144,
|
||||
mux->tags_pos - mux->segment_master);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue