Changeset 1c55fa94d2fe41dd8f42f12c0eec5de329a7a54b
- 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
| r4ad218c |
r1c55fa9 |
|
| 62 | 62 | local bestcodec |
|---|
| 63 | 63 | 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 |
|---|
| 64 | 68 | if pref[codec] < score then |
|---|
| 65 | 69 | bestcodec = codec |
|---|