Skip to content

Commit 1f75951

Browse files
committed
Fixed more issues with the synchronous option
Signed-off-by: Andrew Welch <andrew@nystudio107.com>
1 parent 852474b commit 1f75951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/Transcode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ public function getAudioUrl($filePath, $audioOptions): string
425425
$result = Craft::getAlias($url).$destAudioFile;
426426
} else {
427427
// Kick off the transcoding
428-
$this->executeShellCommand($ffmpegCmd);
428+
$pid = $this->executeShellCommand($ffmpegCmd);
429429

430430
if ($synchronous) {
431431
Craft::info($ffmpegCmd, __METHOD__);

0 commit comments

Comments
 (0)