mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-25 08:08:42 +00:00
feat(settings): add FFmpeg threads setting for media processing (#415)
* feat(settings): add FFmpeg threads setting for media processing * style(settings): add bottom padding to media processing page
This commit is contained in:
@@ -29,6 +29,13 @@ export class VideoTranscoder {
|
||||
return this
|
||||
}
|
||||
|
||||
setThreads(threads?: number): this {
|
||||
if (threads !== undefined) {
|
||||
this.spec.threads = threads
|
||||
}
|
||||
return this
|
||||
}
|
||||
|
||||
withSprite(): this {
|
||||
this.spec.sprite = true
|
||||
return this
|
||||
|
||||
Reference in New Issue
Block a user