]> git.sesse.net Git - ultimatescore/blobdiff - nageru/ultimate.lua
Some tweaks for Futatabi.
[ultimatescore] / nageru / ultimate.lua
index c271bf5a8e79525635b2b8ccd58b732fc7e3421d..605344016b69e97ce3c4b84954047d5bc184ab13 100644 (file)
@@ -240,6 +240,13 @@ function needs_scale(signals, signal_num, width, height)
 end
 
 function set_scale_parameters_if_needed(scene, signals, signal_num, width, height, hq)
+       -- Futatabi rescaling will be linear, but original frames come back unscaled;
+       -- make them linear, too, so that we don't get more sharpness on every other
+       -- frame. This won't be right for fading, but it's probably hard to notice.
+       if signal_num == VIDEO_SIGNAL_NUM then
+               hq = false
+       end
+
        if needs_scale(signals, signal_num, width, height) then
                if hq then
                        scene.resample_effect:choose(ResampleEffect)  -- High-quality resampling.
@@ -346,9 +353,9 @@ function channel_name(channel)
        elseif signal_num == VIDEO_SIGNAL_NUM then
                local res = last_resolution[iptv_video:get_signal_num()]
                if (not res) or res.last_subtitle == nil then
-                       return "IPTV"
+                       return "Futatabi"
                else
-                       return "IPTV (" .. get_futatabi_status(res.last_subtitle) .. ")"
+                       return "Futatabi (" .. get_futatabi_status(res.last_subtitle) .. ")"
                end
        elseif signal_num == OVERLAY_SIGNAL_NUM then
                return "Overlay"