]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit43ebbc4e665f32b56b21c6c0a404fe27e91f6c3f
tree17062059ca8380a79dbb69cbb1dd448eaa091573
parentb61a2c360f8b69268bc9da1f5fe8bcdf6a74b9fe
[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