提交 71e7cfae 编写于 作者: M Mauro Carvalho Chehab 提交者: Mauro Carvalho Chehab

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

At the first time an application were called, resolutions were wrong.
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 4475c044
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册