diff --git a/src/gstreamer/gstlibcamerasrc.cpp b/src/gstreamer/gstlibcamerasrc.cpp index b1a3d0ff8..b29fc4c29 100644 --- a/src/gstreamer/gstlibcamerasrc.cpp +++ b/src/gstreamer/gstlibcamerasrc.cpp @@ -774,7 +774,7 @@ gst_libcamera_src_set_property(GObject *object, guint prop_id, break; // Consti10/rapha dirty case PROP_ROTATION: - image_params->rotation = g_value_set_int(value); + g_value_set_int(value, image_params->rotation); break; case PROP_HFLIP: g_value_set_int(value, image_params->hflip);