diff options
author | Olivier Crete <olivier.crete@collabora.co.uk> | 2008-04-03 16:54:31 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-17 19:29:03 +0100 |
commit | 29991c984a95f08c4ae18a7735cd8dcae726c5a5 (patch) | |
tree | 973403e8682f4863b9b46c8520201be7a59c7108 /gst | |
parent | 0e625b097bba198b788297b2cee7f712379371b7 (diff) | |
download | gst-plugins-bad-29991c984a95f08c4ae18a7735cd8dcae726c5a5.tar.gz gst-plugins-bad-29991c984a95f08c4ae18a7735cd8dcae726c5a5.tar.bz2 gst-plugins-bad-29991c984a95f08c4ae18a7735cd8dcae726c5a5.zip |
[MOVED FROM GST-P-FARSIGHT] We retimestamp to the running time, starting the segments from 0 should therefore work
20080403165431-3e2dc-d981ac2f9ea7fd3c8d2be4d22f1817cf78c614e4.gz
Diffstat (limited to 'gst')
-rw-r--r-- | gst/liveadder/liveadder.c | 8 |
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; } |