move ffmpeg command to seperate table
This commit is contained in:
parent
72dfd2408f
commit
cdeb266e38
20 changed files with 245 additions and 84 deletions
|
@ -18,10 +18,11 @@ func StartTask(conf config.Config, data types.TaskStart) error {
|
|||
defer taskMutex.Unlock()
|
||||
|
||||
tasks[data.ID] = &types.Task{
|
||||
ID: data.ID,
|
||||
Type: data.Type,
|
||||
FileID: data.FileID,
|
||||
FileMD5: data.FileMD5,
|
||||
ID: data.ID,
|
||||
Type: data.Type,
|
||||
FileID: data.FileID,
|
||||
FileMD5: data.FileMD5,
|
||||
FfmpegCommand: data.FfmpegCommand,
|
||||
}
|
||||
|
||||
switch data.Type {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue