Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33282
b: refs/heads/master
c: 8a016dc
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Aug 8, 2006
1 parent 5318a15 commit 6e36906
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 43c560fa59ef2688d891f6431e972b7763b73a00
refs/heads/master: 8a016dcc8383bedc731bca9fdedae77ff52a6ad7
4 changes: 4 additions & 0 deletions trunk/drivers/media/video/v4l1-compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,10 @@ v4l_compat_translate_ioctl(struct inode *inode,
dprintk("VIDIOCGPICT / VIDIOC_G_FMT: %d\n",err);
break;
}

pict->depth = ((fmt2->fmt.pix.bytesperline<<3)
+ (fmt2->fmt.pix.width-1) )
/fmt2->fmt.pix.width;
pict->palette = pixelformat_to_palette(
fmt2->fmt.pix.pixelformat);
break;
Expand Down

0 comments on commit 6e36906

Please sign in to comment.