summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-01-04 19:46:53 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-06 10:48:00 -0200
commit31e582e9263277173e097e5ef8ce8fdfd2e9bc45 (patch)
tree31f4a4b0f95e3dca7dc94defa76450f7bb4bfe0f /include/media
parent5bbe18d74f0c163090cd16bd25e252e8806a6c75 (diff)
downloadlinux-3.10-31e582e9263277173e097e5ef8ce8fdfd2e9bc45.tar.gz
linux-3.10-31e582e9263277173e097e5ef8ce8fdfd2e9bc45.tar.bz2
linux-3.10-31e582e9263277173e097e5ef8ce8fdfd2e9bc45.zip
[media] pwc: Properly fill all fields on try_fmt
Before this patch the resulting values from a try_fmt were different then those from a s_fmt with the same parameters. try_fmt simply did not touch / fill some values like bytesperline at all. This patch also corrects bytesperline to the proper value for a planar format such as the YUV420P format the pwc driver produces, which is the bytesperline value for the biggest plane, rather then those of all planes added together. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions