mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 15:49:42 -04:00
V4L/DVB (12795): tm6000: Fix buffering size
At the first time an application were called, resolutions were wrong. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
4475c04443
commit
71e7cfae31
@@ -1102,6 +1102,10 @@ static int vidioc_s_std (struct file *file, void *priv, v4l2_std_id *norm)
|
||||
struct tm6000_core *dev = fh->dev;
|
||||
|
||||
rc=tm6000_set_standard (dev, norm);
|
||||
|
||||
fh->width = dev->width;
|
||||
fh->height = dev->height;
|
||||
|
||||
if (rc<0)
|
||||
return rc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user