mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 21:51:09 +00:00
matroskamux: no need to set cache twice
This commit is contained in:
parent
40eda471a1
commit
d0bf310876
1 changed files with 0 additions and 3 deletions
|
@ -2020,9 +2020,6 @@ gst_matroska_mux_start (GstMatroskaMux * mux)
|
||||||
gst_ebml_write_master_start (ebml, GST_MATROSKA_ID_SEGMENT);
|
gst_ebml_write_master_start (ebml, GST_MATROSKA_ID_SEGMENT);
|
||||||
mux->segment_master = ebml->pos;
|
mux->segment_master = ebml->pos;
|
||||||
|
|
||||||
/* the rest of the header is cached */
|
|
||||||
gst_ebml_write_set_cache (ebml, 0x1000);
|
|
||||||
|
|
||||||
if (!mux->is_live) {
|
if (!mux->is_live) {
|
||||||
/* seekhead (table of contents) - we set the positions later */
|
/* seekhead (table of contents) - we set the positions later */
|
||||||
mux->seekhead_pos = ebml->pos;
|
mux->seekhead_pos = ebml->pos;
|
||||||
|
|
Loading…
Reference in a new issue