diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-01-04 22:46:53 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-06 12:48:00 (GMT) |
commit | 31e582e9263277173e097e5ef8ce8fdfd2e9bc45 (patch) | |
tree | 31f4a4b0f95e3dca7dc94defa76450f7bb4bfe0f /include | |
parent | 5bbe18d74f0c163090cd16bd25e252e8806a6c75 (diff) | |
download | linux-fsl-qoriq-31e582e9263277173e097e5ef8ce8fdfd2e9bc45.tar.xz |
[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')
0 files changed, 0 insertions, 0 deletions