libhb: fix overwriting of source path


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6206 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: Fix decoding avi with palette

... and probably other formats that use a palette.
The palette is stored in AVPacket side data which we did not read.  So
read the side data and stash it in hb_buffer_t so that it can be used
later by the decoder.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6207 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Fix bad tooltip style

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6208 b64f7644-9d1e-0410-96f1-a4d463321fa5
macui: fix PcitureController geometry calculations

simplifies the code and makes it work better
also updates preview window size calculations


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6209 b64f7644-9d1e-0410-96f1-a4d463321fa5
Interop: Fixed a bug that was causing crashes on AAC passthrough. We were clobbering the private data section with zeroes. Also added support for passing through a track if it's possible.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6210 b64f7644-9d1e-0410-96f1-a4d463321fa5
decpgssub: partial fix for "multi-object" PGS subs

We were packaging multiple subtitle packets with the same pts and passing
down to rendersub which would then throw away all but the last sub with 
a given pts. So put all AVSubtitleRects into the same hb_buffer_t.

A patch to libav is also required to fix the multi-object problem.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6211 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Minor interop update.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6212 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Missing file from last checkin.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6213 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: One more missing change.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6214 b64f7644-9d1e-0410-96f1-a4d463321fa5
macui/cli/libhb: cleanup

macui: Simplifies code in Controller.m and fixes a few bugs
macui: Fixes "Windows 8 Phone" preset aspect ratio problem
macui: round up to next mod boundary when limiting to title dimensions - crop
libhb: Eliminates hb_fix_aspect and hb_set_size functions.
libhb: Makes hb_validate_size a passthru to hb_set_anamorphic_size
cli: eliminage use of hb_validate_size


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6215 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: New denoiser, nlmeans.

Non-local means averages multiple patches of similar pixels together, preserving similarities and attenuating variance (usually noise). This is typically more effective than lowpass and more faithfully restores the appearance of structure and detail found in the original source, especially in the high frequency range. Parameters for origin patch weight tuning and pre-filtering further improve on the original algorithm.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6216 b64f7644-9d1e-0410-96f1-a4d463321fa5
CLI: Improve nlmeans-tune logging and error handling.

The latter fixes a compiler issue.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6217 b64f7644-9d1e-0410-96f1-a4d463321fa5
CLI: Remove unnecessary include in last commit.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6218 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: unbreak interop job structure
I broke it here https://trac.handbrake.fr/changeset/6215


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6219 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: cleanup
use hb_set_anamorphic_size2 instead of hb_set_anamorphic_size
simplify preview generation code.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6220 b64f7644-9d1e-0410-96f1-a4d463321fa5
bd: fix long delays caused by updated libbluray

bd_seek and the new m2ts_filter in libbluray have a bad interaction.
So use bd_seek_time instead.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6221 b64f7644-9d1e-0410-96f1-a4d463321fa5
manicure: Allow manicure to be included in other scripts.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6222 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: Add median prefilter to nlmeans.



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