cmmlenc: Remove hack to let oggmux start a new page for every CMML buffer
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 8 Jun 2010 05:35:00 +0000 (07:35 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 8 Jun 2010 05:35:00 +0000 (07:35 +0200)
oggmux does this for CMML by its own now

ext/annodex/gstcmmlenc.c

index d708a680a6cd9ff4d2c64583175ccdbec3f7ff57..035e08da22a7268959af9deeece50a6e0880d2d7 100644 (file)
@@ -585,9 +585,6 @@ gst_cmml_enc_push (GstCmmlEnc * enc, GstBuffer * buffer)
 {
   GstFlowReturn res;
 
-  /* FIXME: hack to make oggmux flush every cmml tag in its own page */
-  GST_BUFFER_DURATION (buffer) = G_MAXINT64;
-
   res = gst_pad_push (enc->srcpad, buffer);
   if (GST_FLOW_IS_FATAL (res))
     GST_WARNING_OBJECT (enc, "push returned: %s", gst_flow_get_name (res));