Commit ead13033 authored by Prabhakar Lad's avatar Prabhakar Lad Committed by Mauro Carvalho Chehab

[media] media: videobuf2-core.h: add a helper to get status of start_streaming()

this patch adds a helper to get the status if start_streaming()
was called successfully.
Signed-off-by: default avatarLad, Prabhakar <>
Cc: Pawel Osciak <>
Cc: Marek Szyprowski <>
Cc: Kyungmin Park <>
Signed-off-by: default avatarHans Verkuil <>
Signed-off-by: default avatarMauro Carvalho Chehab <>
parent 3b8a269b
......@@ -590,6 +590,15 @@ vb2_plane_size(struct vb2_buffer *vb, unsigned int plane_no)
return 0;
* vb2_start_streaming_called() - return streaming status of driver
* @q: videobuf queue
static inline bool vb2_start_streaming_called(struct vb2_queue *q)
return q->start_streaming_called;
* The following functions are not part of the vb2 core API, but are simple
* helper functions that you can use in your struct v4l2_file_operations,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment