Skip to content

Commit

Permalink
TTK-27383: Fix the error when cutting a video
Browse files Browse the repository at this point in the history
  • Loading branch information
albacodina committed Nov 27, 2024
1 parent b12a6e3 commit e1dafcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function cutAction(Request $request, MultimediaObject $originalmmobject)
$newDuration = $out - $in;
$parameters = ['ss' => $in, 't' => $newDuration];

$jobOptions = new JobOptions($profile, $priority, $track->language(), $track->i18nDescription(), $parameters);
$jobOptions = new JobOptions($profile, $priority, $track->language(), $track->description()->toArray(), $parameters);
$path = Path::create($track->storage()->path()->path());
$this->jobCreator->fromPath($multimediaObject, $path, $jobOptions);

Expand Down

0 comments on commit e1dafcc

Please sign in to comment.