Commit 2ec34756 authored by Dmitri Belimov's avatar Dmitri Belimov Committed by Mauro Carvalho Chehab

V4L/DVB (11734): remove hw reset of MPEG encoder when lost/found seq.

When we capture signal from composite input offen lost and found syncro
sequence. In this case the MPEG coder hardware reset after each
lost/found event. The image has a lot of artefactes. This patch remove
hardware reset of MPEG encoder.

This is patch from our customer. I checked this.

With my best regards, Dmitry.
Signed-off-by: default avatarAlexey Osipov <lion-simba@pridelands.ru>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 82aa98fd
...@@ -491,11 +491,8 @@ static void empress_signal_update(struct work_struct *work) ...@@ -491,11 +491,8 @@ static void empress_signal_update(struct work_struct *work)
if (dev->nosignal) { if (dev->nosignal) {
dprintk("no video signal\n"); dprintk("no video signal\n");
ts_reset_encoder(dev);
} else { } else {
dprintk("video signal acquired\n"); dprintk("video signal acquired\n");
if (atomic_read(&dev->empress_users))
ts_init_encoder(dev);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment