Roland Praml wrote: > > I'm working on an DVB-output extension for the SDL-library, so you can use > SDL-ported apps on your TV-screen: > > http://www.vdrportal.de/board/thread.php?threadid=19229&sid= > (sorry in german!) > > Currently Audio and Video works separately well. But if I send audio and > video > packets to the device, the device is blocking when the queue is full and > doesn't > accept audio or video packets. > > E.g. When the video encoding thread sends more video packets to the device > than the > device can process the whole device is blocking and doesn't accept audio > packets either. > > So is there a possibility to ask the driver how much video and audio packets > I can send > without blocking the whole device?
Your description of what you do is rather vague. Assuming you write audio to /dev/dvb/adapterX/audioY and video to /dev/dvb/adapterX/videoY, why don't you use nonblocking I/O? Johannes
