summaryrefslogtreecommitdiff
path: root/community/gnome-media/grecord-add-PULSEPROPmediarole.patch
blob: b75dd3c5c054550e3223f894c1f288d96495a48d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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