Tuukka Toivonen <tuukkat@xxxxxxxxxx> writes: > Well, I could use several internal and mmap buffers like pwc driver. Yes. > But since it works so fine right now, I don't want to. IMHO you should. > And really, you can't deny that it's the applications that should be > fixed which expect at least two buffers when the specification > clearly says that just one may be available. Applications should be able to deal with just one buffer, yes. That doesn't invalidate the argument that is a bad idea to use multiple buffers internally and hide that. The API is designed to allow applications explicitly control capture and buffering. With your driver this is impossible, instead you do some heuristrics to figure when to start / stop capture. Which may fail and (a) not meet the applications requirements and/or (b) waste USB bandwidth. > Actually, maybe there's no point fixing application but maybe they > should be ported right away to Gstreamer =) gstreamer IMHO is overkill just for doing conversions. IMHO it would be better to put that into a small library which has just the conversion functions and nothing else. And handle gstreamer support with a small wrapper plugin using that library. Gerd -- sigfault