Mailing List archive

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

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



Hi,

Rob.McConnell@Zarlink.Com wrote:
> 
> If we use the ADD/DEL ioctl to be able to "attach" PID filters to an
> existing fd so that we have a multiplexed output stream, then we will need
> to identify which PID filter to remove using the DEL ioctl.  Currently in
> the dmx.h header file the DVB_DMX_DEL_PID_FILTER accepts the fd but no
> argument to specify which PID filter to remove. Can we please add the PID
> value as an argument to distinguish which PID filter to remove.

It's currently defined like that:

/* parameter is PID */
#define DVB_DMX_DEL_PID_FILTER _IO(DVB_IOCTL_BASE, 0x23)

_IO() does not mean that there is no parameter, it just means
that dvb_usercopy() will not try to interpret the argument as
a pointer to dereference (i.e. the argument is a plain long int).


Johannes


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



Home | Main Index | Thread Index