libhb: prevent segfault when opening mp4 file fails.

MP4End() attempted to use invalid MP4File context.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5107 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Improved handling of preview filename generation and fixed the seconds / frames options to update in realtime with the duration calculation. 

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5108 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Default the textboxes for Seconds and Frames to sensible values.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5109 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: add x264 preset/tune/profile/level support


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5110 b64f7644-9d1e-0410-96f1-a4d463321fa5
update presets for lingui and CLI

These new presets use x264 preset/tune/profile/level


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5111 b64f7644-9d1e-0410-96f1-a4d463321fa5
lingui: convert tabs to spaces

Makes lingui source conform to hb standard for indentation.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5112 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Initial work to implement x264 Preset/Tune/Profile/Level options in-gui.
Still some stuff to tidy up but should be usable for now.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5113 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: preset import/export robustness

Upon import, if x264Preset is missing, force x264UseAdvancedOptions enabled.
Upon export, if x264UseAdvancedOptions is true, do not output x264Preset,
x264Tune, x264Level, x264Profile, or x264OptionExtra.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5114 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Add the plist keys and fix numerous bugs in the x264 preset/tune/profile/level code.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5115 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: Update copyright dates


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5117 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: filter out x264 profiles high10 and high422

10 bit encoding and yuv422 are not supported.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5118 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Remove High10 and High422 options.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5119 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Bump copyright date.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5120 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Missed a place for removing High10 and 422

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5121 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Increase the size of the cropping numeric boxes and change their binding update trigger to be lost focus so that the modulus calculation doesn't interfere with the user typing values.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5122 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Removed High444, use auto instead.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5123 b64f7644-9d1e-0410-96f1-a4d463321fa5
Bump libav to v9_beta3.

Miscellaneous bugfixes and improvements.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5124 b64f7644-9d1e-0410-96f1-a4d463321fa5
LinGui: filter out high444 from h264 profiles

and force profile to auto when RF < 1.0
and fix a problem with video quality slider digits display when changing
granularity in preferences.


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