diff options
author | jbrjake <[email protected]> | 2007-11-28 20:40:47 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2007-11-28 20:40:47 +0000 |
commit | 1756f9b6ab9ead7effc6d8daaeb7fe90156ad3be (patch) | |
tree | 9f7eb373e2675a8f2bebb981694fa3222e9fb6bf /libhb | |
parent | 048267df5fff981e702edc5e44d7ac6115221d7d (diff) |
Gives the CLI a separate option for adding the iPod UUID atom to mp4 files, instead of it just being a side-effect of using the x264b30 encoder. It's called with -I or --ipod-atom .
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1084 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/common.h | 1 | ||||
-rw-r--r-- | libhb/muxmp4.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libhb/common.h b/libhb/common.h index 1f16366e8..988ea3d55 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -260,6 +260,7 @@ struct hb_job_s /* Allow MP4 files > 4 gigs */ int largeFileSize; int mp4_optimize; + int ipod_atom; int indepth_scan; hb_subtitle_t ** select_subtitle; diff --git a/libhb/muxmp4.c b/libhb/muxmp4.c index 0760aac64..13e2247a1 100644 --- a/libhb/muxmp4.c +++ b/libhb/muxmp4.c @@ -200,7 +200,7 @@ static int MP4Init( hb_mux_object_t * m ) MP4AddH264PictureParameterSet( m->file, mux_data->track, job->config.h264.pps, job->config.h264.pps_length ); - if( job->h264_level == 30) + if( job->h264_level == 30 || job->ipod_atom) { hb_log("About to add iPod atom"); AddIPodUUID(m->file, mux_data->track); |