Skip to content
Permalink
Browse files

fixed aviwriter to correctly handle dialog when file is autoclosed at…

… end of recording
  • Loading branch information...
Tobi Delbruck Tobi Delbruck
Tobi Delbruck authored and Tobi Delbruck committed Oct 1, 2018
1 parent f963987 commit 495d58ea1275c21885e7469f485f09a754da0d05
Binary file not shown.
@@ -443,7 +443,7 @@ public void setCompressionQuality(float compressionQuality) {
@Override
public void propertyChange(PropertyChangeEvent evt) {
if (evt.getPropertyName() == AEInputStream.EVENT_REWOUND) {
if (!ignoreRewinwdEventFlag && closeOnRewind) {
if (!ignoreRewinwdEventFlag && closeOnRewind && getAviOutputStream()!=null) {
doCloseFile();
JOptionPane.showMessageDialog(chip.getAeViewer(), "Closed file" + lastFileName + " on Rewind event after " + framesWritten + " frames were written");
}

0 comments on commit 495d58e

Please sign in to comment.
You can’t perform that action at this time.