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.
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"