summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-04 20:38:46 +0200
committerwm4 <wm4@nowhere>2014-05-04 20:38:46 +0200
commitfb2e8387d46346ca0079ba794931078134e89e3e (patch)
treee0f1421b2478978cc39498ce897d88d3c90afd0d /audio
parent767bcdc322c317a50fff0d1ac8dc1cae1649f181 (diff)
downloadmpv-fb2e8387d46346ca0079ba794931078134e89e3e.tar.bz2
mpv-fb2e8387d46346ca0079ba794931078134e89e3e.tar.xz
demux_lavf: one more hack for mp3 from network
mp3 has a hack lowering the probescore for format detection. This is because detecting mp3s is hard due to their nature, and the fact that ID3v2 tags are sometimes several megabytes big. When playing mp3 from network, the mime-type is usually set, and that matches the format hack entry meant for webradios, overriding the normal mp3 entry. This can lead to network mp3s not being detected. Lower the network case to the same probescore as on-disk mp3s. The difference is that for network mp3s, we don't load the full probe-buffer, and we lower the amount of audio the demuxer will read to collect data on opening (0.5 seconds instead of typically 5 seconds).
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions