[totem] nautilus: Use gst_init() directly



commit 725594d5d8e41bc7b334632f8d106ce4f58795d5
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Apr 8 16:39:07 2011 +0100

    nautilus: Use gst_init() directly
    
    Instead of calling the bacon-video-widget.

 src/totem-properties-main.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/totem-properties-main.c b/src/totem-properties-main.c
index 9abcd75..560484f 100644
--- a/src/totem-properties-main.c
+++ b/src/totem-properties-main.c
@@ -27,8 +27,9 @@
 #include <config.h>
 #include <string.h>
 #include <glib/gi18n-lib.h>
+#include <gst/gst.h>
+
 #include "totem-properties-view.h"
-#include "bacon-video-widget.h"
 #include <libnautilus-extension/nautilus-extension-types.h>
 #include <libnautilus-extension/nautilus-property-page-provider.h>
 
@@ -107,7 +108,7 @@ totem_properties_get_pages (NautilusPropertyPageProvider *provider,
 
 	/* okay, make the page, init'ing the backend first if necessary */
 	if (backend_inited == FALSE) {
-		bacon_video_widget_init_backend (NULL, NULL);
+		gst_init (NULL, NULL);
 		backend_inited = TRUE;
 	}
 	uri = nautilus_file_info_get_uri (file);



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