libhb: Improve nlmeans edgeboost prefilter.

Fixes a typo (1/27 instead of 1/127) that caused edgeboost to match on nearly everything, and tweaks this number slightly.
Adds a post-processing step to handle marked pixels having too few marked neighboring pixels as false positives.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6224 b64f7644-9d1e-0410-96f1-a4d463321fa5
libav: fix decoding of multi-object PGS


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6225 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix typo in flag definition
NO_IDR and SCAN_COMPLETE values overlapped


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6226 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Adding support for Nlmeans to the front-end.  Plist keys still tbd.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6227 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGUI: Expanded the auto name feature to make it as powerful as the WinGUI counterpart.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6228 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: work around libav decoder error durint p-to-p encoding

In some cases, initial data when in p-to-p mode causes libav decoder
initialization to fail.  This only happens when multi-threaded encoding
is enabled.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6229 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: work around bug in GtkScaleButton
When the button value is updated programatically, the update event is not
sent and therefore the label is not updated.  So update the label manually
instead of relying on the event to trigger the update.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6230 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGUI: Refactored the controller code for the video/audio/subtitles/chapters view:
Added a xib file and a NSViewController subclass for each tab of the main HandBrake window.
Each view controller now to responds to the HBContainerChangedNotification and HBTitleChangedNotification notifications instead of using a custom way to notify changes.
Converted the modified .xibs to the Xcode 5.1 format.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6231 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: moved two methods used by the whole app to HBUtilities.m:
- appSupportPath:
- writeToActivityLog:

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6232 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: Replaced some deprecated functions in HBDVDDetector and ignored the QTKit deprecations warnings for now. Grouped some files in the Xcode project.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6233 b64f7644-9d1e-0410-96f1-a4d463321fa5
cli: Simplify output geometry calculation
Fix bug where non-anamorphic mode ignores modulus
Change default modulus to 2


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6234 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: Improve handling of streams with broken video timestamps
Addresses https://forum.handbrake.fr/viewtopic.php?f=12&t=30307&p=140045#p139847


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6235 b64f7644-9d1e-0410-96f1-a4d463321fa5
cli: allow user cli options to override defaults for fallback audio encoder
Solves: https://forum.handbrake.fr/viewtopic.php?f=10&t=28074&sid=68d8c5bfffd7081625bcd56fb7c4dad1


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6236 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGUI: removed an unneeded __bridge in HBDVDDetector. Might fix a crash in the nightly.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6237 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: Used a different api in HBDVDDetector to avoid DiskArbitration crashes.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6238 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui/CLI/libhb: add nlmeans denoise filter to lingui
Move nlmeans preset&tune parsing from cli to libhb


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