(removed the deprecated video ML from CC) On Wed, 11 Nov 2009, Neil Johnson wrote: > Guennadi, > > Your suggestions do work well, though my implementation is not ideal. > However, I am now able to switch between high res capture and low res > capture using S_FMT. I made the switch to using user-ptr buffers in > user space, and now I allocate both large still image buffers and > smaller video buffers when my app starts. Then, I switch from video > to still image capture (always using streaming, not read()), and then > switch back to video when needed. You meqn you stop streaming in your application, requeue buffers of different size and restart capture? > Unfortunately, I'm not a huge expert at making my code fit the > video4linux model, so I've basically introduced some hacks that make > it work for me. I'll try to get my hackish code up to spec so that it > will possibly be useful for others. Yep, try to make it as good as possible and in any case send it in for others to have a look. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html