mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
added new setting to allow video upscaling
This commit is contained in:
parent
84d3728b86
commit
5ce0e6c170
@ -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…
Reference in New Issue
Block a user