wip
This commit is contained in:
parent
cd2dfcd91e
commit
def37f3c5a
1 changed files with 0 additions and 3 deletions
|
@ -672,8 +672,6 @@ function consolidate( $target, $segments ) {
|
|||
if ( $total >= $nextDuration ) {
|
||||
$after = $total - $nextDuration;
|
||||
$before = $nextDuration - $duration;
|
||||
echo "$before $after\n";
|
||||
echo "($total $nextDuration)\n";
|
||||
if ( $before < $after ) {
|
||||
// Break segment early
|
||||
break;
|
||||
|
@ -693,7 +691,6 @@ function consolidate( $target, $segments ) {
|
|||
];
|
||||
$nextTarget += $target;
|
||||
$nextDuration = $nextTarget - $timestamp - $duration;
|
||||
echo "[$nextTarget, $nextDuration]\n";
|
||||
|
||||
if ( $i < $n ) {
|
||||
$segment = $segments[$i];
|
||||
|
|
Loading…
Reference in a new issue