Skip to content

Commit

Permalink
V4L/DVB (12795): tm6000: Fix buffering size
Browse files Browse the repository at this point in the history
At the first time an application were called, resolutions were wrong.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab authored and Mauro Carvalho Chehab committed May 18, 2010
1 parent 4475c04 commit 71e7cfa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/staging/tm6000/tm6000-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 71e7cfa

Please sign in to comment.