Mailing List archive

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

[linux-dvb] Re: Kernel demux API



>On Tue, Sep 03, 2002 at 04:50:56PM +0100, Chris Newell wrote:
>> I need to create a Section Filter which passes filtered sections to my code
>> via a callback as they are received (the DVB Demux API doesn't look ideal
>> for this).
>> 
>> Does anyone have any sample code showing how to use the Kernel Demux API?

Johannes,

At 19:30 03/09/2002 +0200, you wrote:
>If you want callbacks, you can either use a thread dedicated
>to reading from the demux device, or open the device with
>O_NONBLOCK and wait for data with poll() or select() in an
>event loop.

I can see that this would be possible but it doesn't feel very efficient.
Is using the Kernel Demux API very difficult?

Chris



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



Home | Main Index | Thread Index