]> 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)
commit4d2a01c76d97995f37930cb133f3949d5b34d751
tree17062059ca8380a79dbb69cbb1dd448eaa091573
parent15987c3d64bfc5a7013c6ed9893b1cc521023867
[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