summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authormaurj <[email protected]>2007-03-23 16:08:12 +0000
committermaurj <[email protected]>2007-03-23 16:08:12 +0000
commitd247bba2cb6161ada13d4930116f5a090eae9f51 (patch)
tree37ace515ac76830b9933f1f7b16131457017197c /libhb/common.h
parentaac0c8376178c6c60c93edb018a328e9b5b20ac3 (diff)
Added chapter markers in a chapter text track in mp4 files.
This option is turned off by default. It can be turned on in the CLI by specifying a "-m" or "--markers" option. it is not yet enabled as an option in the Mac GUI. These chapter tracks are only detected by QuickTime if the file extension is .m4v. If the extension is .mp4, the chapter text track is ignored. To this end, I have made test.c detect .m4v as a file extension for mp4 too. This change has required a substantial change to the mp4v2 library patch. Until the precompiled contrib binaries are updated by Prigaux, try doing "./configure" and then "./jam" (which will build the native contribs, but fail to build UB versions of the apps), and then try "make internal" to compile a native version of the apps. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@440 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index a2be02a87..14f0719a8 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -94,6 +94,9 @@ struct hb_job_s
int chapter_start;
int chapter_end;
+ /* Include chapter marker track in mp4? */
+ int chapter_markers;
+
/* Picture settings:
crop: must be multiples of 2 (top/bottom/left/right)
deinterlace: 0 or 1