[v1,0/1] Add sensor config support to gstreamer
mbox series

Message ID 20260323092237.3103-1-david.plowman@raspberrypi.com
Headers show
Series
  • Add sensor config support to gstreamer
Related show

Message

David Plowman March 23, 2026, 9:02 a.m. UTC
Hi everyone

OK, a bit weird me submitting a gstreamer patch, but we have users who
want to drive the camera system with gstreamer, so it would be great
to make it work better!

In this case, the problem is that users can't force the choice of a
particular sensor mode. Instead, the automatic mode selection, based
largely on output resolution, can easily give you the wrong thing (for
example, a cropped mode when a full FoV mode was wanted).

This patch exposes the "sensor configuration" in the camera config,
letting you specify dimensions and bit depth, the only fields that are
actually used.

I've never submitted a gstreamer patch before, so do let me know if
I've done anything wrong!

Thanks
David

David Plowman (1):
  gstreamer: Add sensor-config property

 src/gstreamer/gstlibcamerasrc.cpp | 38 +++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)