rpms/totem/F-11 0001-Set-the-PA-stream-volume-from-Totem.patch, 1.1, 1.2 totem.spec, 1.244, 1.245
Bastien Nocera
hadess at fedoraproject.org
Tue Sep 15 12:23:20 UTC 2009
Author: hadess
Update of /cvs/pkgs/rpms/totem/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32294
Modified Files:
0001-Set-the-PA-stream-volume-from-Totem.patch totem.spec
Log Message:
* Tue Sep 15 2009 Bastien Nocera <bnocera at redhat.com> 2.26.3-5
- Another pass at PA volume patch, should be much better
0001-Set-the-PA-stream-volume-from-Totem.patch:
bacon-video-widget-gst-0.10.c | 96 +++++++++++++++++++++++++++++++++---------
1 file changed, 76 insertions(+), 20 deletions(-)
Index: 0001-Set-the-PA-stream-volume-from-Totem.patch
===================================================================
RCS file: /cvs/pkgs/rpms/totem/F-11/0001-Set-the-PA-stream-volume-from-Totem.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- 0001-Set-the-PA-stream-volume-from-Totem.patch 19 Aug 2009 10:11:12 -0000 1.1
+++ 0001-Set-the-PA-stream-volume-from-Totem.patch 15 Sep 2009 12:23:19 -0000 1.2
@@ -1,4 +1,4 @@
-From c303cf285622fe8ded8e46b0a7c61a756501156d Mon Sep 17 00:00:00 2001
+From 6bd2e600030cfd3b19a4612a79eb8fcf07d878b5 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Tue, 18 Aug 2009 17:11:18 +0100
Subject: [PATCH] Set the PA stream volume from Totem
@@ -9,11 +9,11 @@ Subject: [PATCH] Set the PA stream volum
a stream
- don't set the volume on the stream on startup when using pulsesink
---
- src/backend/bacon-video-widget-gst-0.10.c | 97 +++++++++++++++++++++++------
- 1 files changed, 78 insertions(+), 19 deletions(-)
+ src/backend/bacon-video-widget-gst-0.10.c | 95 +++++++++++++++++++++++------
+ 1 files changed, 76 insertions(+), 19 deletions(-)
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
-index e43e068..0440777 100644
+index e43e068..066b2f3 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -163,7 +163,9 @@ struct BaconVideoWidgetPrivate
@@ -171,7 +171,7 @@ index e43e068..0440777 100644
}
} else {
audio_sink = gst_element_factory_make ("fakesink", "audio-fake-sink");
-@@ -5160,9 +5209,19 @@ bacon_video_widget_new (int width, int height,
+@@ -5160,9 +5209,17 @@ bacon_video_widget_new (int width, int height,
/* make fakesink sync to the clock like a real sink */
g_object_set (audio_sink, "sync", TRUE, NULL);
GST_DEBUG ("audio sink doesn't work, using fakesink instead");
@@ -184,8 +184,6 @@ index e43e068..0440777 100644
+ * we need to modify, not playbin's one */
+ if (g_object_class_find_property (G_OBJECT_GET_CLASS (audio_sink), "volume")) {
+ bvw->priv->pulse_audio_sink = g_object_ref (audio_sink);
-+ g_object_set (bvw->priv->play, "volume",
-+ (gdouble) 1.0, NULL);
+ g_signal_connect (G_OBJECT (bvw->priv->pulse_audio_sink), "notify::volume",
+ G_CALLBACK (notify_volume_cb), bvw);
+ }
Index: totem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/totem/F-11/totem.spec,v
retrieving revision 1.244
retrieving revision 1.245
diff -u -p -r1.244 -r1.245
--- totem.spec 2 Sep 2009 16:25:10 -0000 1.244
+++ totem.spec 15 Sep 2009 12:23:19 -0000 1.245
@@ -9,7 +9,7 @@
Summary: Movie player for GNOME
Name: totem
Version: 2.26.3
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv2+ with exceptions
Group: Applications/Multimedia
URL: http://projects.gnome.org/totem/
@@ -485,6 +485,9 @@ fi
%endif
%changelog
+* Tue Sep 15 2009 Bastien Nocera <bnocera at redhat.com> 2.26.3-5
+- Another pass at PA volume patch, should be much better
+
* Wed Sep 02 2009 Bastien Nocera <bnocera at redhat.com> 2.26.3-4
- Really fix #514914 (crash when a drive has an emblemed icon)
More information about the fedora-extras-commits
mailing list