From 88f5ef13bf5e8203b88b21fd2392b639a0161665 Mon Sep 17 00:00:00 2001 From: Armando Taffarel Neto Date: Thu, 15 Nov 2007 08:28:29 +0000 Subject: gst/librfb/gstrfbsrc.c: Set the timestamp for the output buffers Original commit message from CVS: patch by: Armando Taffarel Neto * gst/librfb/gstrfbsrc.c: Set the timestamp for the output buffers --- gst/librfb/gstrfbsrc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gst') diff --git a/gst/librfb/gstrfbsrc.c b/gst/librfb/gstrfbsrc.c index 37757156..0f4af6c1 100644 --- a/gst/librfb/gstrfbsrc.c +++ b/gst/librfb/gstrfbsrc.c @@ -401,6 +401,9 @@ gst_rfb_src_create (GstPushSrc * psrc, GstBuffer ** outbuf) memcpy (GST_BUFFER_DATA (*outbuf), decoder->frame, newsize); GST_BUFFER_SIZE (*outbuf) = newsize; + GST_BUFFER_TIMESTAMP (*outbuf) = + gst_clock_get_time (GST_ELEMENT_CLOCK (src)) - + GST_ELEMENT_CAST (src)->base_time; return GST_FLOW_OK; } -- cgit v1.2.1