[media] cx23885: Configure the MPEG encoder early to avoid jerky video
authorSteven Toth <stoth@kernellabs.com>
Wed, 4 Jan 2012 13:56:14 +0000 (10:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 4 Jan 2012 22:51:18 +0000 (20:51 -0200)
commit9c9c3d078b0dd81a74e5f531aa1efa30add5b419
tree17062059ca8380a79dbb69cbb1dd448eaa091573
parent38e3d7ce41cff58bacebb2bcecf7d386c60b954b
[media] cx23885: Configure the MPEG encoder early to avoid jerky video

Found an odd bug while implementing support for the HVR1850 that
lead to jerky video during the first capture, if the encoder was
not initialized early. I've modied the driver to configure the
encoder early, and this avoids the issue - a reasonable workaround.

Regression tested against the HVR1800 and soon to be added HVR1850

[mchehab@redhat.com: Fix this compilation issue:  drivers/media/video/cx23885/cx23885-417.c:1351:2: error: too few arguments to function ‘cx23885_initialize_codec’]
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-417.c