Change the minimum value of the bitrate slider to 5 (#9480)

Signed-off-by: hashiguchi <hashiguchi@mtrx.jp>
This commit is contained in:
hashiguchi 2024-09-27 11:14:46 +09:00 committed by GitHub
parent d4184fd865
commit beb1084e87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -446,7 +446,7 @@ function handle_custom_image_quality() {
var extendedBitrate = bitrate > 100; var extendedBitrate = bitrate > 100;
var maxRate = extendedBitrate ? 2000 : 100; var maxRate = extendedBitrate ? 2000 : 100;
msgbox("custom-image-quality", "Custom Image Quality", "<div .form> \ msgbox("custom-image-quality", "Custom Image Quality", "<div .form> \
<div><input #bitrate-slider type=\"hslider\" style=\"width: 50%\" name=\"bitrate\" max=\"" + maxRate + "\" min=\"10\" value=\"" + bitrate + "\"/ buddy=\"bitrate-buddy\"><b #bitrate-buddy>x</b>% Bitrate <button|checkbox #extended-slider .custom-event " + (extendedBitrate ? "checked" : "") + ">More</button></div> \ <div><input #bitrate-slider type=\"hslider\" style=\"width: 50%\" name=\"bitrate\" max=\"" + maxRate + "\" min=\"5\" value=\"" + bitrate + "\"/ buddy=\"bitrate-buddy\"><b #bitrate-buddy>x</b>% Bitrate <button|checkbox #extended-slider .custom-event " + (extendedBitrate ? "checked" : "") + ">More</button></div> \
</div>", "", function(res=null) { </div>", "", function(res=null) {
if (!res) return; if (!res) return;
if (res.id === "extended-slider") { if (res.id === "extended-slider") {