[banshee/gapless-ng] Consolidate multi-line debug messages
- From: Christopher James Halse Rogers <chrishr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/gapless-ng] Consolidate multi-line debug messages
- Date: Tue, 9 Mar 2010 10:42:28 +0000 (UTC)
commit de3457509a42d6e705554c8fbe5f80be1fffac84
Author: Christopher James Halse Rogers <chrishr src gnome org>
Date: Tue Mar 9 21:30:50 2010 +1100
Consolidate multi-line debug messages
libbanshee/banshee-player-pipeline.c | 3 +--
.../Banshee.GStreamer/PlayerEngine.cs | 10 +++++-----
2 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/libbanshee/banshee-player-pipeline.c b/libbanshee/banshee-player-pipeline.c
index 0993519..376300a 100644
--- a/libbanshee/banshee-player-pipeline.c
+++ b/libbanshee/banshee-player-pipeline.c
@@ -80,8 +80,7 @@ bp_next_track_starting (BansheePlayer *player)
if (player->in_gapless_transition && has_video) {
gchar *uri;
- bp_debug ("[Gapless]: Aborting gapless transition to stream with video.");
- bp_debug ("[Gapless]: Triggering normal track change.");
+ bp_debug ("[Gapless]: Aborting gapless transition to stream with video. Triggering normal track change");
g_object_get (G_OBJECT (player->playbin), "uri", &uri, NULL);
gst_element_set_state (player->playbin, GST_STATE_READY);
diff --git a/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs b/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
index f37c975..61d95c8 100644
--- a/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
+++ b/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
@@ -289,9 +289,9 @@ namespace Banshee.GStreamer
if (!next_track_pending) {
OnEventChanged (PlayerEvent.RequestNextTrack);
} else if (pending_uri != null) {
- Log.Warning ("[Gapless] EOS signalled while waiting for next track.");
- Log.Warning ("[Gapless] This means that Banshee was too slow at calculating what track to play next");
- Log.Warning ("[Gapless] If this happens frequently, please file a bug.");
+ Log.Warning ("[Gapless] EOS signalled while waiting for next track. This means that Banshee " +
+ "was too slow at calculating what track to play next. " +
+ "If this happenrs frequently, please file a bug");
OnStateChanged (PlayerState.Loading);
OpenUri (pending_uri);
Play ();
@@ -301,8 +301,8 @@ namespace Banshee.GStreamer
// and so blocks the bus callback from delivering the EOS message.
//
// Playback should continue as normal from here, when the RequestNextTrack message gets handled.
- Log.Warning ("[Gapless] EndOfStream message recieved before the next track has been set");
- Log.Warning ("[Gapless] If this happens frequently, please file a bug");
+ Log.Warning ("[Gapless] EndOfStream message recieved before the next track has been set. " +
+ "If this happens frequently, please file a bug");
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]