summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-09-01 14:50:55 +0000
committerjstebbins <[email protected]>2014-09-01 14:50:55 +0000
commit8c41f0af6ccb40c81f26c5d8b18d8ae199a350a9 (patch)
tree80082e98b2d19b277616d396ecb777980ad6ddab /libhb
parent944e168d2bccbdf30c9287f99a4b4b5b140ea547 (diff)
libhb: fix mp4 optimize
movflags were being overwritten, silly error on my part. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6386 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/muxavformat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c
index 284e92718..34e76fd46 100644
--- a/libhb/muxavformat.c
+++ b/libhb/muxavformat.c
@@ -155,8 +155,9 @@ static int avformatInit( hb_mux_object_t * m )
av_dict_set(&av_opts, "brand", "mp42", 0);
if (job->mp4_optimize)
- av_dict_set( &av_opts, "movflags", "faststart", 0 );
- av_dict_set( &av_opts, "movflags", "disable_chpl", 0 );
+ av_dict_set(&av_opts, "movflags", "faststart+disable_chpl", 0);
+ else
+ av_dict_set(&av_opts, "movflags", "+disable_chpl", 0);
break;
case HB_MUX_AV_MKV: