diff options
author | Jan Schmidt <thaytan@noraisin.net> | 2009-01-23 14:02:26 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-01-23 14:33:51 +0000 |
commit | 2014b7f498bbd96d2f7af5e4181127471c05c3f8 (patch) | |
tree | a178dae6ca57275654c365291bfcb5b252300ac3 /gst | |
parent | a094c58eed68ee6095e5445239e4c6a6d1f94c36 (diff) | |
download | gst-plugins-bad-2014b7f498bbd96d2f7af5e4181127471c05c3f8.tar.gz gst-plugins-bad-2014b7f498bbd96d2f7af5e4181127471c05c3f8.tar.bz2 gst-plugins-bad-2014b7f498bbd96d2f7af5e4181127471c05c3f8.zip |
Make RGB masks unsigned in rawvideoparse
Allow the full range of 32 bit masks for RGBA/RGB data by making sure
the mask properties are unsigned.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rawparse/gstvideoparse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/rawparse/gstvideoparse.c b/gst/rawparse/gstvideoparse.c index 3221c0ad..e3b4b780 100644 --- a/gst/rawparse/gstvideoparse.c +++ b/gst/rawparse/gstvideoparse.c @@ -191,19 +191,19 @@ gst_video_parse_class_init (GstVideoParseClass * klass) G_BYTE_ORDER, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, ARG_RED_MASK, g_param_spec_int ("red-mask", "Red mask", - "Red mask of images in raw stream", 0, INT_MAX, + "Red mask of images in raw stream", INT_MIN, INT_MAX, GST_VIDEO_BYTE1_MASK_24_INT, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, ARG_GREEN_MASK, g_param_spec_int ("green-mask", "Green mask", - "Green mask of images in raw stream", 0, INT_MAX, + "Green mask of images in raw stream", INT_MIN, INT_MAX, GST_VIDEO_BYTE2_MASK_24_INT, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, ARG_BLUE_MASK, g_param_spec_int ("blue-mask", "Blue mask", - "Blue mask of images in raw stream", 0, INT_MAX, + "Blue mask of images in raw stream", INT_MIN, INT_MAX, GST_VIDEO_BYTE3_MASK_24_INT, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, ARG_ALPHA_MASK, g_param_spec_int ("alpha-mask", "Alpha mask", - "Alpha mask of images in raw stream", 0, INT_MAX, 0, + "Alpha mask of images in raw stream", INT_MIN, INT_MAX, 0, G_PARAM_READWRITE)); } |