]> git.sesse.net Git - vlc/commitdiff
Lua: document function vlc.stream : addfilter
authorJean-Philippe André <jpeg@videolan.org>
Sat, 19 Dec 2009 18:33:33 +0000 (19:33 +0100)
committerJean-Philippe André <jpeg@videolan.org>
Sat, 19 Dec 2009 18:33:33 +0000 (19:33 +0100)
share/lua/README.txt

index 7469f530c29c5113df94fb79a8e33d24cdb5b070..4defc9b54f970b55292b1314b905bdb2522b9619 100644 (file)
@@ -271,6 +271,7 @@ stream( url ): Instantiate a stream object for specific url.
 s = vlc.stream( "http://www.videolan.org/" )
 s:read( 128 ) -- read up to 128 characters. Return 0 if no more data is available (FIXME?).
 s:readline() -- read a line. Return nil if EOF was reached.
+s:addfilter() -- add a stream filter. If no argument was specified, try to add all automatic stream filters.
 
 Strings
 -------