[rygel/gnome-2-32] core: No need to pass dummy args to Gst.init()



commit dc160708514462949b4cec3bc58649eaf66bef0f
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sun Oct 31 01:37:47 2010 +0300

    core: No need to pass dummy args to Gst.init()
    
    I'm not exactly sure why I was doing that.

 src/rygel/rygel-main.vala |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/rygel/rygel-main.vala b/src/rygel/rygel-main.vala
index e0b1932..7961841 100644
--- a/src/rygel/rygel-main.vala
+++ b/src/rygel/rygel-main.vala
@@ -224,8 +224,7 @@ public class Rygel.Main : Object {
             CmdlineConfig.parse_args (ref args);
 
             // initialize gstreamer
-            var dummy_args = new string[0];
-            Gst.init (ref dummy_args);
+            Gst.init (ref args);
 
             main = new Main ();
             service = new DBusService (main);



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