write: fix getLivePhotoId call

pull/387/head
Varun Patil 2023-01-26 11:52:19 -08:00
parent 3b04df121f
commit 25318b9402
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class TimelineWrite
$dayId = floor($dateTaken / 86400); $dayId = floor($dateTaken / 86400);
$dateTaken = gmdate('Y-m-d H:i:s', $dateTaken); $dateTaken = gmdate('Y-m-d H:i:s', $dateTaken);
[$w, $h] = Exif::getDimensions($exif); [$w, $h] = Exif::getDimensions($exif);
$liveid = $this->livePhoto->getLivePhotoId($exif); $liveid = $this->livePhoto->getLivePhotoId($file, $exif);
// Video parameters // Video parameters
$videoDuration = 0; $videoDuration = 0;