Commit d643748c authored by Paul Chitescu's avatar Paul Chitescu Committed by Alexandre Julliard

qcap: Test the correct variable when deciding how to grab V4L frame.

parent cee8e9d8
......@@ -563,7 +563,7 @@ static void Resize(const Capture * capBox, LPBYTE output, const BYTE *input)
static void V4l_GetFrame(Capture * capBox, unsigned char ** pInput)
{
if (capBox->pmap)
if (capBox->mmap)
{
if (xioctl(capBox->fd, VIDIOCSYNC, &capBox->grab_buf[capBox->curframe]) == -1)
WARN("Syncing ioctl failed: %d\n", errno);
......
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