Don't pass types to changes, it doesn't do anything. Add DecodingEnabled to request

This commit is contained in:
Isaac Connor 2020-12-10 16:24:09 -05:00
parent f77292e6cc
commit da8d96ddda
1 changed files with 2 additions and 1 deletions

View File

@ -55,6 +55,7 @@ if ( $action == 'save' ) {
'Controllable' => 0,
'TrackMotion' => 0,
'Enabled' => 0,
'DecodingEnabled' => 0,
'Exif' => 0,
'RTSPDescribe' => 0,
'V4LMultiBuffer' => '',
@ -82,7 +83,7 @@ if ( $action == 'save' ) {
}
}
$changes = $monitor->changes($_REQUEST['newMonitor'], $types);
$changes = $monitor->changes($_REQUEST['newMonitor']);
$restart = false;
if ( count($changes) ) {