From 621a4e4792bbc0d5b3a338024a3ce6c4053177f3 Mon Sep 17 00:00:00 2001 From: Thijs Vermeir Date: Thu, 15 Nov 2007 15:32:47 +0000 Subject: gst/librfb/gstrfbsrc.c: don't forget to handle the offset's Original commit message from CVS: * gst/librfb/gstrfbsrc.c: don't forget to handle the offset's * gst/librfb/rfbdecoder.c: * gst/librfb/rfbdecoder.h: precalculate some many used values --- gst/librfb/rfbdecoder.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gst/librfb/rfbdecoder.h') diff --git a/gst/librfb/rfbdecoder.h b/gst/librfb/rfbdecoder.h index 8ec94bd2..dca8d192 100644 --- a/gst/librfb/rfbdecoder.h +++ b/gst/librfb/rfbdecoder.h @@ -69,6 +69,10 @@ struct _RfbDecoder guint rect_height; gint n_rects; + + /* some many used values */ + guint bytespp; + guint line_size; }; #if 0 -- cgit v1.2.1