[linux-dvb] decoder & frontend ioctls

2004-07-07 Thread Marcus Metzler
> "Marcel" == Marcel Siegert <[EMAIL PROTECTED]> writes:

Marcel> Hi, can someone explain why DVB ApiV3 is not providing
Marcel> IOCTL's for getting e.g.

Marcel> the bitrate of the stream, resolution ect. ?
What bitrate? The bitrate of the transponder is given by the tuning
parameters. The bitrate of individual PIDs may vary and measuring them
in the kernel doesn't make sense.
The same goes for the resolution. Set a filter for the PES PID and get
it yourself.

Marcus

-- 
/\
| Dr. Marcus O.C. Metzler|   |
| [EMAIL PROTECTED]| http://www.metzlerbros.de/|
\/
 |>>> Quis custodiet ipsos custodies <<<|




[linux-dvb] decoder & frontend ioctls

2004-07-07 Thread Marcel Siegert
Hi, 

can someone explain why DVB ApiV3 is not providing IOCTL's for getting 
e.g.

the bitrate of the stream, 
resolution ect. ?

some drivers do a /proc/bitstream interface or provide non dvbapi IOCTL's for this.

so, if someone's going to use this info everything must be checked at user/application 
space.

it would be more satisfied if i would have an IOCTL with -ENOSUP or -EINVAL instead of 
having a 
application which is capable to run on different systems and program everything 
especially for each 
system.

regards
mws