Mailing List archive

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

[linux-dvb] Re: Linux DVB API 4 Q's



Haber, Thomas wrote:
> Where do you want to transfer the parameters beside the pids.
> You still want to keep the set ?

Well, how do we handle e.g. DVB_DMX_WAIT_FOR_PUSI? Do we need to
set it different for each PID? If so, ADD will have to pass an array of:

struct {
	enum dvb_dmx_filter_type   filter_type;
	uint16_t pid;
	uint32_t flags;
};

OTOH, some other flags and output_format are per fd. We should
keep these in SET. Otherwise we'd have to do consistency checks
for the flags passed in ADD.

But then we should also take pid and filter_type out of
struct dvb_dmx_pid_filter, thus requiring two ioctls
to set a simple PID filter.


Johannes


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



Home | Main Index | Thread Index