Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] [PATCH] Entire TS for Skystar2 (pid=8192)
Hi,
with this little patch I can record a full TS on a Skystar2 card
by asking for pid 8192. It works for me.
(please note that szap has a set_demux() normally rejecting pids >=8191)
The patch applies to linuxtv-dvb-1.0.0.
Bye.
--- skystar2.c_ORIG 2003-07-09 16:53:12.000000000 +0200
+++ skystar2.c 2003-11-22 23:00:48.000000000 +0100
@@ -1547,7 +1547,7 @@
dprintk("%s: pid=%d\n", __FUNCTION__, pid);
- if ( pid > 0x1FFE ) return -1;
+ if ( pid > 0x1FFE && pid != 0x2000 ) return -1;
if ( CheckPID(adapter, pid) == 1 ) return 1;
@@ -1557,6 +1557,8 @@
{
adapter->pids[i] = pid;
+ if ( pid == 0x2000 ) OpenWholeBandwidth(adapter);
+
if ( AddHwPID(adapter, pid) < 0 ) OpenWholeBandwidth(adapter);
return 1;
@@ -2036,7 +2038,8 @@
( packet_header.transport_error_indicator == 0 ) &&
( packet_header.pid != 0x1FFF ) )
{
- if ( CheckPID(adapter, packet_header.pid & 0x0000FFFF) != 0 )
+ if ( CheckPID(adapter, packet_header.pid & 0x0000FFFF) != 0
+ || CheckPID(adapter, 0x2000) != 0)
{
dvb_dmx_swfilter_packets(dvbdmx, pbDMABufCurPos, dwDefaultPacketSize/188);
} else {
--
Roberto Ragusa r.ragusa at libero.it
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index