Skip to content

Commit

Permalink
Update gstlibcamerasrc.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jan 16, 2024
1 parent 37b4d78 commit 7aa643f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gstreamer/gstlibcamerasrc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ gst_libcamera_src_set_property(GObject *object, guint prop_id,
break;
// Consti10/rapha dirty
case PROP_ROTATION:
g_value_set_int(value, static_cast<int>(image_params->rotation));
g_value_set_int(const_cast<GValue*>(value), image_params->rotation);
break;
case PROP_HFLIP:
g_value_set_int(value, image_params->hflip);
Expand Down

0 comments on commit 7aa643f

Please sign in to comment.