summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/librfb/gstrfbsrc.c3
1 files changed, 3 insertions, 0 deletions
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;
}