]> git.baikalelectronics.ru Git - kernel.git/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)
commitdbd05919fc3fbf9496f58b9d2736805388a9939d
treed3c6f67a413db292e0a9bf93a1e2efcb25dfc491
parent0ccbd16296b74c4913941e16ef5bf8c2c2ed081e
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