summaryrefslogtreecommitdiffstats
path: root/sub/sd_ass.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-25 23:01:00 +0100
committerwm4 <wm4@nowhere>2014-01-25 23:01:00 +0100
commitb4ea5018f262ad783858d60dabdd530332735003 (patch)
tree8e78fc676a872c5c7ead85b113fa70c12a5313ac /sub/sd_ass.c
parent4ed7b3c2f9008aea5de0fb1ff2473d48b82bef8a (diff)
downloadmpv-b4ea5018f262ad783858d60dabdd530332735003.tar.bz2
mpv-b4ea5018f262ad783858d60dabdd530332735003.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 'sub/sd_ass.c')
0 files changed, 0 insertions, 0 deletions