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 › camera.source mode not found
Page Index Toggle Pages: 1
camera.source mode not found (Read 2004 times)
camera.source mode not found
Apr 21st, 2005, 10:46pm
 
hi

i'm trying to use the new source() function from the Capture library, but i can't get it working


http://processing.org/reference/libraries/video/Capture_source_.html

the doc says that the different modes are TUNER, COMPOSITE, SVIDEO, or COMPONENT


but when i try, for example

camera.source(TUNER);

i get an error saying

Semantic Error: No accessible field named "TUNER" was found in type "Temporary_9281_5191".


any idea ?
Re: camera.source mode not found
Reply #1 - May 1st, 2005, 8:33am
 
that should be Capture.TUNER, Capture.COMPOSITE, etc.
Re: camera.source mode not found
Reply #2 - May 1st, 2005, 3:54pm
 
oh right

thanks Smiley
Re: camera.source mode not found
Reply #3 - May 1st, 2005, 8:47pm
 
OK. Now updated online. Sorry for the confusion and thank you for reporting.
Page Index Toggle Pages: 1