]> granicus.if.org Git - handbrake/commit
MacGui: Never disable the chapter markers checkbox.
authordynaflash <dynaflashtech@gmail.com>
Tue, 29 Mar 2011 17:55:25 +0000 (17:55 +0000)
committerdynaflash <dynaflashtech@gmail.com>
Tue, 29 Mar 2011 17:55:25 +0000 (17:55 +0000)
commitdb2b25f9d19354853a211dcb600f1931aa21980e
tree84472e51affb5d82363000db8ba54453aa419a48
parent269d067f6662f2937105d44ba93f2cb49ebc3540
MacGui: Never disable the chapter markers checkbox.
Patch by Rodeo ... Thanks!

- Discussed here https://reviews.handbrake.fr/r/58/
This allows users to enable/disable chapter markers regardless of whether the source has chapters, which is very useful when saving a preset.

This will not cause chapter markers to be inserted if we only have one chapter, as this is sanitized twice:
 - once in macosx/Controller.m, in createQueueFileItem
 - once in libhb/work.c, in do_job()

In autoSetM4vExtension, update the condition for chapter markers being on or off, since we can no longer rely on the checkbox being enabled/disabled.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3888 b64f7644-9d1e-0410-96f1-a4d463321fa5
macosx/Controller.m