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

List:       kde-multimedia
Subject:    [PATCH] cout II
From:       Martin Vogt <mvogt () rhrk ! uni-kl ! de>
Date:       2000-10-01 15:11:11
[Download RAW message or body]

Hi,


this removes more debug output.

Martin


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

? a.patch
Index: decoder/decoderPlugin.cpp
===================================================================
RCS file: /home/kde/kdemultimedia/mpeglib/lib/decoder/decoderPlugin.cpp,v
retrieving revision 1.6
diff -u -r1.6 decoderPlugin.cpp
--- decoder/decoderPlugin.cpp	2000/09/29 15:38:59	1.6
+++ decoder/decoderPlugin.cpp	2000/10/01 15:01:48
@@ -97,7 +97,6 @@
 
 void DecoderPlugin::pause() {
   Command cmd(_COMMAND_PAUSE);
-  cmd.print("sending");
   insertSyncCommand(&cmd);
 }
 
Index: mpegplay/mpegSystemStream.cpp
===================================================================
RCS file: /home/kde/kdemultimedia/mpeglib/lib/mpegplay/mpegSystemStream.cpp,v
retrieving revision 1.4
diff -u -r1.4 mpegSystemStream.cpp
--- mpegplay/mpegSystemStream.cpp	2000/08/30 20:23:32	1.4
+++ mpegplay/mpegSystemStream.cpp	2000/10/01 15:01:48
@@ -57,7 +57,6 @@
     // If we found a seq_heade_start code we assume
     // that we are a video only stream
     // we must directly insert it.
-    printf("mpegHeader:%p\n",mpegHeader);
 
     // here we set for all future calls fixed
     // parameter
@@ -65,12 +64,9 @@
     mpegHeader->setPacketID(_PAKET_ID_VIDEO);
     mpegHeader->setPacketLen(8192);
 
-    printf("This is a raw MPEG video Stream.\n");
-    printf("Audio is not played (it's not there :-)\n");
     return true;
   } else {
     if (syncCode == _PACK_START_CODE) {
-      printf("This is an MPEG System Layer Stream. (have fun)\n");
       if (processStartCode(syncCode,mpegHeader)==true) {
 	mpegHeader->setLayer(_PACKET_SYSLAYER);     // syslayer
 	return true;
Index: mpegplay/mpegVideoLength.cpp
===================================================================
RCS file: /home/kde/kdemultimedia/mpeglib/lib/mpegplay/mpegVideoLength.cpp,v
retrieving revision 1.4
diff -u -r1.4 mpegVideoLength.cpp
--- mpegplay/mpegVideoLength.cpp	2000/09/29 15:38:59	1.4
+++ mpegplay/mpegVideoLength.cpp	2000/10/01 15:01:48
@@ -356,7 +356,6 @@
       return false;
     }
   }
-  cout << "found"<<endl;
   return true;
 }
 
@@ -396,7 +395,6 @@
     // we have a packet
     lastPTS=currentPTS;
     currentPTS=mpegSystemHeader->getPTSTimeStamp();
-    cout << "currentPTS:"<<currentPTS<<endl;
     diffPTS=currentPTS-lastPTS;
     successCnt++;
 
Index: util/mmx.c
===================================================================
RCS file: /home/kde/kdemultimedia/mpeglib/lib/util/mmx.c,v
retrieving revision 1.2
diff -u -r1.2 mmx.c
--- util/mmx.c	2000/08/29 16:10:32	1.2
+++ util/mmx.c	2000/10/01 15:01:48
@@ -51,7 +51,6 @@
   int* rval = &val;
 
   if (mmSupport == -1) {
-    printf("hello mmx test\n");
 
     val=cpu_flags(); 
     if (val & MMX_CPU) {
@@ -60,10 +59,7 @@
       mmSupport=0;
     }
     
-    printf("val:%8x\n",val);
-
   }
-  printf("mmSupport:%d\n",mmSupport);
   /* Return */
   return(mmSupport);
 }

_______________________________________________
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