summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-03-18 11:44:50 +0100
committerBastien Nocera <hadess@hadess.net>2013-03-18 18:26:44 +0100
commitb966422cfd9d1e81c75613383ba041efc7d6f1fd (patch)
treee47482abc2f9857fba36f0ac67133c48bf9eba1b
parent1ee52be381369810c5d4754e9d6759fdcddb713c (diff)
downloadtotem-b966422cfd9d1e81c75613383ba041efc7d6f1fd.tar.gz
backend: Fix running with clutter-gst in different prefix
We did not call clutter_gst_init(), so the cluttersink plugin would not be registered. This meant that we just happened to be able to get the sink through its (deprecated) stand-alone plugin. Calling clutter_gst_init() means that we don't need to rely on libgstclutter.so being available in the GStreamer plugin directory of the prefix for us to be able to find it.
-rw-r--r--src/backend/bacon-video-widget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index c38881ecb..5fd2843b4 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -764,6 +764,8 @@ bacon_video_widget_class_init (BaconVideoWidgetClass * klass)
GObjectClass *object_class;
GtkWidgetClass *widget_class;
+ clutter_gst_init (NULL, NULL);
+
object_class = (GObjectClass *) klass;
widget_class = (GtkWidgetClass *) klass;