x264: build with OpenCL lookahead support by default.

The necessary headers are included in the x264 source, so the only new dependency is perl.

The OpenCL-accelerated lookahead is disabled by default and can be enabled at runtime using the "opencl" advanced x264 option.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5628 b64f7644-9d1e-0410-96f1-a4d463321fa5
hb_display_job_info: "Large file size" does not apply to the avformat MP4 muxer (it's automatic and therefore can't be enabled or disabled).


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5629 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: Fix a silly Logic bug in logging code.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5630 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: improve previous commit a bit.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5631 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: improve handling of overlapping text subtitles
mp4 timed text does not support subtitles that overlap (in time).
So this patch detects these overlaps and merges subtitles when
appropriate.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5632 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix a couple of problems with subtitle merging
I did not handle cases where it was impossible to determine the
stop time properly.

I also did not handle the last subitle properly.  It would have been lost.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5635 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: handle zero length EOF subtitle properly


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5636 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Fix to the Drive Menu service so that it doesn't refresh when clicking on a menuitem.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5637 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Some in-progress code that I'll pickup later on.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5638 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Fix an error in the Drive Menu Attached Property

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5639 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Fix Typo on the queue.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5640 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: Make "Open with.." nautilus option work in ubuntu 13.04
Why oh why do they make these stupid little changes :-\


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5641 b64f7644-9d1e-0410-96f1-a4d463321fa5
Solaris: add proper POSIX defines

On Solaris, some POSIX functions are hidden behind a define. This patch adds the proper defines to the compiler command line when building for Solaris.

Patch by icchan. Thanks!



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5642 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: populate the SRT subtitle language list dynamically from libhb.

Adds several languages that were previously missing from the list.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5645 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Make the AVFormat Muxers default.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5646 b64f7644-9d1e-0410-96f1-a4d463321fa5
Add hb_video_quality_get_limits and hb_video_quality_get_name to libhb API.

Includes a MacGui implementation.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5647 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: store and print additional CPU information

Printed in hb_scan(), so that it's present in all Activity Logs (both encode and scan).



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5648 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Change Loose and Strict Anamorphic to use hb_set_anamorphic_size
Note: No Anamorphic mode still needs work, and Custom Anamorphic is still hand calculation.  

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5649 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Misc fixes and improvements
- Added "Open This Directory" right click context menu on the destination box.
- Fixed the av_mp4/mkv file extension bug.
- Add new autoname options {time} {bitrate} {quality}

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5653 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Switch to native WPF dialogs for file handling except for the folder browser. Will replace this later.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5654 b64f7644-9d1e-0410-96f1-a4d463321fa5