Commit dbf28d28 authored by Wouter Cloetens's avatar Wouter Cloetens Committed by Wim Taymans
Browse files

gst/multipart/multipartdemux.c: Copy timestamp from input to output. Not very...

gst/multipart/multipartdemux.c: Copy timestamp from input to output. Not very perfect yet but better than nothing. Fi...

Original commit message from CVS:
Patch by: Wouter Cloetens <wouter at mind dot be>
* gst/multipart/multipartdemux.c: (gst_multipart_demux_chain):
Copy timestamp from input to output. Not very perfect yet but better
than nothing. Fixes #503023.
parent b22993e9
2007-12-11 Wim Taymans <wim.taymans@collabora.co.uk>
Patch by: Wouter Cloetens <wouter at mind dot be>
* gst/multipart/multipartdemux.c: (gst_multipart_demux_chain):
Copy timestamp from input to output. Not very perfect yet but better
than nothing. Fixes #503023.
2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
 
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_chain):
......
......@@ -527,8 +527,11 @@ gst_multipart_demux_chain (GstPad * pad, GstBuffer * buf)
gst_pad_push_event (srcpad->pad, event);
GST_BUFFER_TIMESTAMP (outbuf) = 0;
} else {
GST_BUFFER_TIMESTAMP (outbuf) = -1;
GST_BUFFER_TIMESTAMP (outbuf) = GST_BUFFER_TIMESTAMP (buf);
}
GST_DEBUG_OBJECT (multipart,
"pushing buffer with timestamp %" GST_TIME_FORMAT,
GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (outbuf)));
res = gst_pad_push (srcpad->pad, outbuf);
if (res != GST_FLOW_OK)
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment