mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-20 11:26:53 +00:00
save videos for thumbnails in temp folder
This commit is contained in:
parent
a0949033a4
commit
205e48246b
@ -321,7 +321,7 @@ public class ImageUtils {
|
|||||||
|
|
||||||
final String extension = file.getNameExtension();
|
final String extension = file.getNameExtension();
|
||||||
|
|
||||||
java.io.File tempFile = Paths.get(Case.getCurrentCase().getCacheDirectory(), "videos", file.getId() + "." + extension).toFile();
|
java.io.File tempFile = Paths.get(Case.getCurrentCase().getTempDirectory(), "videos", file.getId() + "." + extension).toFile();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (tempFile.exists() == false || tempFile.length() < file.getSize()) {
|
if (tempFile.exists() == false || tempFile.length() < file.getSize()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user