summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHavard Graff <havard.graff@tandberg.com>2009-08-31 19:31:57 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-09-08 17:53:34 +0200
commitf0f80f81d9351a77f2614cbccc22c266a41d87f9 (patch)
tree9015785a43c9a28dad6c0a3c8a59d3431975760a
parent83ea90c25b5f82a6abea854edd793b34d14a5976 (diff)
outputselector: make GST_FORMAT_TIME the default segment format
-rw-r--r--gst/selector/gstoutputselector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/selector/gstoutputselector.c b/gst/selector/gstoutputselector.c
index f5c89eefe..e56cced5d 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;