summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/liveadder/liveadder.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c
index 8546b565..72d1a38b 100644
--- a/gst/liveadder/liveadder.c
+++ b/gst/liveadder/liveadder.c
@@ -1118,14 +1118,10 @@ gst_live_adder_loop (gpointer data)
if (adder->segment_pending)
{
/*
- * We should probably loop through all of the sinks that have a segment
- * and take the min of the starts and the max of the stops
- * and convert them to running times and use these as start/stop.
- * And so something smart about the positions with seeks that I dont
- * understand yet.
+ * We set the start at 0, because we re-timestamps to the running time
*/
newseg_event = gst_event_new_new_segment_full (FALSE, 1.0, 1.0,
- GST_FORMAT_TIME, GST_BUFFER_TIMESTAMP (buffer), -1, 0);
+ GST_FORMAT_TIME, 0, -1, 0);
adder->segment_pending = FALSE;
}