ekiga r7786 - trunk/lib/engine/components/gstreamer



Author: jpuydt
Date: Tue Mar 17 20:31:26 2009
New Revision: 7786
URL: http://svn.gnome.org/viewvc/ekiga?rev=7786&view=rev

Log:
Commented out the debug code in the gstreamer component

Modified:
   trunk/lib/engine/components/gstreamer/gst-audioinput.cpp
   trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp
   trunk/lib/engine/components/gstreamer/gst-videoinput.cpp

Modified: trunk/lib/engine/components/gstreamer/gst-audioinput.cpp
==============================================================================
--- trunk/lib/engine/components/gstreamer/gst-audioinput.cpp	(original)
+++ trunk/lib/engine/components/gstreamer/gst-audioinput.cpp	Tue Mar 17 20:31:26 2009
@@ -104,7 +104,7 @@
 			     " 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) {

Modified: trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp
==============================================================================
--- trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp	(original)
+++ trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp	Tue Mar 17 20:31:26 2009
@@ -129,7 +129,7 @@
 			     " ! %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 @@
 
   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;
 }

Modified: trunk/lib/engine/components/gstreamer/gst-videoinput.cpp
==============================================================================
--- trunk/lib/engine/components/gstreamer/gst-videoinput.cpp	(original)
+++ trunk/lib/engine/components/gstreamer/gst-videoinput.cpp	Tue Mar 17 20:31:26 2009
@@ -116,7 +116,7 @@
 			     " 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]