]> git.sesse.net Git - ultimatescore/blobdiff - nageru/ultimate.lua
Update to new VideoInput syntax.
[ultimatescore] / 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