summaryrefslogtreecommitdiff
path: root/community/gnome-media/grecord-add-PULSEPROPmediarole.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-media/grecord-add-PULSEPROPmediarole.patch')
-rw-r--r--community/gnome-media/grecord-add-PULSEPROPmediarole.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/gnome-media/grecord-add-PULSEPROPmediarole.patch b/community/gnome-media/grecord-add-PULSEPROPmediarole.patch
new file mode 100644
index 000000000..b75dd3c5c
--- /dev/null
+++ b/community/gnome-media/grecord-add-PULSEPROPmediarole.patch
@@ -0,0 +1,26 @@
+From 5453719b61ada75f635f0c3ad3c78651102d7615 Mon Sep 17 00:00:00 2001
+From: Oleksij Rempel <bug-track@fisher-privat.net>
+Date: Wed, 06 Jun 2012 11:50:04 +0000
+Subject: grecord: add "PULSE_PROP_media.role"
+
+For more details see:
+http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/ApplicationProperties
+
+Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
+
+https://bugzilla.gnome.org/show_bug.cgi?id=644908
+---
+diff --git a/grecord/src/gnome-recorder.c b/grecord/src/gnome-recorder.c
+index c6c7b7e..c7ec5cc 100644
+--- a/grecord/src/gnome-recorder.c
++++ b/grecord/src/gnome-recorder.c
+@@ -190,6 +190,7 @@ main (int argc,
+
+ g_option_context_free (ctx);
+ gtk_window_set_default_icon_name ("gnome-sound-recorder");
++ g_setenv ("PULSE_PROP_media.role", "production", TRUE);
+
+ /* use it like a singleton */
+ gconf_client = gconf_client_get_default ();
+--
+cgit v0.9.1