summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2008-07-25 19:25:30 +0000
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-03-03 14:34:07 -0500
commita66cd2591929498dd0af6118a82d7bcfb6171b0d (patch)
tree1637a063f090c005f89eae88f0118194c3c37802
parent4e2d96596d729b01541ab215c1a28811257ebb4b (diff)
downloadgst-plugins-bad-a66cd2591929498dd0af6118a82d7bcfb6171b0d.tar.gz
gst-plugins-bad-a66cd2591929498dd0af6118a82d7bcfb6171b0d.tar.bz2
gst-plugins-bad-a66cd2591929498dd0af6118a82d7bcfb6171b0d.zip
[MOVED FROM GST-P-FARSIGHT] emit the right timestamp in the newsegment event
20080725192530-3e2dc-a3cc0ce73fca181caee323d699d8576df916e8d3.gz
-rw-r--r--ext/mimic/gstmimdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mimic/gstmimdec.c b/ext/mimic/gstmimdec.c
index e971e669..a58a03ba 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);