I would like to develop a Processing program on my Linux laptop, but have it run on a Mac Mini. Unfortunately, the Linux version only supports video processing through GSVideo. I am not thrilled about using a non-standard video library on Mac as well, and I don't want to support two different programs. To solve this, I would like to place preprocessor directives in my Processing code to swap between GSVideo calls when the program is run on Linux and Quicktime calls when run on OSX. Is this possible?
2