From 292d1fe55e6156402fb4f2b99accc7cd4e76bf53 Mon Sep 17 00:00:00 2001 From: AngelCarpintero Date: Wed, 16 Apr 2008 02:22:11 +0000 Subject: [PATCH] Reset post capture on end event --- configure | 18 +++++++++--------- motion.c | 2 ++ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/configure b/configure index 7f37a15f..1e0e2d80 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for motion trunk-r327. +# Generated by GNU Autoconf 2.61 for motion trunk-r328. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. @@ -572,8 +572,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='motion' PACKAGE_TARNAME='motion' -PACKAGE_VERSION='trunk-r327' -PACKAGE_STRING='motion trunk-r327' +PACKAGE_VERSION='trunk-r328' +PACKAGE_STRING='motion trunk-r328' PACKAGE_BUGREPORT='' ac_unique_file="motion.c" @@ -1178,7 +1178,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures motion trunk-r327 to adapt to many kinds of systems. +\`configure' configures motion trunk-r328 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1239,7 +1239,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of motion trunk-r327:";; + short | recursive ) echo "Configuration of motion trunk-r328:";; esac cat <<\_ACEOF @@ -1372,7 +1372,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -motion configure trunk-r327 +motion configure trunk-r328 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1386,7 +1386,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by motion $as_me trunk-r327, which was +It was created by motion $as_me trunk-r328, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ @@ -7516,7 +7516,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by motion $as_me trunk-r327, which was +This file was extended by motion $as_me trunk-r328, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -7565,7 +7565,7 @@ Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -motion config.status trunk-r327 +motion config.status trunk-r328 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff --git a/motion.c b/motion.c index 9f1b58a2..9e37c878 100644 --- a/motion.c +++ b/motion.c @@ -1615,6 +1615,8 @@ static void *motion_loop(void *arg) motion_log(-1, 0, "End of event %d", cnt->event_nr); cnt->makemovie = 0; + /* Reset post capture */ + cnt->postcap = 0; /* Finally we increase the event number */ cnt->event_nr++;