[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    [PATCH] debug remove
From:       Martin Vogt <mvogt () rhrk ! uni-kl ! de>
Date:       2000-09-07 16:45:30
[Download RAW message or body]

Hi,

this patch removes some debug information.

Martin


["a.txt" (text/plain)]

? decoderBaseObject.h
? decoderBaseObject.cc
? a.txt
Index: decoderBaseObject_impl.cpp
===================================================================
RCS file: /home/kde/kdemultimedia/mpeglib_artsplug/decoderBaseObject_impl.cpp,v
retrieving revision 1.12
diff -u -r1.12 decoderBaseObject_impl.cpp
--- decoderBaseObject_impl.cpp	2000/08/30 20:25:13	1.12
+++ decoderBaseObject_impl.cpp	2000/09/07 16:43:47
@@ -72,8 +72,6 @@
   int back=true;
 
 
-  cout << "loadMedia:" << filename<<endl;
-
   if ( inputStream != NULL ) {
     cout << "remove resources first with a call to: halt()"<<endl;
     exit(0);
@@ -142,14 +140,12 @@
   float currentTime=audioTime->getTime()+(float)startTime;
   time.seconds=(long)(currentTime);
   time.ms=(long) (1000.0*(currentTime-(float)time.seconds));
-  cout << "currentTime :"<<time.seconds<<endl;
   return time;
 }
 
 
 
 poTime DecoderBaseObject_impl::overallTime() {
-  cout << "overallTime"<<endl;
   poTime time;
 #ifdef _STRIP_ZERO  
   return time;
@@ -183,7 +179,6 @@
 }
 
 poState DecoderBaseObject_impl::state() {
-  cout << "get state"<<endl;
   return _state;
 }
 
@@ -203,7 +198,6 @@
 #ifdef _STRIP_ZERO  
   return;
 #endif
-  cout << "seek" << endl;
   
   long sec=seekTime.seconds;
 
@@ -248,7 +242,6 @@
  
 
 void DecoderBaseObject_impl::streamInit() {
-  cout << "streamInit" << endl;
 #ifdef _STRIP_ZERO  
   return;
 #endif
@@ -257,7 +250,6 @@
 
 
 void DecoderBaseObject_impl::streamStart() {
-  cout << "streamStart" << endl;
 }
 
 
@@ -427,7 +419,6 @@
 
 
   if (inputStream != NULL) {
-    cout << "delete inputStream"<<endl;
     delete inputStream;
     inputStream=NULL;
   }
@@ -438,7 +429,6 @@
 
 void DecoderBaseObject_impl::setStreamState(int state) {
 
-  cout << "setting streamState:"<<state<<endl;
   switch (state) {
   case _THREADSTATE_INIT: {
     streamState=_THREADSTATE_INIT;

_______________________________________________
Kde-multimedia mailing list
Kde-multimedia@master.kde.org
http://master.kde.org/mailman/listinfo/kde-multimedia


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic