[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/strigi/src/streamanalyzer/endanalyzers
From: Christopher Blauvelt <cblauvelt () gmail ! com>
Date: 2007-04-11 13:55:13
Message-ID: 1176299713.397530.8330.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 652567 by cblauvelt:
Remove "cerr" statements to avoid swamping Van dan Oever's console.
M +7 -7 mpegendanalyzer.cpp
--- trunk/kdesupport/strigi/src/streamanalyzer/endanalyzers/mpegendanalyzer.cpp #652566:652567
@@ -46,7 +46,7 @@
if(headersize < 9)
{
- cerr << "File was less than nine bytes. Not long enough" << endl;
+ //cerr << "File was less than nine bytes. Not long enough" << endl;
return false;
}
dword = readBigEndianUInt32(header);
@@ -56,12 +56,12 @@
dword = readBigEndianUInt32(header+5);
if (dword == 0x43445841) { // == "CDXA"
- cerr << "CDXA not yet supported" << endl;
+ //cerr << "CDXA not yet supported" << endl;
return false;
}
}
else if(dword != 0x000001ba) {
- cerr << "Not a MPEG-PS file" << endl;
+ //cerr << "Not a MPEG-PS file" << endl;
return false;
}
@@ -75,7 +75,7 @@
if(!this->readMpeg(in) )
{
- cerr << "Error reading mpeg." << endl;
+ //cerr << "Error reading mpeg." << endl;
in->reset(0);
return -1;
}
@@ -182,7 +182,7 @@
return false;
}
else if (this->mpeg_version == 0) {
- cerr << "No sequence-start found" << endl;
+ //cerr << "No sequence-start found" << endl;
return false;
}
return true;
@@ -292,7 +292,7 @@
}
if(!sync_found)
{
- cerr << "MPEG audio sync not found" << endl;
+ //cerr << "MPEG audio sync not found" << endl;
return false;
}
@@ -305,7 +305,7 @@
else if (layer == 3)
this->audio_type = 1;
else
- cerr << "Invalid MPEG audio layer" << endl;
+ //cerr << "Invalid MPEG audio layer" << endl;
return true;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic