- Timeout when opening stream after 10 seconds
Sometimes when restarting the camera ffmpeg hung itself in some state, when calling avformat_open_input, which seemed to last forever.
- Reopen stream if av_read_frame returns EOF
Sometimes ffmpeg starts returning an EOF error when calling av_read_frame. Once this happens it seems no more images will ever be captured.
- Reopen stream if av_read_frame returns -110
Means something like Connection failed; cant remember. Anyway. Once this happens it seems no more images will ever be captured.
Use value from options (FFMPEG_OPEN_TIMEOUT) as timeout when calling av_open_input_file.
removed use of av_err2str. someone could not compile when using that macro.
Process should exit if ReopenFfmpeg function fails to create a worker thread.
Define AV_ERROR_MAX_STRING_SIZE to 64 if it is not already defined.
Define AV_ERROR_MAX_STRING_SIZE after all include files to use ffmpeg define if it exists.
- join reconnect thread when finished to clean up thread resources.
- don't spawn a new thread for every attempt to open a stream while reconnecting.
Put opts back in
* Use CMake instead of Autotools.
* Some lintian love (minor fixes and cosmetic changes...)
* Don't remove database data if we are using a remote MySQL server.
Use gnutls-openssl instead of gnutls to
fix build with CMake.
* distros/debian -> Autotools
* distros/debian_cmake -> CMake
Restore README.md to 3fe5724ca009c82b6c1e02c273a3b5948d363af4.
Create 3S.pm

3S API Control Protocol Module
Update zm_create.sql.in

Add Control 3S N5071 Dome Ptz Camera
Merge pull request #570 from jmcastro2014/master

Add Control 3S N5071 Dome Ptz Camera
Merge pull request #565 from cosmedd/debian-cmake-and-lintian

Debian package migration to CMake and some improves with lintian help
Apply knnniggett's solution on gnutls-openssl issue which
adds support for RPM based distros.
Merge pull request #564 from cosmedd/cmake-gnutls-fix

Use gnutls-openssl instead of gnutls to fix build with CMake.
handle empty [file] to prevent logzilla
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder