Commit 8d6b0e29 authored by Zaheer Abbas Merali's avatar Zaheer Abbas Merali
Browse files

sys/ximage/ximageutil.c: Fix rgb masks when recording in < 24bpp.

Original commit message from CVS:
2006-08-04  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/ximage/ximageutil.c: (ximageutil_xcontext_get):
Fix rgb masks when recording in < 24bpp.
parent 76e8dd7b
2006-08-04 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* sys/ximage/ximageutil.c: (ximageutil_xcontext_get):
Fix rgb masks when recording in < 24bpp.
2006-08-04 Andy Wingo <wingo@pobox.com>
* ext/ladspa/gstsignalprocessor.c (gst_signal_processor_setcaps)
......
......@@ -210,6 +210,10 @@ ximageutil_xcontext_get (GstElement * parent, const gchar * display_name)
xcontext->g_mask_output >>= 8;
xcontext->b_mask_output >>= 8;
}
} else {
xcontext->r_mask_output = xcontext->visual->red_mask;
xcontext->g_mask_output = xcontext->visual->green_mask;
xcontext->b_mask_output = xcontext->visual->blue_mask;
}
return xcontext;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment