Commit d9daec54 authored by Ezequiel Garcia's avatar Ezequiel Garcia
Browse files

media: videobuf2: Print a debug message if vb2_find_timestamp fails


Suggested-by: Nicolas Dufresne's avatarNicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Ezequiel Garcia's avatarEzequiel Garcia <ezequiel@collabora.com>
parent 3799c797
Pipeline #7488 passed with stage
in 21 minutes and 16 seconds
......@@ -606,6 +606,8 @@ int vb2_find_timestamp(const struct vb2_queue *q, u64 timestamp,
if (q->bufs[i]->copied_timestamp &&
q->bufs[i]->timestamp == timestamp)
return i;
dprintk(1, "buffer not found, timestamp %llu, start index %d\n",
timestamp, start_idx);
return -1;
}
EXPORT_SYMBOL_GPL(vb2_find_timestamp);
......
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