source:
freewrt/package/motion/patches/01-ffmpeg.patch@
428f140
| Last change on this file since 428f140 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 1.1 KB | |
-
motion-3.2.5.
diff -ur motion-3.2.5.1-old/motion.c motion-3.2.5.1/motion.c
old new 1246 1246 * Note: Negative value means SIGALRM snaps are enabled 1247 1247 * httpd-control snaps are always enabled. 1248 1248 */ 1249 1249 #ifdef HAVE_FFMPEG 1250 1250 /* time_current_frame is used both for snapshot and timelapse features */ 1251 1251 time_current_frame = cnt->currenttime; 1252 1252 1253 1253 if ( (cnt->conf.snapshot_interval > 0 && cnt->shots == 0 && 1254 1254 time_current_frame % cnt->conf.snapshot_interval <= time_last_frame % cnt->conf.snapshot_interval) || 1255 1255 cnt->snapshot) { … … 1257 1257 cnt->snapshot = 0; 1258 1258 } 1259 1259 1260 1260 #endif /* HAVE_FFMPEG */ 1261 1261 /***** MOTION LOOP - TIMELAPSE FEATURE SECTION *****/ 1262 1262 1263 1263 #ifdef HAVE_FFMPEG … … 1331 1331 event(cnt, EVENT_TIMELAPSEEND, NULL, NULL, NULL, cnt->currenttime_tm); 1332 1332 1333 1333 1334 #endif /* HAVE_FFMPEG */1335 1334 1336 1335 time_last_frame = time_current_frame; 1337 1336 #endif /* HAVE_FFMPEG */ 1338 1337 1339 1338 /***** MOTION LOOP - VIDEO LOOPBACK SECTION *****/ 1340 1339
Note:
See TracBrowser
for help on using the repository browser.
