WinGui: (WPF) Improvements to the new audio panel.

git-svn-id: svn://localhost/HandBrake/trunk@4614 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
WinGui: (WPF) Updates to the new Query Generator to deal with passthru tracks correctly.

git-svn-id: svn://localhost/HandBrake/trunk@4615 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
libhb: allow arbitrary number of preview images, fixes potential crash
scan.c had a limit of 30 previews due to fixed array size.  But test.c didn't
limit the max number of previews, so it was possible to generate a crash
by specifying > 30.  This removes the limitation.


git-svn-id: svn://localhost/HandBrake/trunk@4616 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
libhb: fix problem with incorrect addition of audio silence
sync needs the precise duration of a frame of audio and has
no way to compute it for passthru audio.  So add a duration
member to hb_buffer_t and set it in the audio decoders.

This should eventually supersede hb_buffer_t member "stop"
since it provides redundant information.


git-svn-id: svn://localhost/HandBrake/trunk@4618 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
merge assorted fixes provided by Rogerio Brito

Pretty much all resource cleanup issues on error condition handling.
Thanks Rogerio!


git-svn-id: svn://localhost/HandBrake/trunk@4620 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
Simplify Foreign Audio Search code:

- move all subtitle hit counting to the decoders instead of reader
---> allows us to count actual subtitles rather than just packets

- always count subtitles, even when not doing a scan (may be useful in the future)

Miscellaneous improvements:

- always insert select_subtitle at the head of the output subtitle list, to make it less likely to be dropped

- when multiple subtitle tracks have forced hits, pick the track with the fewest forced hits
---> Foreign Audio Search should now work with Star Wars on Blu-ray

- logging improvements (more readable, and log job->select_subtitle configuration - Forced Only vs. All, Render vs. Passthrough)



git-svn-id: svn://localhost/HandBrake/trunk@4622 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
Minor simplification.



git-svn-id: svn://localhost/HandBrake/trunk@4623 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
cli: allow use of hh:mm:ss format when specifying p-to-p start/stop time


git-svn-id: svn://localhost/HandBrake/trunk@4624 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
libhb: bob deinterlacing

This is jbrjake's patch for bob deinterlacing applied to decomb and deinterlace
filters.  Thanks to yeasah's for refinements and testing of this patch.


git-svn-id: svn://localhost/HandBrake/trunk@4625 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
don't do combing check twice per frame when bobbing

and fix saving bob setting in LinGui presets


git-svn-id: svn://localhost/HandBrake/trunk@4626 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake