diff --git a/Core/src/org/sleuthkit/autopsy/contentviewers/MediaPlayerPanel.java b/Core/src/org/sleuthkit/autopsy/contentviewers/MediaPlayerPanel.java index c7b1c0ab55..5b08d2d402 100644 --- a/Core/src/org/sleuthkit/autopsy/contentviewers/MediaPlayerPanel.java +++ b/Core/src/org/sleuthkit/autopsy/contentviewers/MediaPlayerPanel.java @@ -180,6 +180,7 @@ public class MediaPlayerPanel extends JPanel implements MediaFileViewer.MediaVie private ExtractMedia extractMediaWorker; private final long END_TIME_MARGIN_NS = 50000000; + private final int PLAYER_STATUS_UPDATE_INTERVAL_MS = 50; /** * Creates new form MediaViewVideoPanel @@ -307,13 +308,13 @@ public class MediaPlayerPanel extends JPanel implements MediaFileViewer.MediaVie try { path = file.getUniquePath(); } catch (TskCoreException ex) { - logger.log(Level.SEVERE, "Cannot get unique path of video file"); //NON-NLS + logger.log(Level.SEVERE, "Cannot get unique path of video file.", ex); //NON-NLS } infoLabel.setText(path); infoLabel.setToolTipText(path); pauseButton.setEnabled(true); progressSlider.setEnabled(true); - timer = new Timer(50, e -> { + timer = new Timer(PLAYER_STATUS_UPDATE_INTERVAL_MS, e -> { if (!progressSlider.getValueIsAdjusting()) { long duration; long position; diff --git a/build-windows-installer.xml b/build-windows-installer.xml index 634de600b1..61f006a5a3 100644 --- a/build-windows-installer.xml +++ b/build-windows-installer.xml @@ -184,10 +184,10 @@ - + - +