diff options
author | Johannes Stezenbach <js@linuxtv.org> | 2005-05-17 00:54:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-17 10:59:24 -0400 |
commit | 7635acd2d927578495c692056d0e7dabd06afc89 (patch) | |
tree | 308c33b31f2c749f12c4ddc9a44211a816e3125b /drivers/media/dvb/b2c2/flexcop-usb.h | |
parent | 2add87a95068d6457d4e5824d0417d39007665a4 (diff) |
[PATCH] dvb: flexcop: fix USB transfer handling
- driver receives many null TS packets (pid=0x1fff). They occupy the
limited USB bandwidth and this leads to loss of video packets. Enabling the
null packet filter fixes this.
- packets that flexcop sends to USB have a 2 byte header that has to be
removed.
- sometimes a TS packet is split between different urbs. These parts have
to be combined in a temporary buffer.
Signed-off-by: Vadim Catana <skystar@moldova.cc>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/b2c2/flexcop-usb.h')
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-usb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/b2c2/flexcop-usb.h b/drivers/media/dvb/b2c2/flexcop-usb.h index bfcec25ff2d9..630e647a2caa 100644 --- a/drivers/media/dvb/b2c2/flexcop-usb.h +++ b/drivers/media/dvb/b2c2/flexcop-usb.h | |||
@@ -21,6 +21,9 @@ struct flexcop_usb { | |||
21 | struct urb *iso_urb[B2C2_USB_NUM_ISO_URB]; | 21 | struct urb *iso_urb[B2C2_USB_NUM_ISO_URB]; |
22 | 22 | ||
23 | struct flexcop_device *fc_dev; | 23 | struct flexcop_device *fc_dev; |
24 | |||
25 | u8 tmp_buffer[1023+190]; | ||
26 | int tmp_buffer_length; | ||
24 | }; | 27 | }; |
25 | 28 | ||
26 | #if 0 | 29 | #if 0 |