Commit f7a8c1f0 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Mauro Carvalho Chehab

V4L/DVB (12795): tm6000: Fix buffering size

At the first time an application were called, resolutions were wrong.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 88db9265
...@@ -1102,6 +1102,10 @@ static int vidioc_s_std (struct file *file, void *priv, v4l2_std_id *norm) ...@@ -1102,6 +1102,10 @@ static int vidioc_s_std (struct file *file, void *priv, v4l2_std_id *norm)
struct tm6000_core *dev = fh->dev; struct tm6000_core *dev = fh->dev;
rc=tm6000_set_standard (dev, norm); rc=tm6000_set_standard (dev, norm);
fh->width = dev->width;
fh->height = dev->height;
if (rc<0) if (rc<0)
return rc; return rc;
......
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