]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (10442): cx18: Fixes for enforcing when Encoder Raw VBI params can be set
authorAndy Walls <awalls@radix.net>
Fri, 6 Feb 2009 21:33:43 +0000 (18:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:39 +0000 (12:42 -0300)
commitdcc0ef88209a26719241bcb7741f05f1b9ecc30e
tree2c1f352821c648c42b775b7fff5cf86366a0e2ba
parentc1994084d6ad7d1a411219727fc135a18c40f9c8
V4L/DVB (10442): cx18: Fixes for enforcing when Encoder Raw VBI params can be set

The Encoder will only allow the Raw VBI parameters, along with a number of
other API parameters, to take effect when no analog captures are in
progress.  These parameters must be set before the first analog capture starts,
be it MPEG, VBI, YUV, etc., and cannot be changed until the last one stops.  It
is not obvious to me what capture channel API parameters are shared and which
ones must be set per capture channel, so set them all for every analog
capture channel start up.  This fixes the driver so that VBI capture can be
started up after the MPEG capture is going.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-ioctl.c
drivers/media/video/cx18/cx18-streams.c