[gst-plugins-farsight/master] emit the right timestamp in the newsegment event
Olivier Crete
olivier.crete at collabora.co.uk
Tue Mar 3 10:53:13 PST 2009
20080725192530-3e2dc-a3cc0ce73fca181caee323d699d8576df916e8d3.gz
---
ext/mimic/gstmimdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ext/mimic/gstmimdec.c b/ext/mimic/gstmimdec.c
index e971e66..a58a03b 100644
--- a/ext/mimic/gstmimdec.c
+++ b/ext/mimic/gstmimdec.c
@@ -243,7 +243,7 @@ gst_mimdec_chain (GstPad *pad, GstBuffer *in)
}
event = gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_TIME,
- 0, -1, 0);
+ mimdec->gst_timestamp, -1, mimdec->gst_timestamp);
GST_OBJECT_UNLOCK (mimdec);
result = gst_pad_push_event (mimdec->srcpad, event);
GST_OBJECT_LOCK (mimdec);
--
1.5.6.5
More information about the farsight-commits
mailing list