outputselector: make GST_FORMAT_TIME the default segment format
authorHavard Graff <havard.graff@tandberg.com>
Mon, 31 Aug 2009 17:31:57 +0000 (19:31 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 31 Dec 2010 00:53:50 +0000 (00:53 +0000)
plugins/elements/gstoutputselector.c

index f5c89ee..e56cced 100644 (file)
@@ -152,7 +152,7 @@ gst_output_selector_init (GstOutputSelector * sel,
   /* srcpad management */
   sel->active_srcpad = NULL;
   sel->nb_srcpads = 0;
-  gst_segment_init (&sel->segment, GST_FORMAT_UNDEFINED);
+  gst_segment_init (&sel->segment, GST_FORMAT_TIME);
   sel->pending_srcpad = NULL;
 
   sel->resend_latest = FALSE;