mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-09 15:18:50 -04:00
Clear out width=auto and height=auto to prevent warnings in logs
This commit is contained in:
@@ -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