MacGui: set the NSOnState on the selected preset menu item.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6381 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: use the menu item tag to select the item of the format popup button.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6382 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: add gpl v2 copyright message do deccc608sub

much of this work was borrowed from ccextractor which is GPL v2


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6383 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: don't set duration of PGS subtitles

PGS subtitles are terminated by an explicit "end of sub" subtitle in
the stream.  The duration is not used (or known in advance). So every
PGS was getting the default 10s duration assigned.  This made the 
overall duration of the stream appear longer than it really is.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6384 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: fix denies in preview jobs.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6385 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix mp4 optimize

movflags were being overwritten, silly error on my part.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6386 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: fixed the denoise custom options string.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6387 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Add UIAutomation Names to some of the key controls on the main window.  If this works as described, will roll out on an extended basis.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6388 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix setting thread_count for libav encoding


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6389 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: enable "More Settings" box in video tab for VP8


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6390 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: fix preset save dialog width&height
Fields were not enabled.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6391 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Change the update checker to use the 64bit appcast when the operating system is 64bit even when the app is the 32bit version.  
Added Operating bit-ness to the log header.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6392 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: The update checker will now show an update on 32bit versions of the app if the system supports the 64bit version, even if the version number is the same.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6393 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: plug memory leaks


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6394 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix CC text attributes
The attributes (like italic) were not getting cleared when necessary.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6395 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: fix scanning of video that is a single GOP
With this type of stream, scan only successfully decodes 1 frame.
Eliminating the flush after seek allows decoding more frames.
Note that there is a side effect of allowing some junk frames to be decoded,
so we only skip the flush if normal scanning finds only 1 frame.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6396 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb: thread nlmeans filter
Scales well with number of CPUs, so is 4x faster on quad cores.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6397 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Fix an issue loading preset Maximum Width/Height info. This was causing previous preset values to be used when calling the libhb calculation logic, leading to bad values.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6398 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: fix preview deinterlace display. The new deinterlace setting was set to the old preview generator instead of the new one.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6399 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Fix for Srt files not loading correctly.

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