Clear out width=auto and height=auto to prevent warnings in logs

pull/3588/head
Isaac Connor 2022-08-17 15:34:39 -04:00
parent 4ec1187056
commit 3feb089740
1 changed files with 2 additions and 2 deletions

View File

@ -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'])) {