Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jan 16, 2024
1 parent c1dfe89 commit 6cd59da
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/gstreamer/gstlibcamerasrc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -777,43 +777,43 @@ gst_libcamera_src_set_property(GObject *object, guint prop_id,
image_params->rotation = g_value_set_int(value);
break;
case PROP_HFLIP:
g_value_set_int(value, image_params->hflip);
image_params->hflip = g_value_set_int(value);
break;
case PROP_VFLIP:
g_value_set_int(value, image_params->vflip);
image_params->vflip = g_value_set_int(value);
break;
/*case PROP_ROI:
g_value_set_int(value, image_params->roi);
break;*/
case PROP_SHARPNESS:
g_value_set_float(value, image_params->sharpness);
image_params->sharpness = g_value_set_float(value);
break;
case PROP_CONTRAST:
g_value_set_float(value, image_params->contrast);
image_params->contrast = g_value_set_float(value);
break;
case PROP_BRIGHTNESS:
g_value_set_float(value, image_params->brightness);
image_params->brightness = g_value_set_float(value);
break;
case PROP_SATURATION:
g_value_set_float(value, image_params->saturation);
image_params->saturation = g_value_set_float(value);
break;
case PROP_EV:
g_value_set_float(value, image_params->ev);
image_params->ev = g_value_set_float(value);
break;
case PROP_EXPOSURE:
g_value_set_int(value, image_params->exposure_index);
image_params->exposure_index = g_value_set_int(value);
break;
case PROP_AWB:
g_value_set_int(value, image_params->awb_index);
image_params->awb_index = g_value_set_int(value);
break;
case PROP_DENOISE:
g_value_set_int(value, image_params->denoise_index);
image_params->denoise_index = g_value_set_int(value);
break;
case PROP_SHUTTER_MICROSECONDS:
g_value_set_int(value, image_params->shutter_microseconds);
image_params->shutter_microseconds = g_value_set_int(value);
break;
case PROP_METERING:
g_value_set_int(mutableValue, image_params->metering_index);
image_params->metering_index = g_value_set_int(mutableValue);
break;
// Dirty end
case PROP_AUTO_FOCUS_MODE:
Expand Down

0 comments on commit 6cd59da

Please sign in to comment.