summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-27 23:27:59 +0200
committerwm4 <wm4@nowhere>2013-05-27 23:27:59 +0200
commitcc1b1f773fce876dec196d73161393f6ddd91da6 (patch)
tree95650c5e217923639068697f7fed7dfd061feb25 /demux
parent8cfb87d200b9029d9318d1c6ce76e489e78c2121 (diff)
downloadmpv-cc1b1f773fce876dec196d73161393f6ddd91da6.tar.bz2
mpv-cc1b1f773fce876dec196d73161393f6ddd91da6.tar.xz
demuxer_lavf: use audio/mpeg mime type for mp3
Basically, add exactly the same hacks for mp3 as we did for AAC. Should make starting mp3 streams much faster.
Diffstat (limited to 'demux')
-rw-r--r--demux/demux_lavf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c
index 64452b97f5..a978bc9cee 100644
--- a/demux/demux_lavf.c
+++ b/demux/demux_lavf.c
@@ -93,6 +93,7 @@ struct format_hack {
static const struct format_hack format_hacks[] = {
{"aac", "audio/aacp", 25, 0.5},
+ {"mp3", "audio/mpeg", 25, 0.5},
{0}
};