From a66cd2591929498dd0af6118a82d7bcfb6171b0d Mon Sep 17 00:00:00 2001 From: Olivier Crete Date: Fri, 25 Jul 2008 19:25:30 +0000 Subject: [PATCH] [MOVED FROM GST-P-FARSIGHT] emit the right timestamp in the newsegment event 20080725192530-3e2dc-a3cc0ce73fca181caee323d699d8576df916e8d3.gz --- ext/mimic/gstmimdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mimic/gstmimdec.c b/ext/mimic/gstmimdec.c index e971e66961..a58a03ba6e 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); -- 2.34.1