fixed green screen issue

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5386 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: Merging Trunk to OpenCL branch in preparation to merge back to core after the upcoming release ships.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5418 b64f7644-9d1e-0410-96f1-a4d463321fa5
improve code style

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5436 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: merge latest fixes from trunk.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5464 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: fix darwin build with --disable-xcode --enable-opencl.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5465 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: fix darwin build without --disable-xcode.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5466 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merging Trunk to OpenCL

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5479 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: fix help.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5480 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: enable AMD GPUs under OS X.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5481 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: work: fix logging of job->use_opencl; it was done before setting it instead of after.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5482 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL Code Style and Comments tidy up

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5483 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: Correct case of log message.

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5484 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: only allow "AMD" vendor name under OS X for now.

Also, set the correct gpu_info for that vendor name.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5488 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: fix darwin build with Xcode.

Idea by John Stebbins. Thanks!



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5489 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: hb_generat_bin_from_kernel_source: improve error messages.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5490 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: fix type of numDevices variable.

Was causing malloc failures and out of array read/writes under OS X.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5491 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: rename "test case" to "automated_testing" for easier path auto-completion.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5493 b64f7644-9d1e-0410-96f1-a4d463321fa5
Misc. improvements.



git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5495 b64f7644-9d1e-0410-96f1-a4d463321fa5
OpenCL: disable binary generation under OS X. it offers little advantage, and is known not to work.

This may be removed altogether eventually.


git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5496 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merging Trunk to OpenCL

git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5518 b64f7644-9d1e-0410-96f1-a4d463321fa5