From ab50b39d6c94159905258d886e6e389ae15b21f1 Mon Sep 17 00:00:00 2001 From: jmillman Date: Wed, 23 Mar 2016 10:49:47 -0400 Subject: [PATCH] fix gstreamer buffering --- .../src/org/sleuthkit/autopsy/corecomponents/GstVideoPanel.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/src/org/sleuthkit/autopsy/corecomponents/GstVideoPanel.java b/Core/src/org/sleuthkit/autopsy/corecomponents/GstVideoPanel.java index 9c3036db6c..8f69f82386 100644 --- a/Core/src/org/sleuthkit/autopsy/corecomponents/GstVideoPanel.java +++ b/Core/src/org/sleuthkit/autopsy/corecomponents/GstVideoPanel.java @@ -18,6 +18,7 @@ */ package org.sleuthkit.autopsy.corecomponents; +import com.google.common.io.Files; import java.awt.Dimension; import java.awt.Image; import java.awt.image.BufferedImage; @@ -680,6 +681,7 @@ public class GstVideoPanel extends MediaViewVideoPanel { progressLabel.setText(NbBundle.getMessage(this.getClass(), "GstVideoPanel.progress.buffering")); progress.start(100); try { + Files.createParentDirs(tempFile); return ContentUtils.writeToFile(sourceFile, tempFile, progress, this, true); } catch (IOException ex) { logger.log(Level.WARNING, "Error buffering file", ex); //NON-NLS