Skip to content

Commit

Permalink
Add a log message to appease cppcheck
Browse files Browse the repository at this point in the history
We were tracking buffers and bytes consumed, and never using the values.
Now there is a debug level log message in there that will show the values.
We can likely remove the instrumentation completely longer term.
  • Loading branch information
Beirdo committed Jul 2, 2012
1 parent 9d3bc8d commit 0998b7a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mythtv/programs/mythtranscode/transcode.cpp
Expand Up @@ -1933,6 +1933,12 @@ int Transcode::TranscodeFile(const QString &inputname,

delete ab;
}

LOG(VB_GENERAL, LOG_DEBUG,
QString("Processed %1 audio frames for timecode %2: %3 "
"buffers, %4 bytes consumed")
.arg(count) .arg(frame.timecode) .arg(buffersConsumed)
.arg(bytesConsumed));
}

if (!avfMode)
Expand Down

0 comments on commit 0998b7a

Please sign in to comment.