matroskamux: no need to set cache twice

This commit is contained in:
Zaheer Abbas Merali 2010-05-21 12:23:08 +01:00
parent 40eda471a1
commit d0bf310876

View file

@ -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;