mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
disable playback of deleted videos in media viewer
This commit is contained in:
parent
d6c3b6e9cc
commit
a1954e49f9
@ -372,7 +372,11 @@ public class DataContentViewerMedia extends javax.swing.JPanel implements DataCo
|
||||
|
||||
String name = file.getName().toLowerCase();
|
||||
|
||||
if (containsExt(name, IMAGES) || containsExt(name, AUDIOS) || containsExt(name, VIDEOS)) {
|
||||
boolean deleted = file.isDirNameFlagSet(TSK_FS_NAME_FLAG_ENUM.UNALLOC);
|
||||
|
||||
if (containsExt(name, IMAGES)
|
||||
|| containsExt(name, AUDIOS)
|
||||
|| (!deleted && containsExt(name, VIDEOS) ) ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user