Added functionality to clean up transcoded source files
This commit is contained in:
@@ -22,7 +22,13 @@ impl Transcoder {
|
||||
|
||||
for i in ingest_files {
|
||||
// copy the file to the archive
|
||||
self.repository.archive_file(i);
|
||||
self.repository.archive_file(&i);
|
||||
|
||||
// perform the video transcode
|
||||
// TODO - self.transcode(i);
|
||||
|
||||
// remove the source file
|
||||
self.repository.cleanup_file(&i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user