summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-11-24 23:16:04 +0000
committerBenjamin Otte <otte@gnome.org>2003-11-24 23:16:04 +0000
commitfe7d4f55676ce70510ca3b9ff30c2239c5762b39 (patch)
treec44397a21b5c2902dca34af3996ef07f0b896ed0 /ext
parent1ec681f8ac7bc97abb48ef025f03cd63982cb5a3 (diff)
downloadgst-plugins-bad-fe7d4f55676ce70510ca3b9ff30c2239c5762b39.tar.gz
gst-plugins-bad-fe7d4f55676ce70510ca3b9ff30c2239c5762b39.tar.bz2
gst-plugins-bad-fe7d4f55676ce70510ca3b9ff30c2239c5762b39.zip
use GDK_PIXBUF_CONFDIR
Original commit message from CVS: use GDK_PIXBUF_CONFDIR
Diffstat (limited to 'ext')
-rw-r--r--ext/hermes/gstcolorspace.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/hermes/gstcolorspace.c b/ext/hermes/gstcolorspace.c
index de1bd88f..ac63fe4d 100644
--- a/ext/hermes/gstcolorspace.c
+++ b/ext/hermes/gstcolorspace.c
@@ -131,6 +131,9 @@ colorspace_setup_converter (GstColorspace *space, GstCaps *from_caps, GstCaps *t
gst_caps_get_int (from_caps, "red_mask", &space->source.r);
gst_caps_get_int (from_caps, "green_mask", &space->source.g);
gst_caps_get_int (from_caps, "blue_mask", &space->source.b);
+ space->source.r = GINT_TO_BE (space->source.r);
+ space->source.g = GINT_TO_BE (space->source.g);
+ space->source.b = GINT_TO_BE (space->source.b);
space->source.a = 0;
space->srcbpp = space->source.bits = from_bpp;
space->source.indexed = 0;
@@ -144,6 +147,9 @@ colorspace_setup_converter (GstColorspace *space, GstCaps *from_caps, GstCaps *t
gst_caps_get_int (to_caps, "red_mask", &space->dest.r);
gst_caps_get_int (to_caps, "green_mask", &space->dest.g);
gst_caps_get_int (to_caps, "blue_mask", &space->dest.b);
+ space->dest.r = 0x0000FF; //GINT_TO_BE (space->dest.r);
+ space->dest.g = 0x00FF00; //GINT_TO_BE (space->dest.g);
+ space->dest.b = 0xFF0000; //GINT_TO_BE (space->dest.b);
space->dest.a = 0;
space->destbpp = space->dest.bits = to_bpp;
space->dest.indexed = 0;