diff options
author | Hans de Goede | 2012-01-04 23:46:53 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2012-01-06 13:48:00 +0100 |
commit | 31e582e9263277173e097e5ef8ce8fdfd2e9bc45 (patch) | |
tree | 31f4a4b0f95e3dca7dc94defa76450f7bb4bfe0f /fs/nls | |
parent | [media] pwc: Get rid of compression module parameter (diff) | |
download | kernel-qcow2-linux-31e582e9263277173e097e5ef8ce8fdfd2e9bc45.tar.gz kernel-qcow2-linux-31e582e9263277173e097e5ef8ce8fdfd2e9bc45.tar.xz kernel-qcow2-linux-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 'fs/nls')
0 files changed, 0 insertions, 0 deletions