149
148
fprintf(stderr,"gp_file_new: %d\n", retval);
161
if (i<10) set_config_value_string (canon, "eoszoom", "5", canoncontext);
162
sprintf(buf,"%d,%d",(i&0x1f)*64,(i>>5)*64);
163
fprintf(stderr, "%d - %s\n", i, buf);
164
set_config_value_string (canon, "eoszoomposition", buf, canoncontext);
152
167
retval = gp_camera_capture_preview(canon, file, canoncontext);
154
169
fprintf(stderr,"gp_camera_capture_preview(%d): %d\n", i, retval);