added new setting to allow video upscaling
This commit is contained in:
@@ -39,6 +39,11 @@
|
||||
|
||||
<br />
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<input type="checkbox" id="chkAllowUpscaling" name="chkAllowUpscaling" data-mini="true" />
|
||||
<label for="chkAllowUpscaling">Allow video upscaling when requested by clients</label>
|
||||
<div class="fieldDescription">In some cases this will result in improved video quality but will increase CPU usage.</div>
|
||||
</li>
|
||||
<li>
|
||||
<input type="checkbox" id="chkEnableDebugEncodingLogging" name="chkEnableDebugEncodingLogging" data-mini="true" />
|
||||
<label for="chkEnableDebugEncodingLogging">Enable debug transcoding logging</label>
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
$('#txtTranscodingTempPath', page).removeAttr("required");
|
||||
}
|
||||
|
||||
$('#chkAllowUpscaling', page).checked(config.AllowVideoUpscaling).checkboxradio("refresh");
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
}
|
||||
|
||||
@@ -90,6 +92,7 @@
|
||||
config.TranscodingTempPath = '';
|
||||
}
|
||||
|
||||
config.AllowVideoUpscaling = $('#chkAllowUpscaling', form).checked();
|
||||
config.EnableDebugEncodingLogging = $('#chkEnableDebugEncodingLogging', form).checked();
|
||||
config.MediaEncodingQuality = $('.radioEncodingQuality:checked', form).val();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user