You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-mobilephone/bitpim/files/bitpim-1.0.6-ffmpeg_quality...

13 lines
835 B

diff -Nru bitpim-1.0.6.orig/src/conversions.py bitpim-1.0.6/src/conversions.py
--- bitpim-1.0.6.orig/src/conversions.py 2008-11-02 13:51:31.000000000 +0000
+++ bitpim-1.0.6/src/conversions.py 2008-11-02 13:52:21.000000000 +0000
@@ -239,7 +239,7 @@
ffmpeg=gethelperbinary("ffmpeg")
with common.usetempfile('mp3') as mp3file:
try:
- run(ffmpeg, "-i", shortfilename(inputfilename), "-hq", "-ab", `bitrate`, "-ar", `samplerate`, "-ac", `channels`, shortfilename(mp3file))
+ run(ffmpeg, "-i", shortfilename(inputfilename), "-sameq", "-ab", `bitrate`, "-ar", `samplerate`, "-ac", `channels`, shortfilename(mp3file))
except common.CommandExecutionFailed, e:
# we get this exception on bad parameters, or any other
# issue so we assume bad parameters for the moment.