[totem] backend: Fix running with clutter-gst in different prefix



commit f14eddcd0f2afec37017bb5008c2ab6f35a5c159
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Mar 18 11:44:50 2013 +0100

    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.

 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 1aef5ed..ba218af 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -763,6 +763,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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]