Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] DMX_SET_FILTER problem on 2.6.3



The problem it's here:

pid =0x14
tid= 0x73
void SetFiltSection (int fd, unsigned short pid, unsigned char tid)
{
        struct dmx_sct_filter_params sctFilterParams;
        memset(&sctFilterParams, 0, sizeof(sctFilterParams));
        sctFilterParams.pid     = pid;
        sctFilterParams.timeout = 60000;
        sctFilterParams.flags   = DMX_IMMEDIATE_START;

    sctFilterParams.filter.filter[0] = tid;
    sctFilterParams.filter.mask[0] = 0xFF;
        
        if (ioctl(fd, DMX_SET_FILTER, &sctFilterParams) < 0)  
    {
                perror("DMX SET FILTER:");
        exit (0);
    }
}

It'd retrieve UTC time but it fails on 2.6.3 (don't read anything on 
/dev/.../demux0 and work on novembre dvb-drivers.

I tried to debug module code and to see the diffs from november, but I wasn't 
able to spot anything suspicious. 

Bye Uberto



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index