Commit Graph

2165 Commits

Author SHA1 Message Date
Isaac Connor
7d2becee21 add reload on HUP 2018-01-10 12:59:42 -05:00
Isaac Connor
ae5f4c9d9c Add log re-init on HUP 2018-01-10 12:58:22 -05:00
Isaac Connor
727bde752f Count non-i frames in frames_to_keep. Should reduce the size of the packetqueue 2018-01-07 13:39:13 -05:00
Isaac Connor
2ec25a20ec Don't crash if we fail to open the video output stream 2018-01-04 10:07:51 -05:00
Isaac Connor
2922a86d23 fixes to new Storage Schemes code 2017-12-19 11:01:03 -05:00
Isaac Connor
8a8001f14a fix missingc_str() 2017-12-18 13:25:24 -05:00
Isaac Connor
705a98276f change StorageScheme to Scheme 2017-12-18 13:17:43 -05:00
Isaac Connor
d312482a2b add StorageScheme to Storage and Events. Deprecate ZM_USE_DEEP_STORAGE 2017-12-18 12:52:26 -05:00
Isaac Connor
a304af727b debug GetFPS 2017-12-12 14:37:02 -05:00
Isaac Connor
70d43d2d27 fix strncpy calls 2017-12-12 13:42:48 -05:00
Isaac Connor
34668db43b use return value of WriteJpeg 2017-12-12 13:39:36 -05:00
Isaac Connor
97e3ac046e close file handle on error 2017-12-12 13:38:31 -05:00
Isaac Connor
599848346e close infile on error condition. Make failure to read not be fatal. 2017-12-12 13:35:19 -05:00
Isaac Connor
7278448b01 remove test for less than zero of uints 2017-12-12 13:30:58 -05:00
Isaac Connor
6bffc54b77 fix referencing event_data before we test it for null 2017-12-12 13:30:43 -05:00
Isaac Connor
c40f79097d fix zeroing of vid_cap, when we want to zero vid_pic! 2017-12-12 13:28:39 -05:00
Isaac Connor
5f0db60c38 quiet coverity 2017-12-12 13:25:41 -05:00
Isaac Connor
b246ae4d19 remove less than zero tests for unsigned parameters 2017-12-12 13:25:02 -05:00
Isaac Connor
2769c1fc54 add missing unlock 2017-12-12 13:20:53 -05:00
Isaac Connor
5fa7fd4db8 initialize mValue 2017-12-12 13:19:35 -05:00
Isaac Connor
3c44c1f9be quiet coverity by returning after Panic 2017-12-12 13:19:23 -05:00
Isaac Connor
52953d7112 initialize ttl 2017-12-12 13:19:09 -05:00
Isaac Connor
46094fe6cf close outfile on error 2017-12-12 13:18:57 -05:00
Isaac Connor
47f3971f9a remove unused mDbConnection 2017-12-12 13:18:50 -05:00
Isaac Connor
568b15a916 initilize things to quiet coverity 2017-12-12 13:09:55 -05:00
Isaac Connor
23a2f1e609 quiet coverity by initialising last_frame_timestamp 2017-12-12 13:01:57 -05:00
Isaac Connor
fe8e1ba445 change the order of open/stat. Only stat and check for char device if we can actualy open it 2017-12-12 13:01:38 -05:00
Isaac Connor
fe74c41723 fix integer division instead of double 2017-12-12 12:56:19 -05:00
Isaac Connor
716a29545f fix strncpy not leaving null terminator space 2017-12-12 12:53:05 -05:00
Isaac Connor
db915b2c56 Don't do an unneccesary assignemnt 2017-12-12 12:52:30 -05:00
Isaac Connor
43e4421368 fix strncpy not leaving null terminator space 2017-12-12 12:52:20 -05:00
Isaac Connor
2df96bf6ee use the return value of stat 2017-12-12 12:51:54 -05:00
Isaac Connor
007ebd3689 remove unused var 2017-12-12 12:41:17 -05:00
Isaac Connor
40e4d909c3 turn Fatal into Error 2017-12-12 12:41:11 -05:00
Isaac Connor
ec99c96587 remove unneccesary assignment 2017-12-12 12:38:40 -05:00
Isaac Connor
31189bdb11 make an error not fatal and check return to quiet coverity 2017-12-12 12:38:30 -05:00
Isaac Connor
9085a4b062 remove unused class members 2017-12-12 12:38:05 -05:00
Isaac Connor
f8738f2387 quiet coverity 2017-12-12 12:37:49 -05:00
Isaac Connor
8c1159ad56 quiet coverity by initializing everything in constructor 2017-12-12 12:37:36 -05:00
Isaac Connor
56e879da7b should only cpoy sizeof(path)-1 to leave space for null terminator 2017-12-12 12:37:04 -05:00
Isaac Connor
a9bbe3e85c remove debug lines 2017-12-12 12:36:35 -05:00
Isaac Connor
16ac341642 locallist return code vars, they don't need to be class members 2017-12-12 12:35:54 -05:00
Isaac Connor
a0f79b7bf7 add CFG_UNKNOWN and use it in the .cpp to quiet coverity 2017-12-12 12:35:28 -05:00
Isaac Connor
49be06d641 move freeaddrinfo up before a return to prevent memleak 2017-12-12 12:35:05 -05:00
Isaac Connor
475d39f1c6 move closedir down so that it always happens. Make coverity quiet 2017-12-12 12:34:43 -05:00
Isaac Connor
819c2e5190 fix possible not null-terminated strncpy. Wouldn't actually happen because we are copying from the db field which is 1 smaller than the variable but Coverity doesn't know that. 2017-12-12 11:48:12 -05:00
Isaac Connor
c04ec1b8a8 fix mem corruption 2017-12-03 12:50:57 -05:00
Isaac Connor
344539f5dc cleanup 2017-11-28 11:55:47 -05:00
Isaac Connor
d73f9e8a73 wip, crashes 2017-11-28 11:11:41 -05:00
Isaac Connor
1e50df741f fix some memleaks 2017-11-28 09:50:09 -05:00