[vlc-commits] commit: appletrailer: fix adding those other hd-resolutions besides 480p ( Ilkka Ollakka )

git at videolan.org git at videolan.org
Thu Apr 22 12:39:44 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Thu Apr 22 13:39:26 2010 +0300| [78973025e4065e463202e2c72d96dc1deb4d1dd1] | committer: Ilkka Ollakka 

appletrailer: fix adding those other hd-resolutions besides 480p

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=78973025e4065e463202e2c72d96dc1deb4d1dd1
---

 share/lua/playlist/appletrailers_iphone.lua |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/lua/playlist/appletrailers_iphone.lua b/share/lua/playlist/appletrailers_iphone.lua
index 0363d4c..0edab6c 100644
--- a/share/lua/playlist/appletrailers_iphone.lua
+++ b/share/lua/playlist/appletrailers_iphone.lua
@@ -59,8 +59,8 @@ function parse()
         end
     end
     for index,resolution in ipairs({"480p","720p","1080p"}) do
-        path = string.gsub( path, "r320i.mov","h"..resolution..".mov")
-        table.insert( p, { path=path; name=title.." ("..resolution..")"; arturl=arturl; description=description; options={":http-user-agent=Quicktime/7.2.0 vlc lua edition",":input-fast-seek",":play-and-stop"};} )
+        locationurl = string.gsub( path, "r320i.mov","h"..resolution..".mov")
+        table.insert( p, { path=locationurl ; name=title.." ("..resolution..")"; arturl=arturl; description=description; options={":http-user-agent=Quicktime/7.2.0 vlc lua edition",":input-fast-seek",":play-and-stop"};} )
     end
     return p
 end



More information about the vlc-commits mailing list