[soundconverter] - Fix command-line FLAC compression default in order to avoid crash.
Michael Schwendt
mschwendt at fedoraproject.org
Mon Nov 29 22:14:31 UTC 2010
commit d361d566e186128028f52758b17cae6ec0c76423
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Mon Nov 29 23:14:37 2010 +0100
- Fix command-line FLAC compression default in order to avoid crash.
soundconverter-1.5.3-cli-batch.patch | 9 +++++----
soundconverter.spec | 5 ++++-
2 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/soundconverter-1.5.3-cli-batch.patch b/soundconverter-1.5.3-cli-batch.patch
index e2b05dd..9179e9a 100644
--- a/soundconverter-1.5.3-cli-batch.patch
+++ b/soundconverter-1.5.3-cli-batch.patch
@@ -1,6 +1,6 @@
diff -Nur soundconverter-1.5.3-orig/src/soundconverter.py soundconverter-1.5.3/src/soundconverter.py
--- soundconverter-1.5.3-orig/src/soundconverter.py 2010-06-16 22:49:49.000000000 +0200
-+++ soundconverter-1.5.3/src/soundconverter.py 2010-11-26 13:48:06.978548719 +0100
++++ soundconverter-1.5.3/src/soundconverter.py 2010-11-29 23:10:33.729907282 +0100
@@ -103,7 +103,7 @@
help=_('Show tags for input files instead of converting'
'them. This indicates \n command line batch mode'
@@ -43,15 +43,16 @@ diff -Nur soundconverter-1.5.3-orig/src/soundconverter.py soundconverter-1.5.3/s
self.queue_ended()
self.running = False
-@@ -1169,6 +1179,7 @@
+@@ -1169,6 +1179,8 @@
self.mp3_bitrate = None
self.mp3_mode = None
self.mp3_quality = None
+ self.wav_sample_width = 16
++ self.flac_compression = 8
self.output_resample = output_resample
self.resample_rate = resample_rate
-@@ -2804,12 +2815,11 @@
+@@ -2804,12 +2816,11 @@
if not get_option('quiet'):
print input_file.get_uri()
t = TagReader(input_file)
@@ -68,7 +69,7 @@ diff -Nur soundconverter-1.5.3-orig/src/soundconverter.py soundconverter-1.5.3/s
keys.sort()
for key in keys:
print ' %s: %s' % (key, input_file[key])
-@@ -2845,21 +2855,25 @@
+@@ -2845,21 +2856,25 @@
progress = CliProgress()
queue = TaskQueue()
diff --git a/soundconverter.spec b/soundconverter.spec
index d45f572..84f6904 100644
--- a/soundconverter.spec
+++ b/soundconverter.spec
@@ -1,6 +1,6 @@
Name: soundconverter
Version: 1.5.3
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Simple sound converter application for GNOME
Group: Applications/Multimedia
@@ -100,6 +100,9 @@ update-desktop-database &> /dev/null ||:
%changelog
+* Mon Nov 29 2010 Michael Schwendt <mschwendt at fedoraproject.org> - 1.5.3-7
+- Fix command-line FLAC compression default in order to avoid crash.
+
* Fri Nov 26 2010 Michael Schwendt <mschwendt at fedoraproject.org> - 1.5.3-6
- Fix command-line options -m and -s, which have never worked,
and -t which was broken by changes after 1.4.4.
More information about the scm-commits
mailing list