From 0988a6a03594aa02047abe6528edbedd926711bc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 16 Dec 2011 02:45:03 +0100 Subject: [PATCH] movenc: disable iods by default Signed-off-by: Michael Niedermayer Approved-by: MP4_maniac Approved-by: Baptiste Coudurier --- libavformat/movenc.c | 2 +- tests/ref/acodec/alac | 4 ++-- tests/ref/vsynth1/mpeg4 | 4 ++-- tests/ref/vsynth2/mpeg4 | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 0b5097b567..2e8ef90e0e 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -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 }, diff --git a/tests/ref/acodec/alac b/tests/ref/acodec/alac index 39264c53c7..db6393ac46 100644 --- a/tests/ref/acodec/alac +++ b/tests/ref/acodec/alac @@ -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 diff --git a/tests/ref/vsynth1/mpeg4 b/tests/ref/vsynth1/mpeg4 index 3d6f985e5a..fbf3b8fdcc 100644 --- a/tests/ref/vsynth1/mpeg4 +++ b/tests/ref/vsynth1/mpeg4 @@ -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 diff --git a/tests/ref/vsynth2/mpeg4 b/tests/ref/vsynth2/mpeg4 index 35729a0a7a..726e1d9436 100644 --- a/tests/ref/vsynth2/mpeg4 +++ b/tests/ref/vsynth2/mpeg4 @@ -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