More useful debug output about setting durations.

This commit is contained in:
Moritz Bunkus 2004-07-23 22:37:43 +00:00
parent 50c3f3aa20
commit ee1c6500b6

View File

@ -332,6 +332,10 @@ cluster_helper_c::set_duration(render_groups_t *rg) {
for (i = 0; i < rg->durations.size(); i++)
block_duration += rg->durations[i];
def_duration = RND_TIMECODE_SCALE(rg->source->get_track_default_duration());
mxverb(3, "cluster_helper::set_duration: block_duration %lld def_duration "
"%lld use_durations %d rg->duration_mandatory %d\n",
block_duration, RND_TIMECODE_SCALE(def_duration),
use_durations ? 1 : 0, rg->duration_mandatory ? 1 : 0);
if ((block_duration > 0) && (block_duration != def_duration) &&
(use_durations || rg->duration_mandatory))