[banshee] gst#: Add explicit cast in GetSubtitleDescription (bgo#639626)
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] gst#: Add explicit cast in GetSubtitleDescription (bgo#639626)
- Date: Mon, 17 Jan 2011 20:33:00 +0000 (UTC)
commit d04a766fd4afe5cf936fe80ce09f8d5774ec28e8
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Mon Jan 17 21:30:32 2011 +0100
gst#: Add explicit cast in GetSubtitleDescription (bgo#639626)
Fixes compilation.
Also fix code formatting of the previous commit.
.../Banshee.GStreamerSharp/PlayerEngine.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs
index 59f864e..65c5794 100644
--- a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs
+++ b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs
@@ -179,6 +179,7 @@ namespace Banshee.GStreamerSharp
{
return playbin.GetTextTags (index)
.GetTag (Gst.Tag.LanguageCode)
+ .Cast<string> ()
.FirstOrDefault (t => t != null);
}
@@ -251,7 +252,7 @@ namespace Banshee.GStreamerSharp
public override SafeUri SubtitleUri {
set { playbin.Suburi = value.AbsoluteUri; }
- get { return new SafeUri(playbin.Suburi); }
+ get { return new SafeUri (playbin.Suburi); }
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]