mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-21 05:54:22 -04:00
Clear out width=auto and height=auto to prevent warnings in logs
This commit is contained in:
1 parent
8eab9bc518
commit
4bd7fc8fcf
1 file changed
+2
-2
@@ -880,9 +880,9 @@ public static function getStatuses() {
|
||||
if (!isset($options['mode'])) {
|
||||
$options['mode'] = 'stream';
|
||||
}
|
||||
if (!isset($options['width']))
|
||||
if (!isset($options['width']) or $options['width'] == 'auto')
|
||||
$options['width'] = 0;
|
||||
if (!isset($options['height']))
|
||||
if (!isset($options['height']) or $options['height'] == 'auto')
|
||||
$options['height'] = 0;
|
||||
|
||||
if (!isset($options['maxfps'])) {
|
||||
|
||||
Reference in new issue
Block a user