flvmux: pass along segment info to collectpads
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 4 Jul 2011 09:25:28 +0000 (11:25 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 4 Jul 2011 09:36:48 +0000 (11:36 +0200)
... so it can track this and be subsequently used to determine running time etc.

gst/flv/gstflvmux.c

index 9351782..f1612a4 100644 (file)
@@ -274,11 +274,6 @@ gst_flv_mux_handle_sink_event (GstPad * pad, GstEvent * event)
       mux->new_tags = TRUE;
       break;
     }
-    case GST_EVENT_NEWSEGMENT:
-      /* We don't support NEWSEGMENT events */
-      ret = FALSE;
-      gst_event_unref (event);
-      break;
     default:
       break;
   }