]> asedeno.scripts.mit.edu Git - linux.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)
commite1b2ac4d1e6bb214823c42bb807a6cc5f21aa223
treebea25ec75888d5ebb77ddbd0a7fb75dcbcab31c9
parent5c3b87435b291efb260aec37fdbe397859e550c5
[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