WinGui: Change the Binding behaviour to update the bound field as the user types rather than when focus is lost.

git-svn-id: svn://localhost/HandBrake/trunk@4697 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
WinGui: Improvements and fixes to the Queue Window. Added WhenDone option. Fixed an issue where the progress counter would not display if you started an encode before opening the queue window. 
Updated the Options Window to keep settings displayed up to date.

git-svn-id: svn://localhost/HandBrake/trunk@4698 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
LinGui: fix crash when ejecting dvd


git-svn-id: svn://localhost/HandBrake/trunk@4699 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
LinGui: oops, fixed on sigsegv and created another :(


git-svn-id: svn://localhost/HandBrake/trunk@4700 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
LinGui: fix a bunch of compiler warnings


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


git-svn-id: svn://localhost/HandBrake/trunk@4702 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
WinGui: Add a warning when closing the app while an encode is running. A fix for the Browse button not updating the Output format dropdown correctly.

git-svn-id: svn://localhost/HandBrake/trunk@4703 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
Bump x264 to r2200-999b753.

- H.264 Level 5.2 support.

- Threaded lookahead: improved encoding speed with very fast settings, on systems with 8 processor "threads" or more.

'By default, lookahead threads are 1/6 of regular threads.  This isn't exacting,
but it seems to work well for all presets on real systems.  With sliced-threads,
it's the same as the number of encoding threads.'

Mini-benchmark:
---------------

2.2 GHz Intel Core i7, 8 processor threads (4 physical cores + 4 virtual cores), Mac OS X 10.7.4. HandBrake's "Normal" preset.

libavcodec decoding threads: 8 / 2 + 1 =  5

x264 encoding threads:       8 * 3 / 2 = 12

x264 lookahead threads:      12 / 6    =  2

Blu-ray, H.264, 1920x1080 -> 1920x800

~48 fps with threaded lookahead, ~42 fps without

DVD, MPEG-2, 720x576 -> 720x576

~224 fps with threaded lookahead, ~192 fps without 



git-svn-id: svn://localhost/HandBrake/trunk@4704 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
decdca: attempt to fix Dolby Surround and Pro Logic II mixdown. We were doing it wrong in some cases.

This means Dolby Pro Logic II is now only available for sources with at least L, R, C, Ls, Rs channels (as well as any additional channels), due to some libdca limitations. This will eventually go away when we use our own downmixing for all sources.

Further cleanup to follow.

Also cleans up usage of audio->config.in.flags (was audio->config.flags.*).



git-svn-id: svn://localhost/HandBrake/trunk@4705 b64f7644-9d1e-0410-96f1-a4d463321fa5
Merge branch 'master' of git@github.com:HandBrake/HandBrake
WinGui: Fix for the Constant Quality slider when changing the granularity without restarting the app.

git-svn-id: svn://localhost/HandBrake/trunk@4706 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Fix a threading bug in the Queue Manger. ClearCompleted should always be done on the UI Thread. This was causing the "Clear completed" queue option to crash.

git-svn-id: svn://localhost/HandBrake/trunk@4707 b64f7644-9d1e-0410-96f1-a4d463321fa5