From 21a6347b39d512efb90bac2ab4309d3a946407af Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Wed, 23 Jun 2010 10:38:54 +0200 Subject: [PATCH] h264parse: obtain correct upstream timestamp ... for optional downstream use. --- gst/h264parse/gsth264parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/h264parse/gsth264parse.c b/gst/h264parse/gsth264parse.c index d2e539029a..e1d63aaa5b 100644 --- a/gst/h264parse/gsth264parse.c +++ b/gst/h264parse/gsth264parse.c @@ -2076,8 +2076,8 @@ gst_h264_parse_chain_forward (GstH264Parse * h264parse, gboolean discont, gboolean start; guint8 *next_data; - outbuf = gst_adapter_take_buffer (h264parse->adapter, next_nalu_pos); outbuf_dts = gst_adapter_prev_timestamp (h264parse->adapter, NULL); /* Better value for the second parameter? */ + outbuf = gst_adapter_take_buffer (h264parse->adapter, next_nalu_pos); /* packetized will have no next data, which serves fine here */ next_data = (guint8 *) gst_adapter_peek (h264parse->adapter, 6);