Autopsy  3.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Protected Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker Class Reference

Inherits SwingWorker< Object, Object >.

Protected Member Functions

Object doInBackground () throws Exception
 
void done ()
 

Private Member Functions

boolean isPlayBinReady ()
 
void resetVideo () throws Exception
 
boolean hasNotEnded ()
 

Private Attributes

String durationFormat = "%02d:%02d:%02d/%02d:%02d:%02d "
 
long millisElapsed = 0
 
final long INTER_FRAME_PERIOD_MS = 20
 
final long END_TIME_MARGIN_MS = 50
 
boolean hadError = false
 

Detailed Description

Definition at line 576 of file GstVideoPanel.java.

Member Function Documentation

Object org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.doInBackground ( ) throws Exception
protected

Definition at line 624 of file GstVideoPanel.java.

void org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.done ( )
protected

Definition at line 672 of file GstVideoPanel.java.

boolean org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.hasNotEnded ( )
private
Returns
true while millisElapsed is greater than END_TIME_MARGIN_MS from durationMillis. This is used to indicate when the video has ended because for some videos the time elapsed never becomes equal to the reported duration of the video.

Definition at line 619 of file GstVideoPanel.java.

boolean org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.isPlayBinReady ( )
private

Definition at line 584 of file GstVideoPanel.java.

void org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.resetVideo ( ) throws Exception
private

Definition at line 590 of file GstVideoPanel.java.

Member Data Documentation

String org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.durationFormat = "%02d:%02d:%02d/%02d:%02d:%02d "
private

Definition at line 578 of file GstVideoPanel.java.

final long org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.END_TIME_MARGIN_MS = 50
private

Definition at line 581 of file GstVideoPanel.java.

boolean org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.hadError = false
private

Definition at line 582 of file GstVideoPanel.java.

final long org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.INTER_FRAME_PERIOD_MS = 20
private

Definition at line 580 of file GstVideoPanel.java.

long org.sleuthkit.autopsy.corecomponents.GstVideoPanel.VideoProgressWorker.millisElapsed = 0
private

Definition at line 579 of file GstVideoPanel.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2015 Basis Technology. Generated on: Mon Oct 19 2015
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.