[totem] Bug 592631 - PULSE_PROP_media.role is wrong when playing audio
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [totem] Bug 592631 - PULSE_PROP_media.role is wrong when playing audio
- Date: Thu, 3 Sep 2009 12:56:20 +0000 (UTC)
commit 25a45ed4e16bac71eaed6455f8cf6f5f2f6ee19d
Author: Bastien Nocera <hadess hadess net>
Date: Thu Sep 3 13:55:33 2009 +0100
Bug 592631 - PULSE_PROP_media.role is wrong when playing audio
Use "music" instead of "audio" as the PA role.
browser-plugin/totem-plugin-viewer.c | 2 +-
src/totem-audio-preview.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c
index 6a87635..e8634b7 100644
--- a/browser-plugin/totem-plugin-viewer.c
+++ b/browser-plugin/totem-plugin-viewer.c
@@ -2206,7 +2206,7 @@ int main (int argc, char **argv)
if (arg_audioonly != FALSE)
g_setenv("PULSE_PROP_media.role", "video", TRUE);
else
- g_setenv("PULSE_PROP_media.role", "audio", TRUE);
+ g_setenv("PULSE_PROP_media.role", "music", TRUE);
// FIXME check that ALL necessary params were given!
if (arg_plugin_type == TOTEM_PLUGIN_TYPE_LAST) {
diff --git a/src/totem-audio-preview.c b/src/totem-audio-preview.c
index 4b4dd86..2f5b256 100644
--- a/src/totem-audio-preview.c
+++ b/src/totem-audio-preview.c
@@ -81,7 +81,7 @@ int main (int argc, char **argv)
g_set_application_name (_("Audio Preview"));
gtk_window_set_default_icon_name ("totem");
- g_setenv("PULSE_PROP_media.role", "audio", TRUE);
+ g_setenv("PULSE_PROP_media.role", "music", TRUE);
context = g_option_context_new ("Plays audio passed on the standard input or the filename passed on the command-line");
options = bacon_video_widget_get_option_group ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]