diff options
author | Johannes Kirchmair <johannes.kirchmair@skidata.com> | 2024-11-04 12:36:53 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-11-04 15:35:04 +0000 |
commit | f028b09b7becf4e7847112b2e8044e5e30e01c58 (patch) | |
tree | 080f1ab9858b0c64e242c57061f98e67383c42b5 /src/apps/cam/capture_script.cpp | |
parent | 58598f4dde9a3d4236ed52881da9b155443cbc50 (diff) |
gstreamer: Implement caps negotiation for video/x-bayer
The parsing of video/x-bayer sources from string makes it possible to
use cameras providing e.g SGRBG8 streams via gst-launch.
Like:
gst-launch-1.0 libcamerasrc camera-name=<cam> ! video/x-bayer,format=grbg
Without this change the gstreamer plugin complains about "Unsupported
media type: video/x-bayer".
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Johannes Kirchmair <johannes.kirchmair@skidata.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/apps/cam/capture_script.cpp')
0 files changed, 0 insertions, 0 deletions