MacGui: Initial x264 presets implementation.
- Note: HB Built-ins are not updated as needs more testing
- Backwards compatible afaik for older presets including custom.
- Queue Item editing function needs to be updated yet.
- Preset import/ export will probably need work as well especially since some kvp's seem to still be up in the air.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5126 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix a problem with BD audio track detection

Some BDs can have several clips that have no audio (The Girl With the Dragon
Tattoo 2009).  This fools our audio selection logic into thinking the entire
BD has no audio.  So ignore clips that have no audio tracks when searching
for audio.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5127 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: fix preset import/export with the x264 system.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5128 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: code refactoring (x264 preset system).



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5129 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: fix fx264UseAdvancedOptionsCheck (hopefully).



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5130 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: more refactoring, bugfixes.

Apologies if anything breaks.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5131 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: fix memory leak, more refactoring, bugfixes.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5132 b64f7644-9d1e-0410-96f1-a4d463321fa5
libav patch: fix dts audio bitstream desync when frame size changes

Fixes https://forum.handbrake.fr/viewtopic.php?f=11&t=26016&hilit=squid


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5133 b64f7644-9d1e-0410-96f1-a4d463321fa5
FLAC: add 24-bit encoding.

Works via a dedicated encoder: "FLAC (24-bit)", "ffflac24".

Users who prefer 16-bit can use the previous FLAC encoder: "FLAC (ffmpeg)", "ffflac".



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5134 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: add getters and setter for x264 preset system.

Simplifies code and makes it more readable.

Also more refactoring, more bugfixes.



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



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5136 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: fix queue editing after adding the x264 preset system.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5137 b64f7644-9d1e-0410-96f1-a4d463321fa5
libav: solaris build fixes

1. Link in /usr/lib/values-xpg6.o to get proper POSIX.1-2001 behaviour
from libc -- this is controversial within the GCC camp as it "breaks old code"
that doesn't assume it has been added. Some libc functions behave very
differently with and without this linked. Since we're linking statically to
the library, this is not a significant concern.

2. MPC8 disable constraint is clamped down to only apply on SPARC.

thanks to icchan for patch.
https://reviews.handbrake.fr/r/367/


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5138 b64f7644-9d1e-0410-96f1-a4d463321fa5
build system: update config.guess

Thanks to icchan for patch
https://reviews.handbrake.fr/r/361/


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