Permalink
Browse files

Add a log message to appease cppcheck

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...
1 parent 9d3bc8d commit 0998b7ae567eaac0db87fc74b0852a4e4ac1fc4d @Beirdo Beirdo committed Jul 2, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 mythtv/programs/mythtranscode/transcode.cpp
View
6 mythtv/programs/mythtranscode/transcode.cpp
@@ -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)

0 comments on commit 0998b7a

Please sign in to comment.