mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
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.
This commit is contained in:
parent
b22993e9b2
commit
dbf28d28e7
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue