summaryrefslogtreecommitdiff
path: root/test/shared-fd.cpp
diff options
context:
space:
mode:
authorJaslo Ziska <jaslo@ziska.de>2023-11-30 16:43:08 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-12-07 01:26:36 +0200
commit9d4da0ca9834c5ecbd8cd1bf10aef3cf3c4716e7 (patch)
tree5a221ec27e224af723f271c68e0af8b029919bf2 /test/shared-fd.cpp
parentd61104fa7b50d6421109d302ead08c0af62c73df (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 'test/shared-fd.cpp')
0 files changed, 0 insertions, 0 deletions