Commit Graph

2553 Commits

Author SHA1 Message Date
Isaac Connor
cf5eab4dbc Merge branch 'zma_to_thread' of github.com:connortechnology/ZoneMinder into zma_to_thread 2018-08-09 12:50:08 -04:00
Isaac Connor
4454ca0072 Merge branch 'storageareas' into zma_to_thread 2018-05-20 10:39:14 -04:00
Isaac Connor
5df2fbfff2 fix logic to handle no pre_event frames 2018-05-15 15:53:25 -04:00
Isaac Connor
4ca77fdd69 Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2018-05-15 12:44:36 -04:00
Isaac Connor
98b2a3f6f0 improve structure/spacing 2018-05-15 12:44:24 -04:00
Isaac Connor
038c5f4e1a log the log line not the uninitialized sql 2018-05-14 13:57:26 -04:00
Isaac Connor
da8a232f01 Merge branch 'storageareas' into zma_to_thread 2018-05-12 19:45:48 -04:00
Isaac Connor
d3c95ea144 fix merges 2018-05-12 19:44:20 -04:00
Isaac Connor
945825cdcb Google code style, fix join() in that we weren't using the delimitere parameter 2018-05-12 14:37:41 -07:00
Isaac Connor
d9fff848e7 change Groups to a vector, add GroupNames function 2018-05-12 14:37:26 -07:00
Isaac Connor
1ef5226316 cleanup 2018-05-12 14:37:13 -07:00
Isaac Connor
0a5980ce2e Fix prealarmcount > alarm_frames. If Alarm frames is 1 and PreEventCount == 0, then the old line would have evaluated to true. By making it > alarm_count instead of >= alarm_count-1, we get the same behaviour for non-zero preevent counts, and also since alarm_frames >= 1 always, we handle the preeventcount=0 case. 2018-05-11 12:18:24 -04:00
Isaac Connor
c3053a2f8a Merge branch 'storageareas' into zma_to_thread 2018-05-10 17:51:38 -04:00
Isaac Connor
0116a3aaca ad zm_group? 2018-05-10 17:46:46 -04:00
Isaac Connor
190ac69975 reintroduce FfmpegInterruptCallBack so that av_read_frame can be made to quit 2018-05-08 12:02:08 -04:00
Isaac Connor
055be6b613 Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas 2018-05-07 10:14:04 -07:00
Isaac Connor
ced208457d spacing, google code style 2018-05-07 10:13:36 -07:00
Isaac Connor
4f1cc02f58 Merge ../ZoneMinder.master into storageareas 2018-05-07 11:08:10 -04:00
Isaac Connor
d31b33ffc6 add a code comment 2018-05-07 11:08:06 -04:00
Isaac Connor
cdf53e36e9 Google code style 2018-05-07 11:07:58 -04:00
Isaac Connor
b6887c277d google code style 2018-05-07 10:27:40 -04:00
Isaac Connor
8ed015966b add zm_terminate to main while loop 2018-05-07 10:27:26 -04:00
Isaac Connor
4d4a7a4221 Initialize bytes to zero in camera constructor. 2018-05-07 10:27:06 -04:00
Isaac Connor
94377a4652 Merge branch 'storageareas' into zma_to_thread 2018-05-05 12:57:50 -04:00
Isaac Connor
f6139d33ed Merge branch 'storageareas' into zma_to_thread 2018-05-05 12:25:11 -04:00
Isaac Connor
f2c099f1e4 Merge branch 'master' of github.com:ZoneMinder/ZoneMinder 2018-05-04 16:01:25 -04:00
Andrew Bauer
7bc2c6dbc5 Downgrade Unable to send stream to warning
Downgraded this from en Error to a Warning. This message can trigger following the normal closing of a monitor. Thus, it's not necessarily an error.
2018-05-04 12:04:28 -05:00
Isaac Connor
375af59657 use unsigned for formatting 2018-05-04 09:58:22 -04:00
Isaac Connor
62f8f5cfdb whitespace 2018-05-03 13:54:18 -04:00
Isaac Connor
6d5e46e91f whitspace 2018-05-03 13:54:05 -04:00
Isaac Connor
67adad5d5c use trylock instead of lock because our signal handler may try to log while the db is locked 2018-05-03 13:53:53 -04:00
Isaac Connor
c6fde10766 Implement trylock 2018-05-03 13:53:32 -04:00
Isaac Connor
29140a3012 Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas 2018-05-02 14:13:11 -07:00
Isaac Connor
5988bed825 make encodeloop return frame_size to indicate error so that we can bail 2018-05-02 12:21:01 -07:00
Isaac Connor
eea58091c8 add groups 2018-05-02 12:20:36 -07:00
Isaac Connor
548cbd2b66 add groups 2018-05-02 12:20:07 -07:00
Isaac Connor
1cd7b73114 turn off closing event in a separate thread, add Groups 2018-05-02 12:20:01 -07:00
Isaac Connor
d8b461806a fix StartTime in the future log 2018-05-02 11:37:54 -04:00
Isaac Connor
d46c06d201 remove extra event=NULL and spaces 2018-05-01 12:19:46 -04:00
Isaac Connor
fb9a12ddba add locking around loading Zone 2018-05-01 12:19:34 -04:00
Isaac Connor
11ce50925c Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2018-05-01 09:42:11 -04:00
Isaac Connor
c8eab2d275 remove debug log to stdout that shouldn't be there. It messes up zms 2018-05-01 09:41:46 -04:00
Isaac Connor
cae2c9e237 Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas 2018-04-30 15:11:32 -04:00
Isaac Connor
469a7347e8 include zm_terminate to make Capture break out of process is TERM'd 2018-04-30 15:09:00 -04:00
Isaac Connor
2845f891bc Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2018-04-30 10:12:41 -04:00
Isaac Connor
e55846e716 Log start_time when its > Now 2018-04-30 10:12:34 -04:00
Isaac Connor
a4da624f4c break out of loops when zm-terminate is set 2018-04-27 13:20:38 -07:00
Isaac Connor
8a80cf686b Merge branch 'master' into storageareas 2018-04-26 21:58:34 -04:00
Isaac Connor
356badf21d Merge branch 'master' of github.com:ZoneMinder/ZoneMinder 2018-04-26 11:57:46 -04:00
Isaac Connor
ee8f371deb Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas 2018-04-25 11:13:25 -04:00