]> err.no Git - linux-2.6/commit
V4L/DVB (3973): Cx88-blackbird: pause the encoder during frequency change
authorValentin Zagura <puthre@gmail.com>
Mon, 22 May 2006 13:31:59 +0000 (10:31 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 25 Jun 2006 05:00:04 +0000 (02:00 -0300)
commit2544bf2d619d09b564fbdd451fe4b1ba798f9c03
treed3c6f67a413db292e0a9bf93a1e2efcb25dfc491
parent07f640f0ddd72e6158fca7f0694dbaf95cee4d2c
V4L/DVB (3973): Cx88-blackbird: pause the encoder during frequency change

Added code to cx88-blackbird.c to treat the VIDIOC_S_FREQUENCY ioctl
to stop mpeg stream before changing the frequency and restart it after.
It seems that the mpeg stream needs to be paused while changing the
channel frequency, otherwise the mpeg encoder enters into a bad state,
producing artifacts.

Signed-off-by: Valentin Zagura <puthre@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-blackbird.c