From f0f80f81d9351a77f2614cbccc22c266a41d87f9 Mon Sep 17 00:00:00 2001 From: Havard Graff Date: Mon, 31 Aug 2009 19:31:57 +0200 Subject: [PATCH] outputselector: make GST_FORMAT_TIME the default segment format --- gst/selector/gstoutputselector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/selector/gstoutputselector.c b/gst/selector/gstoutputselector.c index f5c89eefe4..e56cced5da 100644 --- a/gst/selector/gstoutputselector.c +++ b/gst/selector/gstoutputselector.c @@ -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;