Mailing List archive

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

[linux-dvb] Re: [PATCH?] proposed rewrite of skystar2 filters



On Wed, 03 Dec 2003 10:22:31 +0100
Niklas Peinecke <peinecke@gdv.uni-hannover.de> wrote:

> This is necessary to avoid the situation that you can close 
> down the ts (opened by overflow) by removing a 0x2000 that was not added.

I'd like to know exactly how the driver cooperates with dvb-core.

For example:

- is it possible that we're asked to remove pid 0x2000 when it was
never added? I'd expect that dvb-core should never do such a request
to us

- is it possible that dvb-core asks the same pid twice? I'd expect not

- does dvb-core maintain a list of active pids? (yes, we said that
we can open whole bandwidth when out of hw filters)

- does dvb-core maintain ref counting for pids? if yes, we don't have
to do it, it will only ask when ref count is zero

- is dvb-core able to send the same pid to two applications?

I've not found a clear description of the behaviour of dvb-core
anywhere, not even in the API docs.
I coud study the code to find out, but it looks like there is support
for some extra stuff that it's not present on Skystar2 (MPEG decoder,
CA descrambler...), so it's not easy to understand everything exactly.

BTW, another question:

If I want to record a video/audio stream I set pids and read from dvr0.
But if I want to record another v/a stream in the same time, I can't
open dvr0 again (correct me if I'm wrong).
The only solution is to ask 4 pids from the beginning and demultiplex
in user-space.
Am I right about this limitation?
Shouldn't dvb-core (as an abstraction layer) support things like that?
Is there any /dev/dvb/adapter0/dvr1? "szap -h' is not encouraging.

I have the sensation that dvb-core was born just to direct the a/v
pids to the hardware mpeg decoder and the rest came as a second
feature.

Some one cares to clarify these issues or point to docs?

Bye.
-- 
   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