diff options
author | Rodeo <[email protected]> | 2013-03-07 22:12:44 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-03-07 22:12:44 +0000 |
commit | ef0a2e9eff8524621c743e7fbfaa70f14139eabd (patch) | |
tree | ca5cc29d8ea877cea5462bc8eb1912552bf7832e | |
parent | 0058e66974b545911342f72078469653384b509d (diff) |
manicure: fix setting acodec_fallback.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5309 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rwxr-xr-x | scripts/manicure.rb | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/scripts/manicure.rb b/scripts/manicure.rb index b452d4ed7..4978feee1 100755 --- a/scripts/manicure.rb +++ b/scripts/manicure.rb @@ -1215,24 +1215,23 @@ class Display case hash["AudioEncoderFallback"] when /AC3/ - audioEncoderFallback << "HB_ACODEC_AC3" + audioEncoderFallback << "ffac3" when "AAC (ffmpeg)" - audioEncoderFallback << "HB_ACODEC_FFAAC" + audioEncoderFallback << "ffaac" when /AAC/ - audioEncoderFallback << "HB_ACODEC_FAAC" + audioEncoderFallback << "faac" when /Vorbis/ - audioEncoderFallback << "HB_ACODEC_VORBIS" + audioEncoderFallback << "vorbis" when /MP3/ - audioEncoderFallback << "HB_ACODEC_LAME" + audioEncoderFallback << "lame" when /FLAC/ - audioEncoderFallback << "HB_ACODEC_FFFLAC" + audioEncoderFallback << "ffflac" end if audioEncoderFallback.size > 0 - commandString << "if( !acodec_fallback )\n " + commandString << "if( acodec_fallback == NULL )\n " commandString << "{\n " - commandString << " acodec_fallback = " << audioEncoderFallback - commandString << ";\n " + commandString << " acodec_fallback = \"" << audioEncoderFallback << "\";\n " commandString << "}\n " end |