[ekiga/gnome-2-26] Commented out the debug code in the gstreamer component



commit 7c8039e41c9461ce970c88d2ea4a6ce6d0f4434d
Author: Julien Puydt <jpuydt src gnome org>
Date:   Tue Mar 17 20:31:26 2009 +0000

    Commented out the debug code in the gstreamer component
    
    svn path=/trunk/; revision=7786
---
 lib/engine/components/gstreamer/gst-audioinput.cpp |    2 +-
 .../components/gstreamer/gst-audiooutput.cpp       |   16 ++++++++--------
 lib/engine/components/gstreamer/gst-videoinput.cpp |    2 +-
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/lib/engine/components/gstreamer/gst-audioinput.cpp b/lib/engine/components/gstreamer/gst-audioinput.cpp
index f154ba4..370ea40 100644
--- a/lib/engine/components/gstreamer/gst-audioinput.cpp
+++ b/lib/engine/components/gstreamer/gst-audioinput.cpp
@@ -104,7 +104,7 @@ GST::AudioInputManager::open (unsigned channels,
 			     " name=ekiga_sink",
 			     devices_by_name[std::pair<std::string,std::string>(current_state.device.source, current_state.device.name)].c_str (),
 			     samplerate, channels, bits_per_sample);
-  g_print ("Pipeline: %s\n", command);
+  //g_print ("Pipeline: %s\n", command);
   pipeline = gst_parse_launch (command, &error);
 
   if (error == NULL) {
diff --git a/lib/engine/components/gstreamer/gst-audiooutput.cpp b/lib/engine/components/gstreamer/gst-audiooutput.cpp
index 5915030..c02e9d2 100644
--- a/lib/engine/components/gstreamer/gst-audiooutput.cpp
+++ b/lib/engine/components/gstreamer/gst-audiooutput.cpp
@@ -129,7 +129,7 @@ GST::AudioOutputManager::open (Ekiga::AudioOutputPS ps,
 			     " ! %s",
 			     samplerate, channels, bits_per_sample, bits_per_sample,
 			     devices_by_name[std::pair<std::string,std::string>(current_state[ii].device.source, current_state[ii].device.name)].c_str ());
-  g_print ("Pipeline: %s\n", command);
+  //g_print ("Pipeline: %s\n", command);
   pipeline[ii] = gst_parse_launch (command, &error);
 
   if (error == NULL) {
@@ -185,13 +185,13 @@ GST::AudioOutputManager::open (Ekiga::AudioOutputPS ps,
 
   current_state[ii].opened = result;
 
-  std::cout << __PRETTY_FUNCTION__
-	    << " result=";
-  if (result)
-    std::cout << "TRUE";
-  else
-    std::cout << "FALSE";
-  std::cout << std::endl;
+//   std::cout << __PRETTY_FUNCTION__
+// 	    << " result=";
+//   if (result)
+//     std::cout << "TRUE";
+//   else
+//     std::cout << "FALSE";
+//   std::cout << std::endl;
 
   return result;
 }
diff --git a/lib/engine/components/gstreamer/gst-videoinput.cpp b/lib/engine/components/gstreamer/gst-videoinput.cpp
index a5c9903..3e5160e 100644
--- a/lib/engine/components/gstreamer/gst-videoinput.cpp
+++ b/lib/engine/components/gstreamer/gst-videoinput.cpp
@@ -116,7 +116,7 @@ GST::VideoInputManager::open (unsigned width,
 			     " name=ekiga_sink",
 			     devices_by_name[std::pair<std::string,std::string>(current_state.device.source, current_state.device.name)].c_str (),
 			     width, height, fps);
-  g_print ("Pipeline: %s\n", command);
+  //g_print ("Pipeline: %s\n", command);
   pipeline = gst_parse_launch (command, &error);
 
   if (error == NULL) {



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