mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-22 07:57:15 +00:00
fix(transcode): fix missing thumbnail and sprite generation in transcoding workflow
This commit is contained in:
@@ -52,7 +52,7 @@ export async function transcodeMedia(task: WorkflowTask): Promise<void> {
|
||||
tmpDir = download.tmpDir
|
||||
|
||||
// 5. Get Media Info
|
||||
const spec = task.payload as PrismaJson.TaskSpec
|
||||
const spec = task.payload?.transcode || {}
|
||||
const mediaInfo = await executeActivity(workerQueue, getMediaInfoActivity, {
|
||||
filePath,
|
||||
assetId: asset.id,
|
||||
|
||||
Reference in New Issue
Block a user