MacGui: fix a bug when saving a preset, the x264 system is used but the unparsed string is empty (all defaults).



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5387 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: when switching from the x264 system to the advanced panel, populate the advanced panel's options string with the unparsed x264 system options.

Also, don't reset the x264 system widgets, so that the x264 system settings are not lost when switching back.

When loading a preset whic uses the advanced panel, do reset the x264 system widgets, however.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5388 b64f7644-9d1e-0410-96f1-a4d463321fa5
Update Mac build instructions.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5389 b64f7644-9d1e-0410-96f1-a4d463321fa5
decssasub, dectx3gsub: fix writing past hb_buffer_t data[size - 1].

This is not safe and causes subtitle corruption.

Same fix as SVN revision 5346 for the remaining text-based subtitle deocders.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5390 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: widen the preview window's HUD display by 10 pixels.

The info string "Source: 1920x1080, Output: 1920x1080, Anamorphic: 1920x1080 Custom" was being wrapped.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5391 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: fix loading preset which specify an advanced options string (rather than using the x264 preset system).

Also miscellaneous cleanup and improvement.

The issue was introduced in SVN revision 5388.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5392 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: rename a variable.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5393 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: don't mention grayscale twice in the queue display.

Since it's mentioned in the filter summary, we don't need to repeat it in the picture summary.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5394 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: main and queue window improvements.

Merge fPictureSizeField and fPictureCroppingField into fPictureSettingsField (fits on a single line).

Rename fVideoFiltersField to fPictureFiltersField.

Move the two text fields closer to each other now that there is more room.
Also align their contents using tabs.
This should look better overall.

Add pictureSettingsSummary and pictureFiltersSummary to generate the text summaries used in the fields above.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5395 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Fix Modulus option in preset import.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5396 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Fix the x264 preset/tune/profile tooltip so that it now shows the equivalent x264 query. Also added an option to disable libhb features such as this incase this turns out to be problematic.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5397 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: simplify queue display code.

Add detailed summaries to the queue item dictionary and use them in HBQueueController.
This helps remove a lot of duplicate logic.

Uses existing methods pictureSettingsSummary, pictureFiltersSummary and new muxerOptionsSummary.

Also add a few height rows for long lines that often wrap to a second row.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5398 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Fix the Preset exporter. (VideoFramerateMode was missing)

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5399 b64f7644-9d1e-0410-96f1-a4d463321fa5
CLI: improve help for video filters.

Includes mention of the new "bob" mode for decomb and deinterlace.



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5400 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: Bump the Growl SDK to 2.0.1 bringing notification centre support for those not running the growl application.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5402 b64f7644-9d1e-0410-96f1-a4d463321fa5
Attempt to fix SymLinks

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5403 b64f7644-9d1e-0410-96f1-a4d463321fa5
MacGui: Bump year to 2013

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5404 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Added some additional sanity checking around preset import/export code.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5405 b64f7644-9d1e-0410-96f1-a4d463321fa5
WinGui: Disable Custom Anamorphic calculations (Will implement these via libhb after the next release) but leave the options as passthru only.  Hide the Keep AR checkbox when it's not applicable. 

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5406 b64f7644-9d1e-0410-96f1-a4d463321fa5
muxmp4: compute audio frame durations when the frame size isn't known.

Otherwise, mp4v2 would assume a duration of zero and never write any audio chunk, causing excessive memory usage and a noticeable performance decrease in some cases.

The issue was introduced in SVN revision 4825, when libavcodec stopped setting AVCodecContext.frame_size for some codecs.



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