[banshee] Check for clutter 1.0, use Log.Exception
- From: Aaron Bockover <abock src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] Check for clutter 1.0, use Log.Exception
- Date: Fri, 11 Sep 2009 21:59:43 +0000 (UTC)
commit dc412e021cbcd7c60ab8b409ca46a3c168fa9d30
Author: Aaron Bockover <abockover novell com>
Date: Mon Aug 17 18:11:40 2009 +0200
Check for clutter 1.0, use Log.Exception
Patch to require clutter-1.0 >= 1.0.3 so we link against the new
Clutter 1.0 binaries; in case Clutter can't be initialized in the
PlayerEngine backend, use Log.Exception to show why instead of
Log.Warning
build/m4/banshee/libbanshee.m4 | 2 +-
.../Banshee.GStreamer/PlayerEngine.cs | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/build/m4/banshee/libbanshee.m4 b/build/m4/banshee/libbanshee.m4
index 09bcd3e..27bc6e1 100644
--- a/build/m4/banshee/libbanshee.m4
+++ b/build/m4/banshee/libbanshee.m4
@@ -26,7 +26,7 @@ AC_DEFUN([BANSHEE_CHECK_LIBBANSHEE],
fi
PKG_CHECK_MODULES(CLUTTER,
- clutter-0.9 >= 0.9.5,
+ clutter-1.0 >= 1.0.3,
enable_clutter=yes, enable_clutter=no)
if test "x$enable_clutter" = "xyes"; then
diff --git a/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs b/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
index d889e7c..098e842 100644
--- a/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
+++ b/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
@@ -528,8 +528,8 @@ namespace Banshee.GStreamer
clutter_video_sink = IntPtr.Zero;
clutter_video_texture = IntPtr.Zero;
}
- } catch {
- Log.Warning ("Clutter support could not be initialized");
+ } catch (Exception e) {
+ Log.Exception ("Clutter support could not be initialized", e);
clutter_video_sink = IntPtr.Zero;
clutter_video_texture = IntPtr.Zero;
clutter_video_sink_enabled = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]