Skip to content

Commit

Permalink
* Fix issue that would prevent CanvasFrame from working on Mac OS …
Browse files Browse the repository at this point in the history
…X with recent versions of the JDK (issue #39 and [issue #314](http://code.google.com/p/javacv/issues/detail?id=314))
  • Loading branch information
saudet committed Oct 19, 2014
1 parent 1095cb7 commit 89337d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

* Fix issue that would prevent `CanvasFrame` from working on Mac OS X with recent versions of the JDK ([issue #39](https://github.com/bytedeco/javacv/issues/39) and [issue #314](http://code.google.com/p/javacv/issues/detail?id=314))
* Upgrade `RecordActivity` sample with a continuous record loop, thanks to Federico Sendra and Juan Manuel Sobral
* Make `FrameGrabber.createDefault()` throw an exception on unsupported input, instead of returning a cryptic `null` ([issue #30](https://github.com/bytedeco/javacv/issues/30))
* Add `videoCodec`, `videoBitrate`, `audioCodec`, and `audioBitrate` properties to `FrameGrabber`
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ We can also have everything downloaded and installed automatically with:

* SBT (inside the `build.sbt` file)
```scala
classpathTypes += "maven-plugin"
libraryDependencies += "org.bytedeco" % "javacv" % "0.9"
```

Expand Down
1 change: 1 addition & 0 deletions src/main/java/org/bytedeco/javacv/CanvasFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ protected void initCanvas(boolean fullScreen, DisplayMode displayMode, double ga
canvas.setSize(getSize());
needInitialResize = false;
} else {
canvas.setSize(10,10); // mac bug
needInitialResize = true;
}
getContentPane().add(canvas);
Expand Down

0 comments on commit 89337d9

Please sign in to comment.