mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
another fix for bug #313, issues with color flipping on the intel macs
This commit is contained in:
@@ -21,6 +21,8 @@ _ http://dev.processing.org/bugs/show_bug.cgi?id=244
|
||||
X give that field focus explicitly, rather than just for typing
|
||||
X menu option/command key to switch between tabs
|
||||
X http://dev.processing.org/bugs/show_bug.cgi?id=55
|
||||
X fix movie playback on intel macs
|
||||
X http://dev.processing.org/bugs/show_bug.cgi?id=313
|
||||
|
||||
faq additions
|
||||
X add notes about sketchPath() and savePath() to library docs
|
||||
|
||||
@@ -246,7 +246,14 @@ public class Movie extends PImage implements PConstants, Runnable {
|
||||
try {
|
||||
if (firstFrame) {
|
||||
movieRect = movie.getBox();
|
||||
movieGraphics = new QDGraphics(movieRect);
|
||||
//movieGraphics = new QDGraphics(movieRect);
|
||||
if (quicktime.util.EndianOrder.isNativeLittleEndian()) {
|
||||
movieGraphics =
|
||||
new QDGraphics(QDConstants.k32BGRAPixelFormat, movieRect);
|
||||
} else {
|
||||
movieGraphics =
|
||||
new QDGraphics(QDGraphics.kDefaultPixelFormat, movieRect);
|
||||
}
|
||||
}
|
||||
|
||||
Pict pict = movie.getPict(movie.getTime()); // returns an int
|
||||
|
||||
Reference in New Issue
Block a user