Commit Graph

8383 Commits

Author SHA1 Message Date
Isaac Connor f97e074393 braces fixes 2017-04-12 16:16:56 -04:00
Isaac Connor d1f04a60f9 fix errors calculating dts 2017-04-12 16:16:37 -04:00
Isaac Connor d039227f79 Merge branch 'master' into storageareas 2017-04-12 13:51:10 -04:00
Isaac Connor e28be26978 Merge branch 'master' of github.com:ZoneMinder/ZoneMinder 2017-04-12 13:41:16 -04:00
Isaac Connor 6e7bd9311d add the api tmp cache folders to the tmpfiles 2017-04-12 13:41:02 -04:00
Isaac Connor 51d5bfc8d5 introduce a helper function to print out a timeval 2017-04-12 13:40:38 -04:00
Isaac Connor ecb57f8f04 change bool recording to a timeval. 2017-04-12 13:40:17 -04:00
Isaac Connor 575b3138de change it from a queue to a list. Implement a clearQueue that keeps some frames, and a function clear out unwanted frames 2017-04-12 13:39:47 -04:00
Isaac Connor a0b57cedeb change bool recording to a timeval. and add GetPreEventCount 2017-04-12 13:39:12 -04:00
Isaac Connor e3d3fc3411 change bool recording to a timeval. 2017-04-12 13:38:56 -04:00
Isaac Connor 59c85c1fbb change bool recording to a timeval. 2017-04-12 13:38:39 -04:00
Isaac Connor 8efeb41f7d use new clear_unwanted_packets and a clearQueue version that keeps the approprate # of frames 2017-04-12 13:38:12 -04:00
Isaac Connor 954c863ad8 add a non-const version of StartTime() which we need in order to assign to video_data->recording 2017-04-12 13:36:49 -04:00
Isaac Connor 7e920eb5d3 add a non-const version of StartTime() which we need in order to assign to video_data->recording 2017-04-12 13:36:39 -04:00
Isaac Connor 669a23c408 change type of width and height to unsigned int and recording from bool to timeval 2017-04-12 13:35:07 -04:00
Isaac Connor bdb6dd63a3 change type of width and height to unsigned int and recording from bool to timeval 2017-04-12 13:32:22 -04:00
Isaac Connor eb390c323e Merge branch 'storageareas' into ffmpeg_321 2017-04-11 11:14:23 -04:00
Isaac Connor 161aaac3f2 cleanup swsresample stuff. resampling now works 2017-04-11 10:39:43 -04:00
Isaac Connor a2a823e3ec Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2017-04-11 08:54:54 -04:00
Isaac Connor 916cdbfcd2 Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2017-04-10 21:58:16 -04:00
Isaac Connor 9291c154a1 Merge branch 'split_monitor_stream' into storageareas 2017-04-10 21:58:01 -04:00
Isaac Connor 42e94d1a7c contains the MonitorStream class 2017-04-10 21:57:31 -04:00
Isaac Connor a58259c60e include other libjpeg alternatives. Include a libpcre dependency 2017-04-10 21:55:52 -04:00
Isaac Connor e4a20caf24 put quotes around 2017-04-10 21:55:11 -04:00
Isaac Connor 620797ac18 replace swresample with libavresample 2017-04-10 21:54:23 -04:00
Isaac Connor 2220b04203 need to include zm_monitorstream.h now 2017-04-10 21:52:29 -04:00
Isaac Connor 766925d9a7 Split MonitorStream into it's own files. 2017-04-10 21:51:18 -04:00
Isaac Connor 57bf1bb4e0 add needed quotes 2017-04-10 16:56:59 -04:00
Isaac Connor 48d658790a Merge branch 'storageareas' into optimisations 2017-04-09 17:36:24 -04:00
Isaac Connor 58a0c82015 Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2017-04-09 15:41:40 -04:00
Isaac Connor 4215f227da Merge branch 'mastertheknife-ssse3_improvements' into storageareas 2017-04-07 13:43:09 -04:00
Isaac Connor 6ec340d525 Merge branch 'ssse3_improvements' of https://github.com/mastertheknife/ZoneMinder into mastertheknife-ssse3_improvements 2017-04-07 13:38:50 -04:00
Isaac Connor 7f4fb64495 blah 2017-04-07 13:38:41 -04:00
Isaac Connor a0b0f0aa79 Merge pull request #1847 from ekwoodrich/patch-1
Suppress debug messages on ZM service start/restart
2017-04-07 13:26:04 -04:00
Isaac Connor ed04c44ad0 comment out delete_empty_directories. It is too intensive 2017-04-07 13:21:33 -04:00
Isaac Connor d462dfdb77 fix error message when fid not specified 2017-04-07 13:20:54 -04:00
Isaac Connor 92a2d6f4f2 hide the video, let's stick with jpeg's, which will be auto-generated 2017-04-07 13:20:28 -04:00
Isaac Connor 8f51331472 fix timeline view by using view=image instead of direct path 2017-04-07 13:20:04 -04:00
Isaac Connor 94ddfc4053 Fix 2017-04-07 11:58:27 -04:00
Isaac Connor 5c3a582252 The signal we should be blocking is SIGCHLD not SIGINT 2017-04-06 21:21:28 -04:00
Isaac Connor 68ab2cb756 Merge pull request #1837 from DarkDeepBlue/fix-format-string-local-cam
zm_local_camera.cpp: Improve format strings
2017-04-06 08:54:20 -04:00
Isaac Connor b4ac277ecb Merge pull request #1846 from mnoorenberghe/docker_vhost
Use misc/apache.conf instead of utils/docker/apache-vhost in docker
2017-04-06 08:41:21 -04:00
Eliot Kent Woodrich c4ec2d7fab Suppress debug messages on ZM service start/restart
The tests in the script General.pm that determine the format for superuser calls on the target environment may leak debug messages to STDOUT. This can be replicated on a Docker installation of Zoneminder lacking sudo. Starting the Zoneminder process  will display an intimidating series of error messages that can safely be ignored by the user:

e.g.
'''
root@2bfdd23cc27a:~# service zoneminder start

Starting ZoneMinder: Can't exec "sudo": No such file or directory at /usr/share/perl5/ZoneMinder/General.pm line 1                                                   10.
Use of uninitialized value $output in scalar chomp at /usr/share/perl5/ZoneMinder/General.pm line 119.
Use of uninitialized value $output in concatenation (.) or string at /usr/share/perl5/ZoneMinder/General.pm line 1                                                   20.
success
'''

This patch redirects STDERR from the qx(...) calls to the debug message., And if the output of qx(...) is undefined, replaces it with any error in $! resulting from the qx(...) call.
2017-04-05 17:26:19 -07:00
Isaac Connor 6a9819e16b whitespace, comments 2017-04-05 16:10:21 -04:00
Isaac Connor 2b9a0f96d3 remove   and break over multiple lines 2017-04-05 16:10:06 -04:00
Isaac Connor d611840750 whitespace, handle NaN in limitArea 2017-04-05 16:09:40 -04:00
Isaac Connor c5ff45922f fix zone edit height 2017-04-05 16:09:06 -04:00
Isaac Connor a689fcff88 Fix use Time::HiRes 2017-04-05 16:08:47 -04:00
Isaac Connor 452e9571ee add a different size warning 2017-04-05 16:08:29 -04:00
Isaac Connor 15e69fc817 fix . to -> 2017-04-05 10:39:38 -04:00