diff options
author | Jaslo Ziska <jaslo@ziska.de> | 2023-11-30 16:43:08 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-12-07 01:26:36 +0200 |
commit | 9d4da0ca9834c5ecbd8cd1bf10aef3cf3c4716e7 (patch) | |
tree | 5a221ec27e224af723f271c68e0af8b029919bf2 /Documentation/theme/static | |
parent | d61104fa7b50d6421109d302ead08c0af62c73df (diff) |
gstreamer: Move negotiation logic to separate function
Move the code which negotiates all the source pad caps into a separate
function called gst_libcamera_src_negotiate(). When the negotiation
fails this function will return false and true otherwise.
Use this function instead of doing the negotiation manually in
gst_libcamera_src_task_enter() and remove the now redundant error
handling code accordingly.
Signed-off-by: Jaslo Ziska <jaslo@ziska.de>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Tested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'Documentation/theme/static')
0 files changed, 0 insertions, 0 deletions