Changeset 1c55fa94d2fe41dd8f42f12c0eec5de329a7a54b

Show
Ignore:
Timestamp:
04/20/08 14:05:15 (3 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1208693115 +0200
git-parent:

[289a05e62b4b972628f8dbaa7199a6887b59ef0d]

git-author:
Rafaël Carré <funman@videolan.org> 1208693115 +0200
Message:

Detect (and use) unknown codecs - idea by JPeg

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • share/lua/playlist/dailymotion.lua

    r4ad218c r1c55fa9  
    6262            local bestcodec 
    6363            for codec,_ in pairs(available) do 
     64                if pref[codec] == nil then 
     65                    vlc.msg_warn( "Unknown codec: " .. codec ) 
     66                    pref[codec] = 42 -- try the 1st unknown codec if other fail 
     67                end 
    6468                if pref[codec] < score then 
    6569                    bestcodec = codec