[cheese] Initialized GStreamer



commit 5299866beae833b020fdaf69da800a5a962bda56
Author: Patricia Santana Cruz <patriciasc openismus com>
Date:   Thu Feb 24 14:47:18 2011 +0100

    Initialized GStreamer

 src/cheese-main.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/cheese-main.vala b/src/cheese-main.vala
index b2c97d0..2755177 100644
--- a/src/cheese-main.vala
+++ b/src/cheese-main.vala
@@ -96,6 +96,7 @@ public class Cheese.Main : Gtk.Application
     int n_args = local_args.length;
     if (n_args <= 1)
     {
+      Gst.init (ref local_args);
       activate ();
       exit_status = 0;
     }
@@ -140,6 +141,7 @@ public class Cheese.Main : Gtk.Application
       //Primary instance.
       else
       {
+        Gst.init (ref local_args);
         activate ();
         exit_status=0;
       }



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