[rygel] playbin: Make plugin usable with simple engine



commit b587606168f0bb0742aa82c650172340e4361358
Author: Craig Pratt <craig ecaspia com>
Date:   Tue Jul 23 17:16:20 2013 +0200

    playbin: Make plugin usable with simple engine

 src/plugins/playbin/rygel-playbin-module.vala |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/playbin/rygel-playbin-module.vala b/src/plugins/playbin/rygel-playbin-module.vala
index bd90696..29d8668 100644
--- a/src/plugins/playbin/rygel-playbin-module.vala
+++ b/src/plugins/playbin/rygel-playbin-module.vala
@@ -21,6 +21,7 @@
  */
 
 using Rygel;
+using Gst;
 
 public void module_init (PluginLoader loader) {
     if (loader.plugin_disabled (Playbin.Plugin.NAME)) {
@@ -30,6 +31,10 @@ public void module_init (PluginLoader loader) {
         return;
     }
 
+    unowned string[] args = null;
+
+    Gst.init (ref args);
+
     var plugin = new Playbin.Plugin ();
 
     loader.add_plugin (plugin);


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