]> git.sesse.net Git - ultimatescore/commitdiff
Update to new VideoInput syntax.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 25 Oct 2017 18:11:06 +0000 (20:11 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 28 Oct 2017 09:39:24 +0000 (11:39 +0200)
nageru/ultimate.lua

index 328dfa2048c254444aa5b82ac605a513f6ac64fb..ecd43c72c23517d0b29f18cb2cf2cf28475ab07e 100644 (file)
@@ -40,7 +40,7 @@ local FADE_TRANSITION = 2
 -- frame and not per field, since we deinterlace.
 local last_resolution = {}
 
-local caspar_input = VideoInput.new("unix:///tmp/caspar.sock")
+local caspar_input = VideoInput.new("unix:///tmp/caspar.sock", Nageru.VIDEO_FORMAT_BGRA)
 caspar_input:change_rate(2.0)
 
 -- Utility function to help creating many similar chains that can differ