]> git.baikalelectronics.ru Git - kernel.git/commit
[media] siano: Only feed DVB data when there's a feed
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 15 Mar 2013 10:22:08 +0000 (07:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 10:52:05 +0000 (07:52 -0300)
commit065e8fc2d1c2d48a172a4875b930324f89666fd9
treebea25ec75888d5ebb77ddbd0a7fb75dcbcab31c9
parent3f71f26b597099a226480eaaa006c802a1d52872
[media] siano: Only feed DVB data when there's a feed

Right now, the driver sends DVB data even before tunning.
It was noticed that this may lead into some mistakes at DVB
decode, as the PIDs from wrong channels may be associated with
another frequency, as they may already be inside the PID buffers.
So, prevent it by not feeding DVB demux with data while there's no
feed or while the device is not tuned.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/siano/smsdvb-main.c
drivers/media/common/siano/smsdvb.h