[MOVED FROM GST-P-FARSIGHT] emit the right timestamp in the newsegment event

20080725192530-3e2dc-a3cc0ce73fca181caee323d699d8576df916e8d3.gz
This commit is contained in:
Olivier Crete 2008-07-25 19:25:30 +00:00 committed by Olivier Crête
parent 4e2d96596d
commit a66cd25919

View file

@ -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);