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 & BugsWebsite,  Documentation,  Book Bugs › minor error in the basic video capture example
Page Index Toggle Pages: 1
minor error in the basic video capture example (Read 760 times)
minor error in the basic video capture example
Oct 3rd, 2007, 6:27am
 
in the:
/Processing%200125/reference/libraries/video/Capture.html


The parameter order for the Capture constructor call is incorrect.  In the example, the line shown below:

 myCapture = new Capture(this, s, width, height, 30);

should read as:

 myCapture = new Capture(this, width, height, s, 30);

Hope it helps,
Michael
Re: minor error in the basic video capture example
Reply #1 - Nov 24th, 2007, 11:07pm
 
Thank you for catching this. It looks like it has been fixed.
Page Index Toggle Pages: 1