rpicamsrc: Changed awb-gain-blue use the correct enum PROP_AWB_GAIN_BLUE and not...
authoribauer <iljabauer@gmail.com>
Thu, 8 Oct 2015 08:32:32 +0000 (10:32 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 10 Jul 2020 15:45:16 +0000 (16:45 +0100)
sys/rpicamsrc/gstrpicamsrc.c

index 8272188..1afd6e0 100644 (file)
@@ -345,7 +345,7 @@ gst_rpi_cam_src_class_init (GstRpiCamSrcClass * klass)
       g_param_spec_float ("awb-gain-red", "AWB Red Gain",
           "Manual AWB Gain for red channel when awb-mode=off", 0, 8.0, 0,
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
-  g_object_class_install_property (gobject_class, PROP_AWB_GAIN_RED,
+  g_object_class_install_property (gobject_class, PROP_AWB_GAIN_BLUE,
       g_param_spec_float ("awb-gain-blue", "AWB Blue Gain",
           "Manual AWB Gain for blue channel when awb-mode=off", 0, 8.0, 0,
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));