[ekiga/ds-gtk-application] VideoInput: Preview handling is not managed here anymore.



commit a3966dc6dc878fc18a07216ec9438d88314c0db0
Author: Damien Sandras <dsandras beip be>
Date:   Sun Feb 16 13:20:12 2014 +0100

    VideoInput: Preview handling is not managed here anymore.

 lib/engine/videoinput/videoinput-core.cpp |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/lib/engine/videoinput/videoinput-core.cpp b/lib/engine/videoinput/videoinput-core.cpp
index c06f2fc..2d08ed4 100644
--- a/lib/engine/videoinput/videoinput-core.cpp
+++ b/lib/engine/videoinput/videoinput-core.cpp
@@ -227,16 +227,6 @@ void VideoInputCore::setup (std::string setting)
                         VideoSizes[size].height,
                         max_frame_rate);
   }
-
-  /* Previenw */
-  if (setting == "any" || setting == "enable-preview") {
-    if (g_settings_get_boolean (settings, "enable-preview")) {
-      start_preview ();
-    }
-    else {
-      stop_preview ();
-    }
-  }
 }
 
 


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