Package: came Version: 1.9-1 Severity: wishlist *** Please type your report below this line ***
I've moved the action_post_shot code to after save_image(). This allows the image to be further processed with external tools, which I find quite handy. diff -ur came-1.9.orig/webcam.c came-1.9/webcam.c --- came-1.9.orig/webcam.c 2005-02-25 15:13:32.000000000 -0800 +++ came-1.9/webcam.c 2005-02-25 15:13:05.000000000 -0800 @@ -1589,11 +1589,6 @@ } camlog("** shot taken\n"); - if (action_post_shot) { - camlog("running post-shot action\n"); - system(action_post_shot); - camlog("post-shot action done\n"); - } if (flip_horizontal) { imlib_image_flip_horizontal(); @@ -1617,6 +1612,11 @@ draw_overlay(image); add_time_text(image, get_message(), width, height); save_image(image, temp_file); + if (action_post_shot) { + camlog("running post-shot action\n"); + system(action_post_shot); + camlog("post-shot action done\n"); + } do_postprocess(temp_file); archive_jpeg(image); gib_imlib_free_image_and_decache(image); -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (900, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.10-1-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages came depends on: ii giblib1 1.2.4-2 wrapper library for imlib2, and ot ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libcurl3 7.13.0-1 Multi-protocol file transfer libra ii libfreetype6 2.1.7-2.3 FreeType 2 font engine, shared lib ii libimlib2 1.1.2-3 powerful image loading and renderi ii libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous exte ii xlibs 4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu ii zlib1g 1:1.2.2-3 compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]