[media] bttv: fix try_fmt_vid_overlay and setup initial overlay size
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 7 Feb 2013 10:56:11 +0000 (07:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 17:24:28 +0000 (14:24 -0300)
commitc13eb7039f612cc666764d6685a3764f4e6c8821
treebb8e5321cff2604514ff31121547149538bc505f
parent3d4b8035050dbca905ab55ecc0a0de16f9ef11bf
[media] bttv: fix try_fmt_vid_overlay and setup initial overlay size

try_fmt_vid_overlay should map incorrect sizes and fields to valid values.
It also expects that an initial overlay size is defined so g_fmt_vid_overlay
returns valid information.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/bt8xx/bttv-driver.c