09-06-2012 09:23 PM - edited 09-06-2012 11:35 PM
I have some questions you all may face before, Please help me figure out :
1.how to adjust the length of video camera in ndk？when i use the function from camera-api named
"camera_set_videovf_property" and change the parameter "CAMERA_IMGPROP_ZOOMFACTOR" or
"CAMERA_IMGPROP_WIDTH",what is not effective. the error number is 22 and means that the function have invalid argument.
2.if the bool type need some head files? When I write your code in my application and build it, the sdk said that
“../src/StartRecording.hpp:65:15: error: ISO C++ forbids initialization of member 'value' [-fpermissive]
../src/StartRecording.hpp:65:15: error: making 'value' static [-fpermissive]
../src/StartRecording.hpp:65:15: error: ISO C++ forbids in-class initialization of non-const static member 'value'”.
How can I figure out this problem?
09-07-2012 03:32 PM
I've found these 2 links below and some sample apps, check it out if that helps.