diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-03-18 11:44:50 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-03-18 18:26:44 +0100 |
commit | b966422cfd9d1e81c75613383ba041efc7d6f1fd (patch) | |
tree | e47482abc2f9857fba36f0ac67133c48bf9eba1b | |
parent | 1ee52be381369810c5d4754e9d6759fdcddb713c (diff) | |
download | totem-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.c | 2 |
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; |