]> git.sesse.net Git - nageru-docs/commitdiff
Update video inputs for 1.9.0.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 20 Jul 2019 08:16:36 +0000 (10:16 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 20 Jul 2019 08:16:36 +0000 (10:16 +0200)
video.rst

index 12e32e3fc8dbe8448ae8c88dd667e780335b5cf2..ee2c1b59a85f73e7d66153fe7cde8443a984ce30 100644 (file)
--- a/video.rst
+++ b/video.rst
@@ -44,18 +44,13 @@ or, for a network stream, perhaps::
 
   local video = VideoInput.new("http://localhost/file.nut", Nageru.VIDEO_FORMAT_BGRA)
 
-It can then be added to any chain like this::
+It can then be display on an input like usual::
 
-  local input = chain:add_video_input(video, false)
+  input:display(video)
 
-The second parameter specifies no deinterlacing. Note that interlaced video
-is currently not supported, not even with deinterlacing, so this parameter
-must always be false.
-
-You can use the same video object to create many different video inputs::
-  
-  local input1 = chain1:add_video_input(video, false)
-  local input2 = chain2:add_video_input(video, false)
+Note that interlaced video is currently not supported, not even with deinterlacing.
+(Before Nageru 1.9.0, video inputs were distinct from live inputs, and had to
+be created differently, but this is no longer the case.)
 
 Videos run in the correct frame rate and on their own timer (generally the
 system clock in the computer), and loop when they get to the end or whenever an