[soundconverter] Ignore bad audio profiles (#744596) and multiple ones with no description. Remove %defattr line.
Michael Schwendt
mschwendt at fedoraproject.org
Sun Oct 9 18:22:30 UTC 2011
commit 8b6e77b25c50d8b9a5a15d8b4e2404b418df623b
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Sun Oct 9 20:22:27 2011 +0200
Ignore bad audio profiles (#744596) and multiple ones with no description.
Remove %defattr line.
soundconverter-1.5.4-gst-profile-bad.patch | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/soundconverter-1.5.4-gst-profile-bad.patch b/soundconverter-1.5.4-gst-profile-bad.patch
index 69f4472..7b2f315 100644
--- a/soundconverter-1.5.4-gst-profile-bad.patch
+++ b/soundconverter-1.5.4-gst-profile-bad.patch
@@ -1,13 +1,15 @@
diff -Nur soundconverter-1.5.4-orig/src/soundconverter.py soundconverter-1.5.4/src/soundconverter.py
--- soundconverter-1.5.4-orig/src/soundconverter.py 2011-01-06 21:47:14.000000000 +0100
-+++ soundconverter-1.5.4/src/soundconverter.py 2011-10-09 20:14:16.621084082 +0200
-@@ -452,6 +452,12 @@
++++ soundconverter-1.5.4/src/soundconverter.py 2011-10-09 20:21:33.341415801 +0200
+@@ -452,6 +452,14 @@
description = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/name")
extension = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/extension")
pipeline = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/pipeline")
+ if not description:
+ description = "-"
-+ if (not extension) and (not pipeline):
++ if not extension:
++ extension = ""
++ if not pipeline:
+ continue
+ if audio_profiles_dict.has_key(description):
+ continue
More information about the scm-commits
mailing list