baseparse: really provide upstream ts to subclass

This commit is contained in:
Mark Nauwelaerts 2012-02-14 19:33:33 +01:00
parent fed0284d3c
commit 2363490ef5

View file

@ -2571,6 +2571,7 @@ gst_base_parse_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
gst_buffer_take_memory (tmpbuf, -1,
gst_memory_new_wrapped (GST_MEMORY_FLAG_READONLY |
GST_MEMORY_FLAG_NO_SHARE, (gpointer) data, NULL, av, 0, av));
GST_BUFFER_TIMESTAMP (tmpbuf) = timestamp;
/* keep the adapter mapped, so keep track of what has to be flushed */
ret = gst_base_parse_handle_buffer (parse, tmpbuf, &skip, &flush);