Skip to content

Commit

Permalink
* Fix DC1394FrameGrabber on the Windows platform (issue bytedeco/p…
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Apr 25, 2016
1 parent bc2ddec commit 23efcf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

* Fix `DC1394FrameGrabber` on the Windows platform ([issue bytedeco/procamcalib#4](https://github.com/bytedeco/procamcalib/issues/4))
* Support `AVPacket` in `FFmpegFrameGrabber` and `FFmpegFrameRecorder` to copy without re-encoding ([issue #93](https://github.com/bytedeco/javacv/issues/93))
* Lower Maven prerequisite in the `pom.xml` file to 3.0 ([issue bytedeco/javacpp#93](https://github.com/bytedeco/javacpp/issues/93))
* Add new `PrincipalComponentAnalysis` sample ([pull #373](https://github.com/bytedeco/javacv/pull/373))
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/bytedeco/javacv/DC1394FrameGrabber.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009-2012 Samuel Audet
* Copyright (C) 2009-2016 Samuel Audet
*
* Licensed either under the Apache License, Version 2.0, or (at your option)
* under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -130,7 +130,7 @@ public void release() throws Exception {
private static final boolean linux = Loader.getPlatform().startsWith("linux");
private dc1394_t d = null;
private dc1394camera_t camera = null;
private pollfd fds = new pollfd();
private pollfd fds = linux ? new pollfd() : null;
private boolean oneShotMode = false;
private boolean resetDone = false;
private dc1394video_frame_t[] raw_image =
Expand Down

0 comments on commit 23efcf1

Please sign in to comment.