summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2015-10-16 11:32:48 -0700
committerJohn Stebbins <[email protected]>2015-10-26 07:47:45 -0700
commitd05e644d5243dbd0d0cb7550e28345b897c8f7cd (patch)
tree42caf2af5d99d2c3c74e9c359a647743d498d3e2 /contrib
parent7d7740033448cf58d560efdfa0b78562f6aa62d1 (diff)
lame: Use libav wrapper to encode mp3lame
Fixes https://forum.handbrake.fr/viewtopic.php?f=12&t=33345 Some players expect each packet to start on an mp3 frame header. Our mp3lame encoder did not ensure this and resulted in failure to play audio on these players. libav already has the necessary code to parse headers and accumulate a full frame of data, so use it.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ffmpeg/module.defs2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs
index 035d20960..3621af7bf 100644
--- a/contrib/ffmpeg/module.defs
+++ b/contrib/ffmpeg/module.defs
@@ -27,12 +27,14 @@ FFMPEG.CONFIGURE.extra = \
--disable-network \
--disable-hwaccels \
--disable-encoders \
+ --enable-libmp3lame \
--enable-encoder=aac \
--enable-encoder=ac3 \
--enable-encoder=eac3 \
--enable-encoder=flac \
--enable-encoder=mpeg2video \
--enable-encoder=mpeg4 \
+ --enable-encoder=libmp3lame \
--enable-libvpx \
--enable-encoder=libvpx_vp8 \
--disable-decoder=libvpx_vp8 \