source: freewrt/package/motion/patches/01-ffmpeg.patch@ d419478

freewrt_1_0 freewrt_2_0
Last change on this file since d419478 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
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  
    12461246                 * Note: Negative value means SIGALRM snaps are enabled
    12471247                 * httpd-control snaps are always enabled.
    12481248                 */
    1249                
     1249#ifdef HAVE_FFMPEG             
    12501250                /* time_current_frame is used both for snapshot and timelapse features */
    12511251                time_current_frame = cnt->currenttime;         
    1252                
     1252
    12531253                if ( (cnt->conf.snapshot_interval > 0 && cnt->shots == 0 &&
    12541254                      time_current_frame % cnt->conf.snapshot_interval <= time_last_frame % cnt->conf.snapshot_interval) ||
    12551255                    cnt->snapshot) {
     
    12571257                        cnt->snapshot = 0;
    12581258                }
    12591259
    1260 
     1260#endif /* HAVE_FFMPEG */
    12611261        /***** MOTION LOOP - TIMELAPSE FEATURE SECTION *****/
    12621262
    12631263#ifdef HAVE_FFMPEG
     
    13311331                        event(cnt, EVENT_TIMELAPSEEND, NULL, NULL, NULL, cnt->currenttime_tm);
    13321332                       
    13331333               
    1334 #endif /* HAVE_FFMPEG */
    13351334
    13361335                time_last_frame = time_current_frame;
    1337 
     1336#endif /* HAVE_FFMPEG */
    13381337
    13391338        /***** MOTION LOOP - VIDEO LOOPBACK SECTION *****/
    13401339
Note: See TracBrowser for help on using the repository browser.