Closed GoogleCodeExporter closed 8 years ago
dbyron0 added a new logging interface, so I suspect these are just new messages
that you previously didn't see. I don't think anything is wrong with your
build process. Hopefully he can take a look when he has a moment. Thanks.
Original comment by kid...@gmail.com
on 13 Apr 2011 at 3:20
Before the logging changes I made, the code in question (from MP4Atom::Read in
src/mp4atom.cpp) was:
if (ATOMID(m_type) != 0 && m_size > 1000000) {
VERBOSE_READ(GetVerbosity(),
printf("Warning: %s atom size %" PRIu64 " is suspect\n",
m_type, m_size));
}
so the message makes me think it's a warning but VERBOSE_READ indicates it's
less severe than that.
The current code is:
if (ATOMID(m_type) != 0 && m_size > 1000000) {
log.warningf("%s: \"%s\": %s atom size %" PRIu64 " is suspect", __FUNCTION__,
m_File.GetFilename().c_str(), m_type, m_size);
}
Other instances of VERBOSE_READ became log.verbose1f so I can do that here as
well. I think I'll leave the word "warning" out of the message though. Sound
good?
Original comment by dbyr...@gmail.com
on 13 Apr 2011 at 4:32
Sounds good to me. Would there be any handy way of only issuing 'suspect'
message for atoms which almost never should be larger than a megabyte?
Original comment by CarlEd...@gmail.com
on 13 Apr 2011 at 4:34
I suppose but I don't know enough to say what atoms to warn for and what atoms
are OK. I think it's probably better for someone who knows more to write this
patch but I'll help where I can.
Original comment by dbyr...@gmail.com
on 13 Apr 2011 at 4:39
warning --> verbose1f in r459.
Original comment by dbyr...@gmail.com
on 13 Apr 2011 at 4:43
Original issue reported on code.google.com by
CarlEd...@gmail.com
on 13 Apr 2011 at 2:53