TS lib verbosity tweaks
This commit is contained in:
parent
94bb2aa0f1
commit
252ea006a9
2 changed files with 4 additions and 2 deletions
|
@ -72,7 +72,9 @@ namespace TS {
|
|||
long long int bPos = data.tellg();
|
||||
if(!data.read (strBuf,188))
|
||||
{
|
||||
HIGH_MSG("failed to read 188 bytes");
|
||||
if (!data.eof()){
|
||||
HIGH_MSG("failed to read 188 bytes: %s", strerror(errno));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -514,7 +514,7 @@ namespace TS{
|
|||
aac::adts adtsPack(pesPayload + offsetInPes, realPayloadSize - offsetInPes);
|
||||
if (adtsPack && adtsPack.getCompleteSize() + offsetInPes <= realPayloadSize){
|
||||
if (!adtsInfo.count(tid) || !adtsInfo[tid].sameHeader(adtsPack)){
|
||||
MEDIUM_MSG("Setting new ADTS header: %s", adtsPack.toPrettyString().c_str());
|
||||
DONTEVEN_MSG("Setting new ADTS header: %s", adtsPack.toPrettyString().c_str());
|
||||
adtsInfo[tid] = adtsPack;
|
||||
}
|
||||
out.push_back(DTSC::Packet());
|
||||
|
|
Loading…
Add table
Reference in a new issue