From 7b8578af9f13465c8fec1fa973b78e8f431b88c1 Mon Sep 17 00:00:00 2001 From: Zaheer Abbas Merali Date: Fri, 31 Mar 2006 15:21:35 +0000 Subject: sys/ximagesrc/: Fix ximagesrc so a) the cursor doesnt trail and b) there are no yellow rectangles with the cursor Original commit message from CVS: 2006-03-31 Zaheer Abbas Merali * sys/ximagesrc/ximagesrc.c: (composite_pixel), (gst_ximagesrc_ximage_get), (gst_ximagesrc_set_property), (gst_ximagesrc_get_caps), (gst_ximagesrc_class_init): * sys/ximagesrc/ximagesrc.h: * sys/ximagesrc/ximageutil.c: (ximageutil_xcontext_get): * sys/ximagesrc/ximageutil.h: Fix ximagesrc so a) the cursor doesnt trail and b) there are no yellow rectangles with the cursor --- sys/ximagesrc/ximageutil.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/ximagesrc/ximageutil.h') diff --git a/sys/ximagesrc/ximageutil.h b/sys/ximagesrc/ximageutil.h index a4db7610..cc9d3dbf 100644 --- a/sys/ximagesrc/ximageutil.h +++ b/sys/ximagesrc/ximageutil.h @@ -89,6 +89,12 @@ struct _GstXContext { gint width, height; gint widthmm, heightmm; + + /* these are the output masks + * for buffers from ximagesrc + * and are in big endian */ + guint32 r_mask_output, g_mask_output, b_mask_output; + GValue *par; /* calculated pixel aspect ratio */ gboolean use_xshm; -- cgit v1.2.1