mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added new setting to allow video upscaling
This commit is contained in:
parent
84d3728b86
commit
5ce0e6c170
2 changed files with 8 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue