Message ID | 20250216072131.654725-2-nerijus.bendziunas@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series |
|
Related | show |
Hi Nerijus, Thank you for the patch, and welcome to libcamera. On Sun, Feb 16, 2025 at 09:21:31AM +0200, Nerijus Bendžiūnas wrote: A commit message would be nice. The explanation you provided in the cover letter would be a good fit: Fix a copy/paste/replace typo. Without this fix, the last element (4th) is always zero. > Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> If you're fine with the updated commit message there's no need to resend, I can update the patch when applying. > --- > src/gstreamer/gstlibcamera-controls.cpp.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/gstreamer/gstlibcamera-controls.cpp.in b/src/gstreamer/gstlibcamera-controls.cpp.in > index ace36b71..d937b19e 100644 > --- a/src/gstreamer/gstlibcamera-controls.cpp.in > +++ b/src/gstreamer/gstlibcamera-controls.cpp.in > @@ -39,7 +39,7 @@ static void value_set_rectangle(GValue *value, const Rectangle &rect) > > GValue height = G_VALUE_INIT; > g_value_init(&height, G_TYPE_INT); > - g_value_set_int(&x, size.height); > + g_value_set_int(&height, size.height); > gst_value_array_append_and_take_value(value, &height); > } >
Hello, I'm fine with your suggestion to reuse the cover later as message. On Sun, Feb 16, 2025 at 7:45 PM Laurent Pinchart < laurent.pinchart@ideasonboard.com> wrote: > Hi Nerijus, > > Thank you for the patch, and welcome to libcamera. > > On Sun, Feb 16, 2025 at 09:21:31AM +0200, Nerijus Bendžiūnas wrote: > > A commit message would be nice. The explanation you provided in the > cover letter would be a good fit: > > Fix a copy/paste/replace typo. Without this fix, the last element (4th) > is always zero. > > > Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com> > > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > If you're fine with the updated commit message there's no need to > resend, I can update the patch when applying. > > > --- > > src/gstreamer/gstlibcamera-controls.cpp.in | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/src/gstreamer/gstlibcamera-controls.cpp.in b/src/gstreamer/ > gstlibcamera-controls.cpp.in > > index ace36b71..d937b19e 100644 > > --- a/src/gstreamer/gstlibcamera-controls.cpp.in > > +++ b/src/gstreamer/gstlibcamera-controls.cpp.in > > @@ -39,7 +39,7 @@ static void value_set_rectangle(GValue *value, const > Rectangle &rect) > > > > GValue height = G_VALUE_INIT; > > g_value_init(&height, G_TYPE_INT); > > - g_value_set_int(&x, size.height); > > + g_value_set_int(&height, size.height); > > gst_value_array_append_and_take_value(value, &height); > > } > > > > -- > Regards, > > Laurent Pinchart >
Quoting Nerijus Bendžiūnas (2025-02-17 16:25:17) > Hello, > > I'm fine with your suggestion to reuse the cover later as message. > > On Sun, Feb 16, 2025 at 7:45 PM Laurent Pinchart < > laurent.pinchart@ideasonboard.com> wrote: > > > Hi Nerijus, > > > > Thank you for the patch, and welcome to libcamera. > > > > On Sun, Feb 16, 2025 at 09:21:31AM +0200, Nerijus Bendžiūnas wrote: > > > > A commit message would be nice. The explanation you provided in the > > cover letter would be a good fit: > > > > Fix a copy/paste/replace typo. Without this fix, the last element (4th) > > is always zero. > > > > > Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com> > > > > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > > > If you're fine with the updated commit message there's no need to > > resend, I can update the patch when applying. If it helps Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> > > > > > --- > > > src/gstreamer/gstlibcamera-controls.cpp.in | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/src/gstreamer/gstlibcamera-controls.cpp.in b/src/gstreamer/ > > gstlibcamera-controls.cpp.in > > > index ace36b71..d937b19e 100644 > > > --- a/src/gstreamer/gstlibcamera-controls.cpp.in > > > +++ b/src/gstreamer/gstlibcamera-controls.cpp.in > > > @@ -39,7 +39,7 @@ static void value_set_rectangle(GValue *value, const > > Rectangle &rect) > > > > > > GValue height = G_VALUE_INIT; > > > g_value_init(&height, G_TYPE_INT); > > > - g_value_set_int(&x, size.height); > > > + g_value_set_int(&height, size.height); > > > gst_value_array_append_and_take_value(value, &height); > > > } > > > > > > > -- > > Regards, > > > > Laurent Pinchart > > > > > -- > Nerijus
diff --git a/src/gstreamer/gstlibcamera-controls.cpp.in b/src/gstreamer/gstlibcamera-controls.cpp.in index ace36b71..d937b19e 100644 --- a/src/gstreamer/gstlibcamera-controls.cpp.in +++ b/src/gstreamer/gstlibcamera-controls.cpp.in @@ -39,7 +39,7 @@ static void value_set_rectangle(GValue *value, const Rectangle &rect) GValue height = G_VALUE_INIT; g_value_init(&height, G_TYPE_INT); - g_value_set_int(&x, size.height); + g_value_set_int(&height, size.height); gst_value_array_append_and_take_value(value, &height); }
Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com> --- src/gstreamer/gstlibcamera-controls.cpp.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.34.1