[banshee] gst#: Fix cdda cached device parsing
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] gst#: Fix cdda cached device parsing
- Date: Thu, 18 Aug 2011 19:50:06 +0000 (UTC)
commit 0e5f4797e90ffb93e3b1bb762c9c8c7a7efd13da
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Thu Aug 18 20:56:05 2011 +0200
gst#: Fix cdda cached device parsing
.../Banshee.GStreamerSharp/CddaManager.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/CddaManager.cs b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/CddaManager.cs
index 2a7ae4b..94e9050 100644
--- a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/CddaManager.cs
+++ b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/CddaManager.cs
@@ -137,7 +137,7 @@ namespace Banshee.GStreamerSharp
}
p = uri.IndexOf ('#');
- if (p == -1 || p + 2 < uri.Length) {
+ if (p == -1 || p + 2 > uri.Length) {
// Unset the cached device node if the URI doesn't
// have its own valid device node
Device = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]