Output timecodes in summary mode in a form that's easier to read, too, and not only in milliseconds.

This commit is contained in:
Moritz Bunkus 2005-04-06 13:18:32 +00:00
parent d2d41d39bc
commit 92c59814f3

View File

@ -1634,17 +1634,19 @@ def_handle2(block_group,
for (fidx = 0; fidx < frame_sizes.size(); fidx++) {
if (bduration != -1.0)
mxinfo(Y("%c frame, track %u, timecode %lld, duration %.3f, size %d, "
"adler 0x%08x\n"), bref_found && fref_found ? 'B' :
mxinfo(Y("%c frame, track %u, timecode %lld (" FMT_TIMECODE
"), duration %.3f, size %d, adler 0x%08x\n"),
bref_found && fref_found ? 'B' :
bref_found ? 'P' : !fref_found ? 'I' : '?',
lf_tnum, lf_timecode, bduration, frame_sizes[fidx],
frame_adlers[fidx]);
lf_tnum, lf_timecode, ARG_TIMECODE(lf_timecode),
bduration, frame_sizes[fidx], frame_adlers[fidx]);
else
mxinfo(Y("%c frame, track %u, timecode %lld, size %d, adler "
"0x%08x\n"), bref_found && fref_found ? 'B' :
mxinfo(Y("%c frame, track %u, timecode %lld (" FMT_TIMECODE
"), size %d, adler 0x%08x\n"),
bref_found && fref_found ? 'B' :
bref_found ? 'P' : !fref_found ? 'I' : '?',
lf_tnum, lf_timecode, frame_sizes[fidx],
frame_adlers[fidx]);
lf_tnum, lf_timecode, ARG_TIMECODE(lf_timecode),
frame_sizes[fidx], frame_adlers[fidx]);
}
} else if (verbose > 2)
show_element(NULL, 2, Y("[%c frame for track %u, timecode %lld]"),