1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

support qsv encoding

This commit is contained in:
Luke Pulverenti 2015-11-26 23:33:20 -05:00
parent 9ebd025914
commit a6da1ed06c
2 changed files with 5 additions and 5 deletions

View file

@ -20,12 +20,12 @@
<ul data-role="listview" class="ulForm"> <ul data-role="listview" class="ulForm">
<li> <li>
<label for="selectVideoDecoder">${LabelHardwareVideoDecoder}</label> <label for="selectVideoDecoder">${LabelHardwareAccelerationType}</label>
<select id="selectVideoDecoder" data-mini="true"> <select id="selectVideoDecoder" data-mini="true">
<option value="">${OptionAuto}</option> <option value="">${OptionAuto}</option>
<option value="qsv">Intel Quick Sync</option> <option value="qsv">Intel Quick Sync</option>
</select> </select>
<div class="fieldDescription">${LabelHardwareVideoDecoderHelp}</div> <div class="fieldDescription">${LabelHardwareAccelerationTypeHelp}</div>
</li> </li>
<li> <li>
<label for="selectThreadCount">${LabelTranscodingThreadCount}</label> <label for="selectThreadCount">${LabelTranscodingThreadCount}</label>
@ -61,7 +61,7 @@
<input type="number" id="txtDownMixAudioBoost" pattern="[0-9]*" required="required" min=".5" max="3" step=".1" /> <input type="number" id="txtDownMixAudioBoost" pattern="[0-9]*" required="required" min=".5" max="3" step=".1" />
<div class="fieldDescription">${LabelDownMixAudioScaleHelp}</div> <div class="fieldDescription">${LabelDownMixAudioScaleHelp}</div>
</li> </li>
<li> <li style="display:none;">
<input type="checkbox" id="chkEnableDebugEncodingLogging" name="chkEnableDebugEncodingLogging" data-mini="true" /> <input type="checkbox" id="chkEnableDebugEncodingLogging" name="chkEnableDebugEncodingLogging" data-mini="true" />
<label for="chkEnableDebugEncodingLogging">${OptionEnableDebugTranscodingLogging}</label> <label for="chkEnableDebugEncodingLogging">${OptionEnableDebugTranscodingLogging}</label>
<div class="fieldDescription">${OptionEnableDebugTranscodingLoggingHelp}</div> <div class="fieldDescription">${OptionEnableDebugTranscodingLoggingHelp}</div>

View file

@ -11,7 +11,7 @@
}).checkboxradio('refresh'); }).checkboxradio('refresh');
$('#selectVideoDecoder', page).val(config.HardwareVideoDecoder); $('#selectVideoDecoder', page).val(config.HardwareAccelerationType);
$('#selectThreadCount', page).val(config.EncodingThreadCount); $('#selectThreadCount', page).val(config.EncodingThreadCount);
$('#txtDownMixAudioBoost', page).val(config.DownMixAudioBoost); $('#txtDownMixAudioBoost', page).val(config.DownMixAudioBoost);
$('#txtTranscodingTempPath', page).val(config.TranscodingTempPath || ''); $('#txtTranscodingTempPath', page).val(config.TranscodingTempPath || '');
@ -32,7 +32,7 @@
config.TranscodingTempPath = $('#txtTranscodingTempPath', form).val(); config.TranscodingTempPath = $('#txtTranscodingTempPath', form).val();
config.EnableThrottling = $('#chkEnableThrottle', form).checked(); config.EnableThrottling = $('#chkEnableThrottle', form).checked();
config.EncodingThreadCount = $('#selectThreadCount', form).val(); config.EncodingThreadCount = $('#selectThreadCount', form).val();
config.HardwareVideoDecoder = $('#selectVideoDecoder', form).val(); config.HardwareAccelerationType = $('#selectVideoDecoder', form).val();
ApiClient.updateNamedConfiguration("encoding", config).done(Dashboard.processServerConfigurationUpdateResult); ApiClient.updateNamedConfiguration("encoding", config).done(Dashboard.processServerConfigurationUpdateResult);
}); });