Hi

Last week we started the discussion about having a MediaController aware 
LinuxDVB demux and I would like to proceed on this discussion.
Then, the discussion rapidly moved to having the requirement for dynamic pads 
in order to be able to add / remove then in the same way as demux filters are 
created for each open of the demux device node.

I am not really sure dynamic pads is really a MUST for MC aware demux device. 
The demux entity could work with a predefined number of output pads, determined 
by the vendor, depending on the demux capacity of the device.
Of course it is probably better to have only pads when needed but it requires 
quite a lot of change to the overall MC framework and such modification could 
be done afterward, when the MC support for LinuxDVB is much better understood.

During last workshop, I think we agreed that a pad would represent a demux 
filter. 
My personal idea would be to have filters created via the demux device node and 
filters accessible via MC pads totally independent. 
Meaning that, just as current demux, it is possible to open the demux device 
node, create filter, set PIDs etc. Those filters have totally no relation with 
MC pads, filters created via the demux device node are just not accessible via 
MC pads.
As far as demux MC pads are concerned, it would be possible to link a pad to 
another entity pad (probably decoder or LinuxDVB CA) and thus create a new 
filter in the demux. By setting the demux MC pad format (not sure format is the 
proper term here), it would be possible to set for example the PID of a filter.
Internally of course all filters (MC filters and demux device node filters) are 
all together but they are only accessible via either the demux device node or 
the MC pad.

What are your thoughts about that ?

Regards,

Alain
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to