summaryrefslogtreecommitdiffstats
path: root/gst/librfb/gstrfbsrc.c
diff options
context:
space:
mode:
authorThijs Vermeir <thijsvermeir@gmail.com>2007-09-21 10:27:02 +0000
committerThijs Vermeir <thijsvermeir@gmail.com>2007-09-21 10:27:02 +0000
commitab4038ce2e51ed2eddd3306b77a3e1b560aa5d03 (patch)
treea84e16f6295ca88f6da10cbb90960dae9a02fa03 /gst/librfb/gstrfbsrc.c
parent27230cfead5e704d526b0ac164c35b3471f65d6f (diff)
downloadgst-plugins-bad-ab4038ce2e51ed2eddd3306b77a3e1b560aa5d03.tar.gz
gst-plugins-bad-ab4038ce2e51ed2eddd3306b77a3e1b560aa5d03.tar.bz2
gst-plugins-bad-ab4038ce2e51ed2eddd3306b77a3e1b560aa5d03.zip
gst/librfb/gstrfbsrc.c: Minimum raw encoding is working now
Original commit message from CVS: * gst/librfb/gstrfbsrc.c: Minimum raw encoding is working now * gst/librfb/rfbdecoder.c: fix address while reading from stream
Diffstat (limited to 'gst/librfb/gstrfbsrc.c')
-rw-r--r--gst/librfb/gstrfbsrc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gst/librfb/gstrfbsrc.c b/gst/librfb/gstrfbsrc.c
index fc9a8431..a4323815 100644
--- a/gst/librfb/gstrfbsrc.c
+++ b/gst/librfb/gstrfbsrc.c
@@ -40,10 +40,6 @@ enum
ARG_PASSWORD,
};
-#define RGB332_R(x) ((((x)&0x07) * 0x124)>>3)
-#define RGB332_G(x) ((((x)&0x38) * 0x124)>>6)
-#define RGB332_B(x) ((((x)&0xc0) * 0x149)>>8)
-
GST_DEBUG_CATEGORY_STATIC (rfbsrc_debug);
#define GST_CAT_DEFAULT rfbsrc_debug
@@ -67,7 +63,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
"green_mask = (int) 0x00ff0000, "
"blue_mask = (int) 0xff000000, "
"width = (int) [ 16, 4096 ], "
- "height = (int) [ 16, 4096 ], " "framerate = (fraction) 30/1")
+ "height = (int) [ 16, 4096 ], " "framerate = (fraction) 0/1")
);
static void gst_rfb_src_base_init (gpointer g_class);