CC-4940: Playlist editor in Library ignores cue points set by silence detection when displaying item time
-small fix on where to set clip length
This commit is contained in:
parent
69054806c4
commit
6071dea839
1 changed files with 1 additions and 1 deletions
|
@ -398,6 +398,7 @@ SQL;
|
||||||
$entry = $this->plItem;
|
$entry = $this->plItem;
|
||||||
$entry["id"] = $obj->getDbId();
|
$entry["id"] = $obj->getDbId();
|
||||||
$entry["pos"] = $pos;
|
$entry["pos"] = $pos;
|
||||||
|
$entry["cliplength"] = $obj->getDbLength();
|
||||||
if ($obj instanceof CcFiles && $obj) {
|
if ($obj instanceof CcFiles && $obj) {
|
||||||
$entry["cuein"] = $obj->getDbCuein();
|
$entry["cuein"] = $obj->getDbCuein();
|
||||||
$entry["cueout"] = $obj->getDbCueout();
|
$entry["cueout"] = $obj->getDbCueout();
|
||||||
|
@ -409,7 +410,6 @@ SQL;
|
||||||
$entry["cuein"] = "00:00:00";
|
$entry["cuein"] = "00:00:00";
|
||||||
$entry["cueout"] = $entry["cliplength"];
|
$entry["cueout"] = $entry["cliplength"];
|
||||||
}
|
}
|
||||||
$entry["cliplength"] = $obj->getDbLength();
|
|
||||||
$entry["ftype"] = $objType;
|
$entry["ftype"] = $objType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue