From d1d1348228d559999fc8ec48596fb699ab3563c0 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Mon, 27 Jan 2020 17:46:22 -0500 Subject: gst: libcamerasrc: Implement initial streaming With this patch, the element is now able to push buffers to the next element in the graph. The buffers are currently missing any metadata like timestamp, sequence number. This will be added in the next commit. Signed-off-by: Nicolas Dufresne Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/gstreamer/gstlibcamerapad.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gstreamer/gstlibcamerapad.h') diff --git a/src/gstreamer/gstlibcamerapad.h b/src/gstreamer/gstlibcamerapad.h index 2e9ec202..9d431297 100644 --- a/src/gstreamer/gstlibcamerapad.h +++ b/src/gstreamer/gstlibcamerapad.h @@ -30,4 +30,6 @@ void gst_libcamera_pad_queue_buffer(GstPad *pad, GstBuffer *buffer); GstFlowReturn gst_libcamera_pad_push_pending(GstPad *pad); +bool gst_libcamera_pad_has_pending(GstPad *pad); + #endif /* __GST_LIBCAMERA_PAD_H__ */ -- cgit v1.2.1