outputselector: make GST_FORMAT_TIME the default segment format

This commit is contained in:
Havard Graff 2009-08-31 19:31:57 +02:00 committed by Wim Taymans
parent 83ea90c25b
commit f0f80f81d9

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