[rhythmbox] add comments for messages about output device failure (bug #584770)
- From: Jonathan Matthew <jmatthew src gnome org>
- To: svn-commits-list gnome org
- Subject: [rhythmbox] add comments for messages about output device failure (bug #584770)
- Date: Sat, 6 Jun 2009 23:07:52 -0400 (EDT)
commit 131e311c643af362638af1c584158f55cfbbfdca
Author: Jonathan Matthew <jonathan d14n org>
Date: Sun Jun 7 13:05:41 2009 +1000
add comments for messages about output device failure (bug #584770)
---
backends/gstreamer/rb-player-gst-xfade.c | 1 +
backends/gstreamer/rb-player-gst.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/backends/gstreamer/rb-player-gst-xfade.c b/backends/gstreamer/rb-player-gst-xfade.c
index a69fb02..c6ba5e8 100644
--- a/backends/gstreamer/rb-player-gst-xfade.c
+++ b/backends/gstreamer/rb-player-gst-xfade.c
@@ -2750,6 +2750,7 @@ start_sink_locked (RBPlayerGstXFade *player, GList **messages, GError **error)
g_free (debug);
if (error != NULL && *error == NULL) {
+ /* Translators: the parameter here is an error message */
g_set_error (error,
RB_PLAYER_ERROR,
RB_PLAYER_ERROR_INTERNAL, /* ? */
diff --git a/backends/gstreamer/rb-player-gst.c b/backends/gstreamer/rb-player-gst.c
index 1257668..a39350e 100644
--- a/backends/gstreamer/rb-player-gst.c
+++ b/backends/gstreamer/rb-player-gst.c
@@ -574,6 +574,7 @@ set_state_and_wait (RBPlayerGst *player, GstState target, GError **error)
if (message_from_sink (player->priv->audio_sink, message)) {
rb_debug ("got error from sink: %s (%s)", gst_error->message, debug);
+ /* Translators: the parameter here is an error message */
g_set_error (error,
RB_PLAYER_ERROR,
RB_PLAYER_ERROR_INTERNAL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]