From: Steinar H. Gunderson Date: Tue, 24 Apr 2018 18:32:15 +0000 (+0200) Subject: Activate the new right-click functionality for the FFmpeg input. X-Git-Url: https://git.sesse.net/?p=ultimatescore;a=commitdiff_plain;h=ad5266923e2829058ee16418c402933cfb83f979 Activate the new right-click functionality for the FFmpeg input. --- diff --git a/nageru/ultimate.lua b/nageru/ultimate.lua index 13b0370..b2882f4 100644 --- a/nageru/ultimate.lua +++ b/nageru/ultimate.lua @@ -453,7 +453,9 @@ end -- Called once for each channel, at the start of the program. -- Will never be called for live (0) or preview (1). function channel_signal(channel) - if is_plain_signal(channel - 2) then + if channel - 2 == VIDEO_SIGNAL_NUM then + return iptv_video:get_signal_num() + elseif is_plain_signal(channel - 2) then return channel - 2 else return -1