diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/sample-afl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/sample-afl.c b/examples/sample-afl.c index c6e8f0527..15bb86ca5 100644 --- a/examples/sample-afl.c +++ b/examples/sample-afl.c @@ -217,11 +217,14 @@ int main(int argc, char **argv) { } gp_file_free (file); +#if 0 + /* this gives endless event check loops occasionaly ... need review how to do this best */ ret = gp_camera_capture (camera, GP_CAPTURE_IMAGE, &path, context); if ((ret != GP_OK) && (ret != GP_ERROR_NOT_SUPPORTED)) { printf ("Could not capture preview.\n"); goto out; } +#endif /* AFL PART ENDS HERE */ out: |