mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Fix thumbnail generation when on bad input seek
This commit is contained in:
parent
c93b7088c2
commit
7b23f24b24
2 changed files with 33 additions and 4 deletions
|
@ -79,6 +79,10 @@ export class FFmpegCommandWrapper {
|
|||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
resetCommand () {
|
||||
this.command = undefined
|
||||
}
|
||||
|
||||
buildCommand (input: string) {
|
||||
if (this.command) throw new Error('Command is already built')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue