Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set correct output buffer type in vidioc_dqbuf #50

Merged
merged 1 commit into from
Dec 10, 2013

Conversation

amcinnes
Copy link
Contributor

When userspace dequeues an output buffer from the driver, that buffer should
have type V4L2_BUF_TYPE_VIDEO_OUTPUT. Previously we were providing the type
from our internal buffer which is V4L2_BUF_TYPE_VIDEO_CAPTURE.

(I am trying to send video to the device using v4l2-ctl; it assumes the buffer returned from DQBUF has the correct type, and enqueues it again with QBUF without setting the type, so without this change it doesn't work.)

When userspace dequeues an output buffer from the driver, that buffer should
have type V4L2_BUF_TYPE_VIDEO_OUTPUT. Previously we were providing the type
from our internal buffer which is V4L2_BUF_TYPE_VIDEO_CAPTURE.
@umlaeute umlaeute merged commit 523adfd into umlaeute:master Dec 10, 2013
@karllacr karllacr mentioned this pull request Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants