movenc: disable iods by default
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 16 Dec 2011 01:45:03 +0000 (02:45 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 16 Dec 2011 02:50:19 +0000 (03:50 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Approved-by: MP4_maniac
Approved-by: Baptiste Coudurier
libavformat/movenc.c
tests/ref/acodec/alac
tests/ref/vsynth1/mpeg4
tests/ref/vsynth2/mpeg4

index 0b5097b..2e8ef90 100644 (file)
@@ -49,7 +49,7 @@ static const AVOption options[] = {
     { "frag_size", "maximum fragment size", offsetof(MOVMuxContext, max_fragment_size), AV_OPT_TYPE_INT, {.dbl = 0}, 0, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, 0 },
     { "frag_duration", "maximum fragment duration", offsetof(MOVMuxContext, max_fragment_duration), AV_OPT_TYPE_INT, {.dbl = 0}, 0, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, 0 },
     FF_RTP_FLAG_OPTS(MOVMuxContext, rtp_flags),
-    { "skip_iods", "Skip writing iods atom.", offsetof(MOVMuxContext, iods_skip), AV_OPT_TYPE_INT, {.dbl = 0}, 0, 1, AV_OPT_FLAG_ENCODING_PARAM},
+    { "skip_iods", "Skip writing iods atom.", offsetof(MOVMuxContext, iods_skip), AV_OPT_TYPE_INT, {.dbl = 1}, 0, 1, AV_OPT_FLAG_ENCODING_PARAM},
     { "iods_audio_profile", "iods audio profile atom.", offsetof(MOVMuxContext, iods_audio_profile), AV_OPT_TYPE_INT, {.dbl = -1}, -1, 255, AV_OPT_FLAG_ENCODING_PARAM},
     { "iods_video_profile", "iods video profile atom.", offsetof(MOVMuxContext, iods_video_profile), AV_OPT_TYPE_INT, {.dbl = -1}, -1, 255, AV_OPT_FLAG_ENCODING_PARAM},
     { NULL },
index 39264c5..db6393a 100644 (file)
@@ -1,4 +1,4 @@
-bff6044a7f303d8482775f4fcdc2d272 *./tests/data/acodec/alac.m4a
-389190 ./tests/data/acodec/alac.m4a
+4fe333ff79e86cca6ba8c109cc08263e *./tests/data/acodec/alac.m4a
+389166 ./tests/data/acodec/alac.m4a
 64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/alac.acodec.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
index 3d6f985..fbf3b8f 100644 (file)
@@ -1,4 +1,4 @@
-146bf838d7efd524595c68145337dfef *./tests/data/vsynth1/odivx.mp4
-540020 ./tests/data/vsynth1/odivx.mp4
+f32960be0f05be8b2ed03447e1eaea6f *./tests/data/vsynth1/odivx.mp4
+539996 ./tests/data/vsynth1/odivx.mp4
 8828a375448dc5c2215163ba70656f89 *./tests/data/mpeg4.vsynth1.out.yuv
 stddev:    7.97 PSNR: 30.10 MAXDIFF:  105 bytes:  7603200/  7603200
index 35729a0..726e1d9 100644 (file)
@@ -1,4 +1,4 @@
-ad44d4d5a20fbd40641703a5de46fd5c *./tests/data/vsynth2/odivx.mp4
-119673 ./tests/data/vsynth2/odivx.mp4
+4d092ca067362a61b9c96f5f12a1ab5a *./tests/data/vsynth2/odivx.mp4
+119649 ./tests/data/vsynth2/odivx.mp4
 90a3577850239083a9042bef33c50e85 *./tests/data/mpeg4.vsynth2.out.yuv
 stddev:    5.34 PSNR: 33.57 MAXDIFF:   83 bytes:  7603200/  7603200