I got the cards to work with an old driver, and am well on my way to
actually get my application written.

One thing I would really like to be able to do is to reset the
capturing. Let me explain what I mean:

I set up the card, and start streaming capture on it (this is
uncompressed capture I'm doing now, but I'll have the same issue for
jpeg-compressed capture later). 

At one point I pause the capture (I just don't issue any new VIDIOCSYNC
or schedule a new buffer). Once I unpause it, I don't want the images
already buffered (they have been captured minutes ago, after all), but
want to 'clear' the ring buffer before starting capturing again.

Now, I can see a couple of ways of maybe doing this. One would be to do
a new loop over all the buffers, calling VIDIOCMCAPTURE on each one. I
have the feeling that this may be the only reliable way of doing it;
however, maybe one can 'trick' the driver into redoing each one without
having to explicit about it?

What I'm asking is simply whether there are any known pitfalls with
this, and maybe if there is a canonical way that I have missed? I'm sure
others have looked into this as well and may have some advice?




-- 

Trust the Computer. The Computer is your friend.

Tel.    +46-046 222 8588             Dr. Janne Morén (mr)
Home:   +46-046 211 4973             Dept. of Cognitive Science
Fax:    +46-046 222 9758             Kungshuset, Lund
                                     S-222 22 Lund, Sweden



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to