baseparse: really provide upstream ts to subclass
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Tue, 14 Feb 2012 18:33:33 +0000 (19:33 +0100)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Tue, 14 Feb 2012 18:33:33 +0000 (19:33 +0100)
libs/gst/base/gstbaseparse.c

index fd37f66..fa3c849 100644 (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);