[rygel] core: No need to pass dummy args to Gst.init()
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: No need to pass dummy args to Gst.init()
- Date: Mon, 1 Nov 2010 12:54:23 +0000 (UTC)
commit 4916fa4d7d701eb30ff949bca1c64afd4cd2a74b
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 bf1fd85..43507e6 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]