]> git.sesse.net Git - ultimatescore/commitdiff
Activate the new right-click functionality for the FFmpeg input.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 24 Apr 2018 18:32:15 +0000 (20:32 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 24 Apr 2018 18:32:15 +0000 (20:32 +0200)
nageru/ultimate.lua

index 13b03708ad38e86100bdcb460f6f35df68e3ee72..b2882f4271253d3301b38da3128508e5476d50e5 100644 (file)
@@ -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