Mailing List archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[vdr] Re: cam module
To
:
vdr@linuxtv.org
Subject
:
[vdr] Re: cam module
From
:
tarass@club-internet.fr
Date: Sat, 06 Dec 2003 17:37:30 +0100
Content-transfer-encoding: 8bit
Content-type: text/plain; charset=ISO-8859-1; format=flowed
In-reply-to: <
3FCF6B3C.8030300@free.fr
>
List-help: <
mailto:ecartis@linuxtv.org?Subject=help
>
List-id: vdr <vdr.mail.convergence2.de>
List-software: Ecartis version 1.0.0
List-unsubscribe: <
https://mail.convergence2.de/cgi-bin/listen.cgi
>
References: <
3FCF2CFD.3090706@nicolas.educnat
> <
3FCF3D9C.8060801@nicolas.educnat
> <
3FCF4FC0.9040803@nicolas.educnat
> <
3FCF6B3C.8030300@free.fr
>
Reply-to:
vdr@linuxtv.org
Sender:
vdr-bounce@linuxtv.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
Le 12/04/2003 06:13 PM, Laurent Farcy a joliment écrit :
My 2 cents. If you succeed, please tell us.
I do ! ;-)
DVB from cvs and vdr 1.2.6
I apply the following patch : patch -p1 < patch.vdr
###########################################################
--- vdr-1.2.2/ci.c 2003-08-02 12:00:01.000000000 +0200
+++ vdr-1.2.2-mod/ci.c 2003-09-14 15:16:56.000000000 +0200
@@ -1253,10 +1253,10 @@
capmt[length++] = 0x00; // program_info_length L
}
-void cCiCaPmt::AddPid(int Pid)
+void cCiCaPmt::AddPid(int Pid, int StreamType)
{
//XXX buffer overflow check???
- capmt[length++] = 0x00; //XXX stream_type (apparently doesn't matter)
+ capmt[length++] = StreamType; //XXX stream_type (apparently doesn't
matter, except for Aston/SECA)
capmt[length++] = (Pid >> 8) & 0xFF;
capmt[length++] = Pid & 0xFF;
esInfoLengthPos = length;
vdr-1.2.2-mod/ci.h
--- vdr-1.2.2/ci.h 2003-05-25 13:44:47.000000000 +0200
+++ vdr-1.2.2-mod/ci.h 2003-09-14 16:51:40.000000000 +0200
@@ -66,7 +66,7 @@
uint8_t capmt[2048]; ///< XXX is there a specified maximum?
public:
cCiCaPmt(int ProgramNumber);
- void AddPid(int Pid);
+ void AddPid(int Pid, int StreamType);
void AddCaDescriptor(int Length, uint8_t *Data);
};
vdr-1.2.2-mod/dvbdevice.c
--- vdr-1.2.2/dvbdevice.c 2003-05-24 15:23:51.000000000 +0200
+++ vdr-1.2.2-mod/dvbdevice.c 2003-09-14 16:52:25.000000000 +0200
@@ -276,13 +276,13 @@
cCiCaPmt CaPmt(channel.Sid());
CaPmt.AddCaDescriptor(length, buffer);
if (channel.Vpid())
- CaPmt.AddPid(channel.Vpid());
+ CaPmt.AddPid(channel.Vpid(),0x02);
if (channel.Apid1())
- CaPmt.AddPid(channel.Apid1());
+ CaPmt.AddPid(channel.Apid1(),0x04);
if (channel.Apid2())
- CaPmt.AddPid(channel.Apid2());
+ CaPmt.AddPid(channel.Apid2(),0x04);
if (channel.Dpid1())
- CaPmt.AddPid(channel.Dpid1());
+ CaPmt.AddPid(channel.Dpid1(),0x00);
if (ciHandler->SetCaPmt(CaPmt, Slot)) {
tunerStatus = tsCam;
startTime = 0;
#############################################################
There are some complaints, but it's working !!
The fisrt crypted channel need abot 5 seconds to be decoded, the it is quiet simultanous.
No second language, but I read that there is an issue.
Nicolas.
--
Powered .~.
by Linux /V\
------ // \\
solutions for /( )\
smart penguins ^`~'^
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Follow-Ups
:
[vdr] Re: cam module
From:
tarass@club-internet.fr
References
:
[vdr] cam module
From:
tarass@club-internet.fr
[vdr] Re: cam module
From:
tarass@club-internet.fr
[vdr] Re: cam module
From:
tarass@club-internet.fr
[vdr] Re: cam module
From:
Laurent Farcy <laurent.farcy@free.fr>
Prev by Date:
[vdr] Re: vdradmin blocks remotecontrol?
Next by Date:
[vdr] Re: cam module
Previous by thread:
[vdr] Re: cam module
Next by thread:
[vdr] Re: cam module
Index(es):
Date
Thread
Home
|
Main Index
|
Thread Index