rpms/sound-juicer/F-11 0001-Disable-paranoia-on-playback.patch, NONE, 1.1 sound-juicer.spec, 1.115, 1.116

Bastien Nocera hadess at fedoraproject.org
Wed Jun 24 14:18:54 UTC 2009


Author: hadess

Update of /cvs/pkgs/rpms/sound-juicer/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11746

Modified Files:
	sound-juicer.spec 
Added Files:
	0001-Disable-paranoia-on-playback.patch 
Log Message:
* Wed Jun 24 2009 Bastien Nocera <bnocera at redhat.com> 2.26.1-4
- Add patch to disable paranoia for playback (#507453)

0001-Disable-paranoia-on-playback.patch:

--- NEW FILE 0001-Disable-paranoia-on-playback.patch ---
>From a7c9526a87382c9993d908482009d6c0f4c0c083 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Wed, 24 Jun 2009 14:46:35 +0100
Subject: [PATCH] Disable paranoia on playback

So that the cdparanoia plugin buffers less, and we don't spend
too much time reading from the drive.
---
 src/sj-play.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/sj-play.c b/src/sj-play.c
index c1f746b..56ea530 100644
--- a/src/sj-play.c
+++ b/src/sj-play.c
@@ -373,6 +373,10 @@ setup (GError **err)
     	              "read-speed", 2,
                       NULL);
     }
+    /* Disable paranoia in playback mode */
+    if (g_object_class_find_property (G_OBJECT_GET_CLASS (source), "paranoia-mode"))
+      g_object_set (source, "paranoia-mode", 0, NULL);
+
     g_object_set (G_OBJECT (cdp),
                   "device", brasero_drive_get_device (drive),
                   NULL);
-- 
1.6.2.2



Index: sound-juicer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sound-juicer/F-11/sound-juicer.spec,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -p -r1.115 -r1.116
--- sound-juicer.spec	7 May 2009 21:47:20 -0000	1.115
+++ sound-juicer.spec	24 Jun 2009 14:18:23 -0000	1.116
@@ -8,7 +8,7 @@
 Name:		sound-juicer
 Summary:	Clean and lean CD ripper
 Version:	2.26.1
-Release:	3%{?dist}
+Release:	4%{?dist}
 License:	GPLv2+
 Group:		Applications/Multimedia
 Source:		http://download.gnome.org/sources/sound-juicer/2.26/%{name}-%{version}.tar.bz2
@@ -17,6 +17,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 Requires:	cdparanoia
 
 Patch0:		sj-gvfs-crash-fix.patch
+Patch1:		0001-Disable-paranoia-on-playback.patch
 
 Requires(pre): GConf2 >= %{gconf_version}
 Requires(post): GConf2 >= %{gconf_version}
@@ -47,6 +48,7 @@ GStreamer-based CD ripping tool. Saves a
 %prep
 %setup -q
 %patch0 -p1 -b .gvfs-crasher
+%patch1 -p1 -b .cdparanoia
 
 %build
 # work around a gstreamer problem where it
@@ -115,6 +117,9 @@ fi
 %{_mandir}/man1/*
 
 %changelog
+* Wed Jun 24 2009 Bastien Nocera <bnocera at redhat.com> 2.26.1-4
+- Add patch to disable paranoia for playback (#507453)
+
 * Thu May 07 2009 Bastien Nocera <bnocera at redhat.com> 2.26.1-3
 - Update patch for #498764
 




More information about the fedora-extras-commits mailing list