stephenyin / mp4v2

Automatically exported from code.google.com/p/mp4v2
Other
0 stars 0 forks source link

MP4WriteRtpHint producing debug output on each call #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write a rtp packet with MP4WriteRtpHint

What is the expected output? What do you see instead?
Debug info is shown regardless of log level

What version of the product are you using? On what operating system?
SVN head

Please provide any additional information below.
MP4RtpHint::Write calls Dump without checking log level. Change:

--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -782,9 +782,11 @@

     file.SetPosition(endPos);

+    if (log.verbosity >= MP4_LOG_VERBOSE1) {
          log.verbose1f("\"%s\": WriteRtpHint:", GetTrack().GetFile().GetFilename().c_str());
          Dump(14, false);
+      }
}

 void MP4RtpHint::Dump(uint8_t indent, bool dumpImplicits)

Original issue reported on code.google.com by sergio.g...@gmail.com on 24 Jun 2011 at 7:53

GoogleCodeExporter commented 9 years ago
Thanks for the report.  should be resolved in r475.

Original comment by kid...@gmail.com on 24 Jun 2011 at 3:16