diff options
author | wm4 <wm4@nowhere> | 2014-01-25 23:01:00 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-31 19:06:49 +0100 |
commit | 4d986d2a9871c77f3dab21acd38e070378a48f42 (patch) | |
tree | 58fe78b0edd8a584fde36a88eb4b9fe32ff9da22 /audio/chmap_sel.c | |
parent | ada6f96811804894d61956ed4b3a62b46d315a24 (diff) | |
download | mpv-4d986d2a9871c77f3dab21acd38e070378a48f42.tar.bz2 mpv-4d986d2a9871c77f3dab21acd38e070378a48f42.tar.xz |
demux_lavf: add hack to workaround too unreliable mp3 detection
This generally affects mp3 files that don't have any (or many) mp3
frames in the first 2 MB. 2 MB is the maximum probe size, and
libavformat returns a low probescore even if we give it the full 2 MB.
Trying to probe a larger buffer (or even the full file) doesn't work for
mysterious reasons.
The workaround consists in accepting a very weak probescore if the
format is detected as mp3 and we probed already 2 MB.
Diffstat (limited to 'audio/chmap_sel.c')
0 files changed, 0 insertions, 0 deletions