CC-2301 : fades editor is loading now with a leftoffset for the second track and the cues for both tracks.

This commit is contained in:
Naomi 2013-04-24 14:15:07 -04:00
parent 956bcccd24
commit 179621d687
5 changed files with 46 additions and 8 deletions

View file

@ -239,6 +239,11 @@ SQL;
$offset = 0;
foreach ($rows as &$row) {
$clipSec = Application_Common_DateHelper::playlistTimeToSeconds($row['length']);
$row['trackSec'] = $clipSec;
$row['cueInSec'] = Application_Common_DateHelper::playlistTimeToSeconds($row['cuein']);
$row['cueOutSec'] = Application_Common_DateHelper::playlistTimeToSeconds($row['cueout']);
$offset += $clipSec;
$offset_cliplength = Application_Common_DateHelper::secondsToPlaylistTime($offset);