We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware Bugs › Capture freezes
Page Index Toggle Pages: 1
Capture freezes (Read 1074 times)
Capture freezes
Apr 20th, 2005, 12:18am
 
Capture freezes on Win XP after moving the Applet window on the screen. I used the 'Capture' example coming with P5 as below (only commented the device string). I ported also another application working w/o problems under 0069 - same result. I.e. initially it runs fine then after moving the applet window it freezes forever.

---------------------------------------------
import processing.video.*;

Capture camera;

void setup()
{
 size(320, 240);

 // List all available capture devices to the console
 println(Capture.list());

 // Specify your own device
//  String s = "Logitech QuickCam Zoom-WDM";
//  camera = new Capture(this, s, width, height, 30);

 // If no device is specified, will just use the default
 camera = new Capture(this, 320, 240, 15);

 // Opens the settings page for this capture device
 //camera.settings();
}

void captureEvent(Capture camera)
{
camera.read();
}

void draw()
{
image(camera, 0, 0);
}
---------------------------------------------
Re: Capture freezes
Reply #1 - Apr 20th, 2005, 2:14am
 
middle item under known bugs in the faq:

- Dragging the applet window around will often make Processing lock up

http://processing.org/faq/bugs.html#known
Re: Capture freezes
Reply #2 - Jun 7th, 2005, 6:17am
 
should be fixed as of a release or two ago.
Page Index Toggle Pages: 1