matroskamux: no need to set cache twice
authorZaheer Abbas Merali <zaheerabbas@merali.org>
Fri, 21 May 2010 11:23:08 +0000 (12:23 +0100)
committerZaheer Abbas Merali <zaheerabbas@merali.org>
Tue, 1 Jun 2010 15:43:03 +0000 (16:43 +0100)
gst/matroska/matroska-mux.c

index b584fcd66f6bec4a8faa1dfb43fc323a3ee01413..9a70121a28c08b1c780e7892ccdeac5b76ee1730 100644 (file)
@@ -2020,9 +2020,6 @@ gst_matroska_mux_start (GstMatroskaMux * mux)
       gst_ebml_write_master_start (ebml, GST_MATROSKA_ID_SEGMENT);
   mux->segment_master = ebml->pos;
 
-  /* the rest of the header is cached */
-  gst_ebml_write_set_cache (ebml, 0x1000);
-
   if (!mux->is_live) {
     /* seekhead (table of contents) - we set the positions later */
     mux->seekhead_pos = ebml->pos;