]> git.sesse.net Git - vlc/commitdiff
appletrailers: add ffmpeg-fallback to demuxer
authorIlkka Ollakka <ileoo@videolan.org>
Sat, 22 May 2010 07:58:01 +0000 (10:58 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Sat, 22 May 2010 07:58:01 +0000 (10:58 +0300)
This should fix usage on windows.

share/lua/sd/appletrailers.lua

index 8d392560c0d0b8567c747efdac8178b309c1e0bf..3fd25a87d6108a08c255bb7ed539616013632201 100644 (file)
@@ -32,7 +32,7 @@ end
 function main()
     fd = vlc.stream( "http://trailers.apple.com/trailers/home/feeds/just_hd.json" )
     if not fd then return nil end
-    options = {":http-user-agent=QuickTime/7.2 vlc edition",":demux=avformat",":play-and-pause"}
+    options = {":http-user-agent=QuickTime/7.2 vlc edition",":demux=avformat,ffmpeg",":play-and-pause"}
     line = fd:readline()
     while line ~= nil
     do