[media] go7007: standardize MPEG handling support
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 11 Mar 2013 08:58:55 +0000 (05:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 24 Mar 2013 15:48:19 +0000 (12:48 -0300)
commit35d2d76dbeb6075dc629f3592bae304db81579ce
tree3e4dc37fa1adda718cb21bd4c13e226c3dad155c
parent50deb74905d1e123878f50ed31f829916b936ded
[media] go7007: standardize MPEG handling support

The go7007 produces elementary streams, so we shouldn't use the STREAM_TYPE
control, since that is for multiplexed streams.
Instead use V4L2_PIX_FMT_MPEG1/2/4.
Initially set up all the values for MPEG-2 dvd-mode, and select the dvd_mode
field if those values match that setup precisely.
Clean up lots of obsolete code relating to the custom ioctls for the MPEG
support.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/go7007/go7007-driver.c
drivers/staging/media/go7007/go7007-fw.c
drivers/staging/media/go7007/go7007-priv.h
drivers/staging/media/go7007/go7007-v4l2.c
drivers/staging/media/go7007/go7007.h