diff options
author | John Stebbins <[email protected]> | 2015-10-16 11:32:48 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-01-11 14:36:15 -0700 |
commit | 538b19dad71edcbb0c13ba4d6e03c301d7109163 (patch) | |
tree | f65d0418a1d966564a174995865d91808ee0dbb2 /contrib | |
parent | 1f96c52a958cb560d21c0a65814eb336a56780d6 (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.
(cherry picked from commit d05e644d5243dbd0d0cb7550e28345b897c8f7cd)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ffmpeg/module.defs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs index 5c4a1a8e4..3de55eb17 100644 --- a/contrib/ffmpeg/module.defs +++ b/contrib/ffmpeg/module.defs @@ -28,11 +28,13 @@ FFMPEG.CONFIGURE.extra = \ --disable-network \ --disable-hwaccels \ --disable-encoders \ + --enable-libmp3lame \ --enable-encoder=aac \ --enable-encoder=ac3 \ --enable-encoder=flac \ --enable-encoder=mpeg2video \ --enable-encoder=mpeg4 \ + --enable-encoder=libmp3lame \ --enable-libvpx \ --enable-encoder=libvpx_vp8 \ --disable-decoder=libvpx_vp8 \ |