[FFmpeg-cvslog] avformat/movenc: write the major brand also as the first compatible brand

James Almer git at videolan.org
Sat Dec 21 16:59:02 EET 2019


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Nov 27 14:15:34 2019 -0300| [58ac7608160b4fd3f696f07cd68f5e340f0f6832] | committer: James Almer

avformat/movenc: write the major brand also as the first compatible brand

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=58ac7608160b4fd3f696f07cd68f5e340f0f6832
---

 libavformat/movenc.c                               |  61 ++++++------
 tests/ref/acodec/alac                              |   4 +-
 tests/ref/acodec/pcm-s16be                         |   4 +-
 tests/ref/acodec/pcm-s24be                         |   4 +-
 tests/ref/acodec/pcm-s32be                         |   4 +-
 tests/ref/acodec/pcm-s8                            |   4 +-
 tests/ref/fate/adtstoasc_ticket3715                |   4 +-
 tests/ref/fate/binsub-movtextenc                   |   2 +-
 tests/ref/fate/copy-psp                            |   2 +-
 tests/ref/fate/copy-trac236                        |   4 +-
 tests/ref/fate/copy-trac3074                       |   4 +-
 .../hapqa-extract-nosnappy-to-hapalphaonly-mov     |   2 +-
 tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov  |   2 +-
 tests/ref/fate/movenc                              | 106 ++++++++++-----------
 tests/ref/fate/prores-metadata                     |   2 +-
 tests/ref/lavf-fate/av1.mp4                        |   4 +-
 tests/ref/lavf-fate/h264.mp4                       |   4 +-
 tests/ref/lavf-fate/qtrle_mace6.mov                |   4 +-
 tests/ref/lavf/ismv                                |  12 +--
 tests/ref/lavf/mov                                 |  12 +--
 tests/ref/lavf/mov_rtphint                         |   4 +-
 tests/ref/lavf/mp4                                 |  12 +--
 tests/ref/seek/acodec-alac                         |  54 +++++------
 tests/ref/seek/acodec-pcm-s16be                    |  54 +++++------
 tests/ref/seek/acodec-pcm-s24be                    |  54 +++++------
 tests/ref/seek/acodec-pcm-s32be                    |  54 +++++------
 tests/ref/seek/acodec-pcm-s8                       |  54 +++++------
 tests/ref/seek/lavf-mov                            |  44 ++++-----
 tests/ref/seek/vsynth_lena-dnxhd-1080i             |  36 +++----
 tests/ref/seek/vsynth_lena-mpeg4                   |  48 +++++-----
 tests/ref/seek/vsynth_lena-svq1                    |  48 +++++-----
 tests/ref/vsynth/vsynth1-avui                      |   4 +-
 tests/ref/vsynth/vsynth1-dnxhd-1080i               |   4 +-
 tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit         |   4 +-
 tests/ref/vsynth/vsynth1-dnxhd-1080i-colr          |   4 +-
 tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov           |   4 +-
 tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov           |   4 +-
 tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov           |   4 +-
 tests/ref/vsynth/vsynth1-mov-bgr24                 |   4 +-
 tests/ref/vsynth/vsynth1-mov-bpp15                 |   4 +-
 tests/ref/vsynth/vsynth1-mov-bpp16                 |   4 +-
 tests/ref/vsynth/vsynth1-mpeg4                     |   4 +-
 tests/ref/vsynth/vsynth1-prores                    |   4 +-
 tests/ref/vsynth/vsynth1-prores_444                |   4 +-
 tests/ref/vsynth/vsynth1-prores_444_int            |   4 +-
 tests/ref/vsynth/vsynth1-prores_int                |   4 +-
 tests/ref/vsynth/vsynth1-prores_ks                 |   4 +-
 tests/ref/vsynth/vsynth1-qtrle                     |   4 +-
 tests/ref/vsynth/vsynth1-qtrlegray                 |   4 +-
 tests/ref/vsynth/vsynth1-svq1                      |   4 +-
 tests/ref/vsynth/vsynth1-vc2-420p                  |   4 +-
 tests/ref/vsynth/vsynth1-vc2-420p10                |   4 +-
 tests/ref/vsynth/vsynth1-vc2-420p12                |   4 +-
 tests/ref/vsynth/vsynth1-vc2-422p                  |   4 +-
 tests/ref/vsynth/vsynth1-vc2-422p10                |   4 +-
 tests/ref/vsynth/vsynth1-vc2-422p12                |   4 +-
 tests/ref/vsynth/vsynth1-vc2-444p                  |   4 +-
 tests/ref/vsynth/vsynth1-vc2-444p10                |   4 +-
 tests/ref/vsynth/vsynth1-vc2-444p12                |   4 +-
 tests/ref/vsynth/vsynth1-vc2-t5_3                  |   4 +-
 tests/ref/vsynth/vsynth1-vc2-thaar                 |   4 +-
 tests/ref/vsynth/vsynth2-avui                      |   4 +-
 tests/ref/vsynth/vsynth2-dnxhd-1080i               |   4 +-
 tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit         |   4 +-
 tests/ref/vsynth/vsynth2-dnxhd-1080i-colr          |   4 +-
 tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov           |   4 +-
 tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov           |   4 +-
 tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov           |   4 +-
 tests/ref/vsynth/vsynth2-mov-bgr24                 |   4 +-
 tests/ref/vsynth/vsynth2-mov-bpp15                 |   4 +-
 tests/ref/vsynth/vsynth2-mov-bpp16                 |   4 +-
 tests/ref/vsynth/vsynth2-mpeg4                     |   4 +-
 tests/ref/vsynth/vsynth2-prores                    |   4 +-
 tests/ref/vsynth/vsynth2-prores_444                |   4 +-
 tests/ref/vsynth/vsynth2-prores_444_int            |   4 +-
 tests/ref/vsynth/vsynth2-prores_int                |   4 +-
 tests/ref/vsynth/vsynth2-prores_ks                 |   4 +-
 tests/ref/vsynth/vsynth2-qtrle                     |   4 +-
 tests/ref/vsynth/vsynth2-qtrlegray                 |   4 +-
 tests/ref/vsynth/vsynth2-svq1                      |   4 +-
 tests/ref/vsynth/vsynth2-vc2-420p                  |   4 +-
 tests/ref/vsynth/vsynth2-vc2-420p10                |   4 +-
 tests/ref/vsynth/vsynth2-vc2-420p12                |   4 +-
 tests/ref/vsynth/vsynth2-vc2-422p                  |   4 +-
 tests/ref/vsynth/vsynth2-vc2-422p10                |   4 +-
 tests/ref/vsynth/vsynth2-vc2-422p12                |   4 +-
 tests/ref/vsynth/vsynth2-vc2-444p                  |   4 +-
 tests/ref/vsynth/vsynth2-vc2-444p10                |   4 +-
 tests/ref/vsynth/vsynth2-vc2-444p12                |   4 +-
 tests/ref/vsynth/vsynth2-vc2-t5_3                  |   4 +-
 tests/ref/vsynth/vsynth2-vc2-thaar                 |   4 +-
 tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit         |   4 +-
 tests/ref/vsynth/vsynth3-dnxhd-1080i-colr          |   4 +-
 tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov           |   4 +-
 tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov           |   4 +-
 tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov           |   4 +-
 tests/ref/vsynth/vsynth3-mov-bgr24                 |   4 +-
 tests/ref/vsynth/vsynth3-mov-bpp15                 |   4 +-
 tests/ref/vsynth/vsynth3-mov-bpp16                 |   4 +-
 tests/ref/vsynth/vsynth3-mpeg4                     |   4 +-
 tests/ref/vsynth/vsynth3-prores                    |   4 +-
 tests/ref/vsynth/vsynth3-prores_444                |   4 +-
 tests/ref/vsynth/vsynth3-prores_444_int            |   4 +-
 tests/ref/vsynth/vsynth3-prores_int                |   4 +-
 tests/ref/vsynth/vsynth3-prores_ks                 |   4 +-
 tests/ref/vsynth/vsynth3-qtrle                     |   4 +-
 tests/ref/vsynth/vsynth3-svq1                      |   4 +-
 tests/ref/vsynth/vsynth_lena-avui                  |   4 +-
 tests/ref/vsynth/vsynth_lena-dnxhd-1080i           |   4 +-
 tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit     |   4 +-
 tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr      |   4 +-
 tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov       |   4 +-
 tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov       |   4 +-
 tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov       |   4 +-
 tests/ref/vsynth/vsynth_lena-mov-bgr24             |   4 +-
 tests/ref/vsynth/vsynth_lena-mov-bpp15             |   4 +-
 tests/ref/vsynth/vsynth_lena-mov-bpp16             |   4 +-
 tests/ref/vsynth/vsynth_lena-mpeg4                 |   4 +-
 tests/ref/vsynth/vsynth_lena-prores                |   4 +-
 tests/ref/vsynth/vsynth_lena-prores_444            |   4 +-
 tests/ref/vsynth/vsynth_lena-prores_444_int        |   4 +-
 tests/ref/vsynth/vsynth_lena-prores_int            |   4 +-
 tests/ref/vsynth/vsynth_lena-prores_ks             |   4 +-
 tests/ref/vsynth/vsynth_lena-qtrle                 |   4 +-
 tests/ref/vsynth/vsynth_lena-qtrlegray             |   4 +-
 tests/ref/vsynth/vsynth_lena-svq1                  |   4 +-
 tests/ref/vsynth/vsynth_lena-vc2-420p              |   4 +-
 tests/ref/vsynth/vsynth_lena-vc2-420p10            |   4 +-
 tests/ref/vsynth/vsynth_lena-vc2-420p12            |   4 +-
 tests/ref/vsynth/vsynth_lena-vc2-422p              |   4 +-
 tests/ref/vsynth/vsynth_lena-vc2-422p10            |   4 +-
 tests/ref/vsynth/vsynth_lena-vc2-422p12            |   4 +-
 tests/ref/vsynth/vsynth_lena-vc2-444p              |   4 +-
 tests/ref/vsynth/vsynth_lena-vc2-444p10            |   4 +-
 tests/ref/vsynth/vsynth_lena-vc2-444p12            |   4 +-
 tests/ref/vsynth/vsynth_lena-vc2-t5_3              |   4 +-
 tests/ref/vsynth/vsynth_lena-vc2-thaar             |   4 +-
 137 files changed, 567 insertions(+), 564 deletions(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 126b64d984..c13578e13f 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -4741,27 +4741,11 @@ static int mov_write_mdat_tag(AVIOContext *pb, MOVMuxContext *mov)
     return 0;
 }
 
-/* TODO: This needs to be more general */
-static int mov_write_ftyp_tag(AVIOContext *pb, AVFormatContext *s)
+static void mov_write_ftyp_tag_internal(AVIOContext *pb, AVFormatContext *s,
+                                        int has_h264, int has_video, int write_minor)
 {
     MOVMuxContext *mov = s->priv_data;
-    int64_t pos = avio_tell(pb);
-    int has_h264 = 0, has_video = 0;
     int minor = 0x200;
-    int i;
-
-    for (i = 0; i < s->nb_streams; i++) {
-        AVStream *st = s->streams[i];
-        if (is_cover_image(st))
-            continue;
-        if (st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO)
-            has_video = 1;
-        if (st->codecpar->codec_id == AV_CODEC_ID_H264)
-            has_h264 = 1;
-    }
-
-    avio_wb32(pb, 0); /* size */
-    ffio_wfourcc(pb, "ftyp");
 
     if (mov->major_brand && strlen(mov->major_brand) >= 4)
         ffio_wfourcc(pb, mov->major_brand);
@@ -4788,11 +4772,36 @@ static int mov_write_ftyp_tag(AVIOContext *pb, AVFormatContext *s)
     else
         ffio_wfourcc(pb, "qt  ");
 
-    avio_wb32(pb, minor);
+    if (write_minor)
+        avio_wb32(pb, minor);
+}
 
-    if (mov->mode == MODE_MOV)
-        ffio_wfourcc(pb, "qt  ");
-    else if (mov->mode == MODE_ISM) {
+static int mov_write_ftyp_tag(AVIOContext *pb, AVFormatContext *s)
+{
+    MOVMuxContext *mov = s->priv_data;
+    int64_t pos = avio_tell(pb);
+    int has_h264 = 0, has_video = 0;
+    int i;
+
+    for (i = 0; i < s->nb_streams; i++) {
+        AVStream *st = s->streams[i];
+        if (is_cover_image(st))
+            continue;
+        if (st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO)
+            has_video = 1;
+        if (st->codecpar->codec_id == AV_CODEC_ID_H264)
+            has_h264 = 1;
+    }
+
+    avio_wb32(pb, 0); /* size */
+    ffio_wfourcc(pb, "ftyp");
+
+    // Write major brand
+    mov_write_ftyp_tag_internal(pb, s, has_h264, has_video, 1);
+    // Write the major brand as the first compatible brand as well
+    mov_write_ftyp_tag_internal(pb, s, has_h264, has_video, 0);
+
+    if (mov->mode == MODE_ISM) {
         ffio_wfourcc(pb, "piff");
     } else if (!(mov->flags & FF_MOV_FLAG_DEFAULT_BASE_MOOF)) {
         ffio_wfourcc(pb, "isom");
@@ -4806,13 +4815,7 @@ static int mov_write_ftyp_tag(AVIOContext *pb, AVFormatContext *s)
     if (mov->flags & FF_MOV_FLAG_FRAGMENT && mov->mode != MODE_ISM)
         ffio_wfourcc(pb, "iso6");
 
-    if (mov->mode == MODE_3GP)
-        ffio_wfourcc(pb, has_h264 ? "3gp6":"3gp4");
-    else if (mov->mode & MODE_3G2)
-        ffio_wfourcc(pb, has_h264 ? "3g2b":"3g2a");
-    else if (mov->mode == MODE_PSP)
-        ffio_wfourcc(pb, "MSNV");
-    else if (mov->mode == MODE_MP4)
+    if (mov->mode == MODE_MP4)
         ffio_wfourcc(pb, "mp41");
 
     if (mov->flags & FF_MOV_FLAG_DASH && mov->flags & FF_MOV_FLAG_GLOBAL_SIDX)
diff --git a/tests/ref/acodec/alac b/tests/ref/acodec/alac
index da2a84a880..d9aa45f927 100644
--- a/tests/ref/acodec/alac
+++ b/tests/ref/acodec/alac
@@ -1,4 +1,4 @@
-61b22c509780e86dfb2fd1be816d8c68 *tests/data/fate/acodec-alac.mov
-389018 tests/data/fate/acodec-alac.mov
+6effc04c1296809c85842bab626db253 *tests/data/fate/acodec-alac.mov
+389026 tests/data/fate/acodec-alac.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-alac.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s16be b/tests/ref/acodec/pcm-s16be
index 2c051ce616..91d72945ef 100644
--- a/tests/ref/acodec/pcm-s16be
+++ b/tests/ref/acodec/pcm-s16be
@@ -1,4 +1,4 @@
-5acf4268c4c4485ab79893f5e2f24e26 *tests/data/fate/acodec-pcm-s16be.mov
-1059069 tests/data/fate/acodec-pcm-s16be.mov
+9bc45c84b142078974f5fb161712d64b *tests/data/fate/acodec-pcm-s16be.mov
+1059077 tests/data/fate/acodec-pcm-s16be.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s16be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s24be b/tests/ref/acodec/pcm-s24be
index e36b503d75..25079d6633 100644
--- a/tests/ref/acodec/pcm-s24be
+++ b/tests/ref/acodec/pcm-s24be
@@ -1,4 +1,4 @@
-62e578b2e3e115a228e1ebfceeeb65c2 *tests/data/fate/acodec-pcm-s24be.mov
-1588323 tests/data/fate/acodec-pcm-s24be.mov
+6b15154b380a7687caf0fc97fb712520 *tests/data/fate/acodec-pcm-s24be.mov
+1588331 tests/data/fate/acodec-pcm-s24be.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s24be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s32be b/tests/ref/acodec/pcm-s32be
index 128187362c..670605d0b2 100644
--- a/tests/ref/acodec/pcm-s32be
+++ b/tests/ref/acodec/pcm-s32be
@@ -1,4 +1,4 @@
-2a4d853ef4916ca5081fafe234d18596 *tests/data/fate/acodec-pcm-s32be.mov
-2117527 tests/data/fate/acodec-pcm-s32be.mov
+5d95990d719c1d80094ac447aca38e33 *tests/data/fate/acodec-pcm-s32be.mov
+2117535 tests/data/fate/acodec-pcm-s32be.mov
 95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s32be.out.wav
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400
diff --git a/tests/ref/acodec/pcm-s8 b/tests/ref/acodec/pcm-s8
index 9e9f4172b7..7fc4685383 100644
--- a/tests/ref/acodec/pcm-s8
+++ b/tests/ref/acodec/pcm-s8
@@ -1,4 +1,4 @@
-65f02f9b48be05cf7b4d104c8a9d3566 *tests/data/fate/acodec-pcm-s8.mov
-529853 tests/data/fate/acodec-pcm-s8.mov
+b063cb6545cbf00e2767a2a1b6019e12 *tests/data/fate/acodec-pcm-s8.mov
+529861 tests/data/fate/acodec-pcm-s8.mov
 652edf30f35ad89bf27bcc9d2f9c7b53 *tests/data/fate/acodec-pcm-s8.out.wav
 stddev:  147.89 PSNR: 52.93 MAXDIFF:  255 bytes:  1058400/  1058400
diff --git a/tests/ref/fate/adtstoasc_ticket3715 b/tests/ref/fate/adtstoasc_ticket3715
index 49fa3eb8d9..657898e1b4 100644
--- a/tests/ref/fate/adtstoasc_ticket3715
+++ b/tests/ref/fate/adtstoasc_ticket3715
@@ -1,5 +1,5 @@
-4110be924e21846d0e174fac679b062e *tests/data/fate/adtstoasc_ticket3715.mov
-33324 tests/data/fate/adtstoasc_ticket3715.mov
+cdb20dd801cd2458ef14d3bdfbb2fe14 *tests/data/fate/adtstoasc_ticket3715.mov
+33332 tests/data/fate/adtstoasc_ticket3715.mov
 #extradata 0:        2, 0x00340022
 #tb 0: 1/44100
 #media_type 0: audio
diff --git a/tests/ref/fate/binsub-movtextenc b/tests/ref/fate/binsub-movtextenc
index dacee0931e..f98dab703e 100644
--- a/tests/ref/fate/binsub-movtextenc
+++ b/tests/ref/fate/binsub-movtextenc
@@ -1 +1 @@
-66b25412f7ca699ee525ba162246edb6
+259cc7794d438acff479eff693a72d06
diff --git a/tests/ref/fate/copy-psp b/tests/ref/fate/copy-psp
index 44ec461265..8b2cef87fa 100644
--- a/tests/ref/fate/copy-psp
+++ b/tests/ref/fate/copy-psp
@@ -1,4 +1,4 @@
-65a177552e03123c9a62ddb942970d05 *tests/data/fate/copy-psp.psp
+8578401522773d0832f538ac915ad0b0 *tests/data/fate/copy-psp.psp
 2041445 tests/data/fate/copy-psp.psp
 #extradata 0:       51, 0xaf6d1012
 #extradata 1:        2, 0x00b200a1
diff --git a/tests/ref/fate/copy-trac236 b/tests/ref/fate/copy-trac236
index 1583ae5704..bab8865093 100644
--- a/tests/ref/fate/copy-trac236
+++ b/tests/ref/fate/copy-trac236
@@ -1,5 +1,5 @@
-984a33c6292e3d35e2cfdfbf66d8e82b *tests/data/fate/copy-trac236.mov
-630860 tests/data/fate/copy-trac236.mov
+69f8fe93505811e703936d3144a71dbe *tests/data/fate/copy-trac236.mov
+630868 tests/data/fate/copy-trac236.mov
 #tb 0: 100/2997
 #media_type 0: video
 #codec_id 0: rawvideo
diff --git a/tests/ref/fate/copy-trac3074 b/tests/ref/fate/copy-trac3074
index ff66900253..c6ffda5487 100644
--- a/tests/ref/fate/copy-trac3074
+++ b/tests/ref/fate/copy-trac3074
@@ -1,5 +1,5 @@
-f92a201033712bda262f1e071e25544a *tests/data/fate/copy-trac3074.mp4
-333992 tests/data/fate/copy-trac3074.mp4
+15c0e65a78c9f6646b2ca13cfe475d35 *tests/data/fate/copy-trac3074.mp4
+333996 tests/data/fate/copy-trac3074.mp4
 #tb 0: 1/48000
 #media_type 0: audio
 #codec_id 0: eac3
diff --git a/tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov b/tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov
index eacb1f1910..5ba9acbe2f 100644
--- a/tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov
+++ b/tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov
@@ -10,7 +10,7 @@ duration_time=0.040000
 convergence_duration=N/A
 convergence_duration_time=N/A
 size=4612
-pos=36
+pos=44
 flags=K_
 data_hash=adler32:ed83c166
 [/PACKET]
diff --git a/tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov b/tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov
index ff96888f41..b85e9d06f1 100644
--- a/tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov
+++ b/tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov
@@ -10,7 +10,7 @@ duration_time=0.040000
 convergence_duration=N/A
 convergence_duration_time=N/A
 size=9220
-pos=36
+pos=44
 flags=K_
 data_hash=adler32:b3ccc147
 [/PACKET]
diff --git a/tests/ref/fate/movenc b/tests/ref/fate/movenc
index 5e8f324ea3..65ad921c80 100644
--- a/tests/ref/fate/movenc
+++ b/tests/ref/fate/movenc
@@ -1,129 +1,129 @@
-write_data len 36, time nopts, type header atom ftyp
+write_data len 40, time nopts, type header atom ftyp
 write_data len 2389, time nopts, type header atom -
 write_data len 788, time 1000000, type sync atom moof
 write_data len 110, time nopts, type trailer atom -
-17a37691eba8b858cf15e60aa9a7dbf7 3323 non-empty-moov
-write_data len 36, time nopts, type header atom ftyp
+8243f1d6c158774341c314e823ccc6da 3327 non-empty-moov
+write_data len 40, time nopts, type header atom ftyp
 write_data len 2721, time nopts, type header atom -
 write_data len 908, time 966667, type sync atom moof
 write_data len 110, time nopts, type trailer atom -
-0026ffe059c06c592021f972bf2c5e79 3775 non-empty-moov-elst
-write_data len 36, time nopts, type header atom ftyp
+312cfc1e6b04df742011fdbe08aace93 3779 non-empty-moov-elst
+write_data len 40, time nopts, type header atom ftyp
 write_data len 2629, time nopts, type header atom -
 write_data len 908, time 1000000, type sync atom moof
 write_data len 110, time nopts, type trailer atom -
-c184e168ac1e5bb3d9c70e580ab6179c 3683 non-empty-moov-no-elst
-write_data len 20, time nopts, type header atom ftyp
+82db45522bd9e4ac897cc7903a787adb 3687 non-empty-moov-no-elst
+write_data len 24, time nopts, type header atom ftyp
 write_data len 1171, time nopts, type header atom -
 write_data len 728, time 0, type sync atom moof
 write_data len 828, time nopts, type unknown atom -
 write_data len 728, time 1046439, type sync atom moof
 write_data len 812, time nopts, type unknown atom -
 write_data len 148, time nopts, type trailer atom -
-49bf122c4c732a344ef68b58acd19be5 4435 ismv
-write_data len 36, time nopts, type header atom ftyp
+a7c93f998e88fee1159580b6ca7e3d2b 4439 ismv
+write_data len 40, time nopts, type header atom ftyp
 write_data len 1123, time nopts, type header atom -
 write_data len 796, time 0, type sync atom moof
 write_data len 788, time 1000000, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-ed8506ebfce4c41732205ae26a4759fd 2891 empty-moov
-write_data len 36, time nopts, type header atom ftyp
+4bfb3a87b205515b6c9774c00b2acef6 2895 empty-moov
+write_data len 40, time nopts, type header atom ftyp
 write_data len 1123, time nopts, type header atom -
 write_data len 1068, time 0, type sync atom moof
 write_data len 908, time 1000000, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-1844ee6d19fd1e6daf2655632cf26310 3283 empty-moov-no-elst
-write_data len 36, time nopts, type header atom ftyp
+cfe8c3625ccd01c05cea23165e784eae 3287 empty-moov-no-elst
+write_data len 40, time nopts, type header atom ftyp
 write_data len 1123, time nopts, type header atom -
 write_data len 900, time -33333, type sync atom moof
 write_data len 908, time 966667, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-139b27dbe2a80c2dc088d0c755f26033 3115 empty-moov-no-elst-no-adjust
-write_data len 1159, time nopts, type header atom ftyp
+08dc75b3355921541aa41642a0308423 3119 empty-moov-no-elst-no-adjust
+write_data len 1163, time nopts, type header atom ftyp
 write_data len 796, time 0, type sync atom moof
 write_data len 788, time 1000000, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-ed8506ebfce4c41732205ae26a4759fd 2891 delay-moov
-write_data len 1231, time nopts, type header atom ftyp
+4bfb3a87b205515b6c9774c00b2acef6 2895 delay-moov
+write_data len 1235, time nopts, type header atom ftyp
 write_data len 916, time -33333, type sync atom moof
 write_data len 908, time 966667, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-3ece148745cd64b4428530a4d1080a2d 3203 delay-moov-elst
-write_data len 1195, time nopts, type header atom ftyp
+cda02de9fb30275161e92fb64077db64 3207 delay-moov-elst
+write_data len 1199, time nopts, type header atom ftyp
 write_data len 836, time 0, type sync atom moof
 write_data len 67, time nopts, type trailer atom -
-9562946a369e6fb570fb2fd7aa2fe728 2098 delay-moov-empty-track
-write_data len 1195, time nopts, type header atom ftyp
+299920e7c17047d5959facf281578d53 2102 delay-moov-empty-track
+write_data len 1199, time nopts, type header atom ftyp
 write_data len 360, time 0, type sync atom moof
 write_data len 360, time 1000000, type sync atom moof
 write_data len 86, time nopts, type trailer atom -
-4c7832b81836331c6c37155dc31d95be 2001 delay-moov-empty-track-flush
-write_data len 36, time nopts, type header atom ftyp
+f59b3dfa047519167f69dc61b1fd2f30 2005 delay-moov-empty-track-flush
+write_data len 40, time nopts, type header atom ftyp
 write_data len 1123, time nopts, type header atom -
-b7e3c768b9094ebe2fda44979a7f8985 1159 empty-moov-header
+0954dede2090f563fcf6a8141f2b67ec 1163 empty-moov-header
 write_data len 796, time 0, type sync atom moof
 write_data len 788, time 1000000, type sync atom moof
-a0165f4a26a409212b0946e981bdefb9 1584 empty-moov-content
+f233dae46d68bf452a760de6ece9eca0 1584 empty-moov-content
 write_data len 148, time nopts, type trailer atom -
-write_data len 1159, time nopts, type header atom ftyp
-b7e3c768b9094ebe2fda44979a7f8985 1159 delay-moov-header
+write_data len 1163, time nopts, type header atom ftyp
+0954dede2090f563fcf6a8141f2b67ec 1163 delay-moov-header
 write_data len 796, time 0, type sync atom moof
 write_data len 788, time 1000000, type sync atom moof
-a0165f4a26a409212b0946e981bdefb9 1584 delay-moov-content
+f233dae46d68bf452a760de6ece9eca0 1584 delay-moov-content
 write_data len 148, time nopts, type trailer atom -
-write_data len 24, time nopts, type header atom -
+write_data len 28, time nopts, type header atom -
 write_data len 1123, time nopts, type header atom -
 write_data len 884, time 0, type sync atom sidx
 write_data len 876, time 1000000, type sync atom sidx
 272a474cfd2a68cc5f05b426b14a2b7d 876 empty-moov-second-frag
 write_data len 148, time nopts, type trailer atom -
-write_data len 24, time nopts, type header atom -
+write_data len 28, time nopts, type header atom -
 write_data len 1123, time nopts, type header atom -
 write_data len 876, time 1000000, type sync atom sidx
 272a474cfd2a68cc5f05b426b14a2b7d 876 empty-moov-second-frag-discont
 write_data len 110, time nopts, type trailer atom -
-write_data len 1219, time nopts, type header atom -
+write_data len 1223, time nopts, type header atom -
 write_data len 876, time 1000000, type sync atom sidx
 272a474cfd2a68cc5f05b426b14a2b7d 876 delay-moov-second-frag-discont
 write_data len 110, time nopts, type trailer atom -
-write_data len 1219, time nopts, type header atom ftyp
-6ec3698bcc86013e0016e3d47d230363 1219 delay-moov-elst-init
+write_data len 1223, time nopts, type header atom ftyp
+b3811928793ed0749927eb2f7958421c 1223 delay-moov-elst-init
 write_data len 988, time -33333, type sync atom sidx
 write_data len 996, time 966667, type sync atom sidx
 fcae8f40e015b59aabc8d4a99a759ca1 996 delay-moov-elst-second-frag
 write_data len 148, time nopts, type trailer atom -
-write_data len 1219, time nopts, type header atom ftyp
-6ec3698bcc86013e0016e3d47d230363 1219 delay-moov-elst-init-discont
+write_data len 1223, time nopts, type header atom ftyp
+b3811928793ed0749927eb2f7958421c 1223 delay-moov-elst-init-discont
 write_data len 996, time 966667, type sync atom sidx
 fcae8f40e015b59aabc8d4a99a759ca1 996 delay-moov-elst-second-frag-discont
 write_data len 110, time nopts, type trailer atom -
-write_data len 1219, time nopts, type header atom ftyp
-c3681590a292cb9ca19a5a982e530166 1219 delay-moov-elst-signal-init
+write_data len 1223, time nopts, type header atom ftyp
+041ac8efc35a0d023c26d05eedb20403 1223 delay-moov-elst-signal-init
 write_data len 1004, time -33333, type sync atom sidx
 write_data len 996, time 966667, type sync atom sidx
 aa5462cc0d2144f72154d9c309edb57d 996 delay-moov-elst-signal-second-frag
 write_data len 148, time nopts, type trailer atom -
-write_data len 1219, time nopts, type header atom ftyp
-c3681590a292cb9ca19a5a982e530166 1219 delay-moov-elst-signal-init-discont
+write_data len 1223, time nopts, type header atom ftyp
+041ac8efc35a0d023c26d05eedb20403 1223 delay-moov-elst-signal-init-discont
 write_data len 996, time 966667, type sync atom sidx
 aa5462cc0d2144f72154d9c309edb57d 996 delay-moov-elst-signal-second-frag-discont
 write_data len 110, time nopts, type trailer atom -
-write_data len 1243, time nopts, type header atom ftyp
-dac14c8795d5cbd91ae770c6e2880c62 1243 delay-moov-elst-signal-init-discont-largets
+write_data len 1247, time nopts, type header atom ftyp
+80511a51d1ac9cde62337eed7176ae03 1247 delay-moov-elst-signal-init-discont-largets
 write_data len 996, time 279621233333, type sync atom sidx
 41cac4c3df656a87bb38363fdcd745e6 996 delay-moov-elst-signal-second-frag-discont-largets
 write_data len 110, time nopts, type trailer atom -
-write_data len 1219, time nopts, type header atom ftyp
+write_data len 1223, time nopts, type header atom ftyp
 write_data len 2572, time -333333, type sync atom sidx
 write_data len 996, time 5166667, type sync atom sidx
 write_data len 148, time nopts, type trailer atom -
-f12d4a0e054abcc508cc0d28cb320e57 4935 vfr
-write_data len 1219, time nopts, type header atom ftyp
+c3eb39921c90724784d1ab84fac58b34 4939 vfr
+write_data len 1223, time nopts, type header atom ftyp
 write_data len 2572, time -333333, type sync atom sidx
 write_data len 996, time 5166667, type sync atom sidx
 write_data len 148, time nopts, type trailer atom -
-f12d4a0e054abcc508cc0d28cb320e57 4935 vfr-noduration
-write_data len 1231, time nopts, type header atom ftyp
+c3eb39921c90724784d1ab84fac58b34 4939 vfr-noduration
+write_data len 1235, time nopts, type header atom ftyp
 write_data len 1500, time -333333, type sync atom moof
 write_data len 1500, time nopts, type unknown atom -
 write_data len 916, time nopts, type unknown atom -
@@ -131,23 +131,23 @@ write_data len 1500, time 9666667, type sync atom moof
 write_data len 1500, time nopts, type unknown atom -
 write_data len 1004, time nopts, type unknown atom -
 write_data len 148, time nopts, type trailer atom -
-3c2c3f98c8a047f0ecefff07570fd457 9299 large_frag
-write_data len 1231, time nopts, type header atom ftyp
+18955d03e6095f4edd38023320a101b6 9303 large_frag
+write_data len 1235, time nopts, type header atom ftyp
 write_data len 684, time -33333, type sync atom moof
 write_data len 504, time 800000, type boundary atom moof
 write_data len 420, time 1266667, type boundary atom moof
 write_data len 668, time 1566667, type sync atom moof
 write_data len 440, time 2233333, type boundary atom moof
 write_data len 262, time nopts, type trailer atom -
-edd19deae2b70afcf2cd744b89b7013d 4209 vfr-noduration-interleave
-write_data len 1231, time nopts, type header atom ftyp
+6be0707df5a18d56404a6d7b750cb8ee 4213 vfr-noduration-interleave
+write_data len 1235, time nopts, type header atom ftyp
 write_data len 916, time 0, type sync atom moof
 write_data len 908, time 1000000, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-781dbfd228f36903178e29faa727d78b 3203 delay-moov-elst-neg-cts
-write_data len 36, time nopts, type header atom ftyp
+8175f4ba3f1a210465531879356e0222 3207 delay-moov-elst-neg-cts
+write_data len 40, time nopts, type header atom ftyp
 write_data len 1123, time nopts, type header atom -
 write_data len 1188, time 0, type sync atom moof
 write_data len 908, time 1033333, type sync atom moof
 write_data len 148, time nopts, type trailer atom -
-7630fdf358e02c79e88f312f82a260b7 3403 empty-moov-neg-cts
+32a0512e2e5dd46cd7646f25d0e4c55a 3407 empty-moov-neg-cts
diff --git a/tests/ref/fate/prores-metadata b/tests/ref/fate/prores-metadata
index 56153c3946..ab71f8d082 100644
--- a/tests/ref/fate/prores-metadata
+++ b/tests/ref/fate/prores-metadata
@@ -1 +1 @@
-3492734b4bd0dd097cd9f264457c8345
+bd429065eed6a374b01e067ef36f6b0b
diff --git a/tests/ref/lavf-fate/av1.mp4 b/tests/ref/lavf-fate/av1.mp4
index 38d2a80afe..e50d0b7c1e 100644
--- a/tests/ref/lavf-fate/av1.mp4
+++ b/tests/ref/lavf-fate/av1.mp4
@@ -1,3 +1,3 @@
-0388467214421a19ba65d10a74dc35c0 *tests/data/lavf-fate/lavf.av1.mp4
-55936 tests/data/lavf-fate/lavf.av1.mp4
+43c80428467ecc59395db716412730fc *tests/data/lavf-fate/lavf.av1.mp4
+55940 tests/data/lavf-fate/lavf.av1.mp4
 tests/data/lavf-fate/lavf.av1.mp4 CRC=0x7c27cc15
diff --git a/tests/ref/lavf-fate/h264.mp4 b/tests/ref/lavf-fate/h264.mp4
index bb52f45758..5f45174a58 100644
--- a/tests/ref/lavf-fate/h264.mp4
+++ b/tests/ref/lavf-fate/h264.mp4
@@ -1,3 +1,3 @@
-6d158b25efe7391c803f6f61c7a80aa0 *tests/data/lavf-fate/lavf.h264.mp4
-547908 tests/data/lavf-fate/lavf.h264.mp4
+b9839fb19a1d745a0467482e1476030b *tests/data/lavf-fate/lavf.h264.mp4
+547912 tests/data/lavf-fate/lavf.h264.mp4
 tests/data/lavf-fate/lavf.h264.mp4 CRC=0x9da2c999
diff --git a/tests/ref/lavf-fate/qtrle_mace6.mov b/tests/ref/lavf-fate/qtrle_mace6.mov
index 85c585fe39..3359d62770 100644
--- a/tests/ref/lavf-fate/qtrle_mace6.mov
+++ b/tests/ref/lavf-fate/qtrle_mace6.mov
@@ -1,3 +1,3 @@
-f0ae34fb90e11342624e092094273aef *tests/data/lavf-fate/lavf.qtrle_mace6.mov
-1270415 tests/data/lavf-fate/lavf.qtrle_mace6.mov
+4ed55e773fe70a32b4483d9a4ef4d194 *tests/data/lavf-fate/lavf.qtrle_mace6.mov
+1270423 tests/data/lavf-fate/lavf.qtrle_mace6.mov
 tests/data/lavf-fate/lavf.qtrle_mace6.mov CRC=0x9320cd26
diff --git a/tests/ref/lavf/ismv b/tests/ref/lavf/ismv
index 865a6913cf..e7361705fa 100644
--- a/tests/ref/lavf/ismv
+++ b/tests/ref/lavf/ismv
@@ -1,9 +1,9 @@
-bd88b50defa57766619c092ea89f25a6 *tests/data/lavf/lavf.ismv
-313165 tests/data/lavf/lavf.ismv
+4c6bc5ac805a76bbbd886a69d2e61554 *tests/data/lavf/lavf.ismv
+313169 tests/data/lavf/lavf.ismv
 tests/data/lavf/lavf.ismv CRC=0x9d9a638a
-805a2557bf952c84835f3c10b6893e15 *tests/data/lavf/lavf.ismv
-322071 tests/data/lavf/lavf.ismv
+18678627921460328ea3fed238d0d57d *tests/data/lavf/lavf.ismv
+322075 tests/data/lavf/lavf.ismv
 tests/data/lavf/lavf.ismv CRC=0xe8130120
-96053075a3f60d271131fe2d0765c267 *tests/data/lavf/lavf.ismv
-312542 tests/data/lavf/lavf.ismv
+b9a858caf55b1eff2273e746e9f72dc4 *tests/data/lavf/lavf.ismv
+312546 tests/data/lavf/lavf.ismv
 tests/data/lavf/lavf.ismv CRC=0x9d9a638a
diff --git a/tests/ref/lavf/mov b/tests/ref/lavf/mov
index 75a0c4892d..4a156049ff 100644
--- a/tests/ref/lavf/mov
+++ b/tests/ref/lavf/mov
@@ -1,9 +1,9 @@
-11bd76730274924e02623172b82b5236 *tests/data/lavf/lavf.mov
-357539 tests/data/lavf/lavf.mov
+9229a7bead7ea527a7cddd0864fd8b6a *tests/data/lavf/lavf.mov
+357547 tests/data/lavf/lavf.mov
 tests/data/lavf/lavf.mov CRC=0xbb2b949b
-6efa586655e3db043cb29668f5216610 *tests/data/lavf/lavf.mov
-366621 tests/data/lavf/lavf.mov
+68139eb1ca7ec2aebb32de0422eb1942 *tests/data/lavf/lavf.mov
+366629 tests/data/lavf/lavf.mov
 tests/data/lavf/lavf.mov CRC=0xa9793231
-c80c625ded376602e71d5aa6ac6fdb1c *tests/data/lavf/lavf.mov
-356921 tests/data/lavf/lavf.mov
+4a27dbe3d7e423c9b09aed6e23db5c1b *tests/data/lavf/lavf.mov
+356929 tests/data/lavf/lavf.mov
 tests/data/lavf/lavf.mov CRC=0xbb2b949b
diff --git a/tests/ref/lavf/mov_rtphint b/tests/ref/lavf/mov_rtphint
index 79a760694f..0be0e497cc 100644
--- a/tests/ref/lavf/mov_rtphint
+++ b/tests/ref/lavf/mov_rtphint
@@ -1,3 +1,3 @@
-7014419d8267c2751314303a8fb303c1 *tests/data/lavf/lavf.mov_rtphint
-366449 tests/data/lavf/lavf.mov_rtphint
+a170ba2f5de1b09e5dae8a2db1c35e27 *tests/data/lavf/lavf.mov_rtphint
+366457 tests/data/lavf/lavf.mov_rtphint
 tests/data/lavf/lavf.mov_rtphint CRC=0xbb2b949b
diff --git a/tests/ref/lavf/mp4 b/tests/ref/lavf/mp4
index 8482812380..f3ca0aff5f 100644
--- a/tests/ref/lavf/mp4
+++ b/tests/ref/lavf/mp4
@@ -1,9 +1,9 @@
-ebca72c186a4f3ba9bb17d9cb5b74fef *tests/data/lavf/lavf.mp4
-312457 tests/data/lavf/lavf.mp4
+d653477453c69baf66c1b98114308975 *tests/data/lavf/lavf.mp4
+312461 tests/data/lavf/lavf.mp4
 tests/data/lavf/lavf.mp4 CRC=0x9d9a638a
-9944512475d82d2d601f3c96101bdf9c *tests/data/lavf/lavf.mp4
-321343 tests/data/lavf/lavf.mp4
+700a0f1b0ae3c96169399215899c9768 *tests/data/lavf/lavf.mp4
+321347 tests/data/lavf/lavf.mp4
 tests/data/lavf/lavf.mp4 CRC=0xe8130120
-7b3e71f294901067046c09f03a426bdc *tests/data/lavf/lavf.mp4
-312001 tests/data/lavf/lavf.mp4
+51d17fa25de87dbe794f8043355b0afc *tests/data/lavf/lavf.mp4
+312005 tests/data/lavf/lavf.mp4
 tests/data/lavf/lavf.mp4 CRC=0x9d9a638a
diff --git a/tests/ref/seek/acodec-alac b/tests/ref/seek/acodec-alac
index a281d2e249..095bc8fee4 100644
--- a/tests/ref/seek/acodec-alac
+++ b/tests/ref/seek/acodec-alac
@@ -1,53 +1,53 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.857596 pts: 1.857596 pos:  73647 size:  4961
+ret: 0         st: 0 flags:1 dts: 1.857596 pts: 1.857596 pos:  73655 size:  4961
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.835918 pts: 0.835918 pos:  29032 size:  3194
+ret: 0         st: 0 flags:1 dts: 0.835918 pts: 0.835918 pos:  29040 size:  3194
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.600635 pts: 2.600635 pos: 137553 size: 12843
+ret: 0         st: 0 flags:1 dts: 2.600635 pts: 2.600635 pos: 137561 size: 12843
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.393197 pts: 1.393197 pos:  50155 size:  4414
+ret: 0         st: 0 flags:1 dts: 1.393197 pts: 1.393197 pos:  50163 size:  4414
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  12942 size:  3209
+ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  12950 size:  3209
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.229116 pts: 2.229116 pos: 100931 size:  7896
+ret: 0         st: 0 flags:1 dts: 2.229116 pts: 2.229116 pos: 100939 size:  7896
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.021678 pts: 1.021678 pos:  35314 size:  3031
+ret: 0         st: 0 flags:1 dts: 1.021678 pts: 1.021678 pos:  35322 size:  3031
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.786395 pts: 2.786395 pos: 163176 size: 12765
+ret: 0         st: 0 flags:1 dts: 2.786395 pts: 2.786395 pos: 163184 size: 12765
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.764717 pts: 1.764717 pos:  68676 size:  4971
+ret: 0         st: 0 flags:1 dts: 1.764717 pts: 1.764717 pos:  68684 size:  4971
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.557279 pts: 0.557279 pos:  19337 size:  3234
+ret: 0         st: 0 flags:1 dts: 0.557279 pts: 0.557279 pos:  19345 size:  3234
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.321995 pts: 2.321995 pos: 108827 size:  7886
+ret: 0         st: 0 flags:1 dts: 2.321995 pts: 2.321995 pos: 108835 size:  7886
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.393197 pts: 1.393197 pos:  50155 size:  4414
+ret: 0         st: 0 flags:1 dts: 1.393197 pts: 1.393197 pos:  50163 size:  4414
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:   6466 size:  3245
+ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:   6474 size:  3245
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.950476 pts: 1.950476 pos:  78608 size:  6514
+ret: 0         st: 0 flags:1 dts: 1.950476 pts: 1.950476 pos:  78616 size:  6514
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.928798 pts: 0.928798 pos:  32226 size:  3088
+ret: 0         st: 0 flags:1 dts: 0.928798 pts: 0.928798 pos:  32234 size:  3088
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 150396 size: 12780
+ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 150404 size: 12780
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.486077 pts: 1.486077 pos:  54569 size:  4554
+ret: 0         st: 0 flags:1 dts: 1.486077 pts: 1.486077 pos:  54577 size:  4554
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos:  16151 size:  3186
+ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos:  16159 size:  3186
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  3236
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  3236
diff --git a/tests/ref/seek/acodec-pcm-s16be b/tests/ref/seek/acodec-pcm-s16be
index f6a6be4581..1de61bda7d 100644
--- a/tests/ref/seek/acodec-pcm-s16be
+++ b/tests/ref/seek/acodec-pcm-s16be
@@ -1,53 +1,53 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 331812 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 331820 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos: 139300 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos: 139308 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 454692 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 454700 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 258084 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 258092 size:  4096
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  65572 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  65580 size:  4096
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 380964 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 380972 size:  4096
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 184356 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 184364 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 499748 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 499756 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 307236 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 307244 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos: 106532 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos: 106540 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 421924 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 421932 size:  4096
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 233508 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 233516 size:  4096
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  32804 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  32812 size:  4096
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 348196 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 348204 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos: 159780 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos: 159788 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 475172 size:  4096
+ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 475180 size:  4096
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 274468 size:  4096
+ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 274476 size:  4096
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos:  81956 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos:  81964 size:  4096
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  4096
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  4096
diff --git a/tests/ref/seek/acodec-pcm-s24be b/tests/ref/seek/acodec-pcm-s24be
index ef22082e3b..5904fe62f8 100644
--- a/tests/ref/seek/acodec-pcm-s24be
+++ b/tests/ref/seek/acodec-pcm-s24be
@@ -1,53 +1,53 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 497700 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 497708 size:  6144
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos: 208932 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos: 208940 size:  6144
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 682020 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 682028 size:  6144
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 387108 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 387116 size:  6144
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  98340 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  98348 size:  6144
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 571428 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 571436 size:  6144
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 276516 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 276524 size:  6144
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 749604 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 749612 size:  6144
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 460836 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 460844 size:  6144
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos: 159780 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos: 159788 size:  6144
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 632868 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 632876 size:  6144
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 350244 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 350252 size:  6144
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  49188 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  49196 size:  6144
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 522276 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 522284 size:  6144
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos: 239652 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos: 239660 size:  6144
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 712740 size:  6144
+ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 712748 size:  6144
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 411684 size:  6144
+ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 411692 size:  6144
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos: 122916 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos: 122924 size:  6144
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  6144
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  6144
diff --git a/tests/ref/seek/acodec-pcm-s32be b/tests/ref/seek/acodec-pcm-s32be
index 6aed744942..593bc965b1 100644
--- a/tests/ref/seek/acodec-pcm-s32be
+++ b/tests/ref/seek/acodec-pcm-s32be
@@ -1,53 +1,53 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 663588 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 663596 size:  8192
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos: 278564 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos: 278572 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 909348 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 909356 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 516132 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 516140 size:  8192
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos: 131108 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos: 131116 size:  8192
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 761892 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 761900 size:  8192
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 368676 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos: 368684 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 999460 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 999468 size:  8192
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 614436 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 614444 size:  8192
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos: 213028 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos: 213036 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 843812 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 843820 size:  8192
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 466980 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 466988 size:  8192
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  65572 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  65580 size:  8192
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 696356 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 696364 size:  8192
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos: 319524 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos: 319532 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 950308 size:  8192
+ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 950316 size:  8192
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 548900 size:  8192
+ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 548908 size:  8192
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos: 163876 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos: 163884 size:  8192
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  8192
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8192
diff --git a/tests/ref/seek/acodec-pcm-s8 b/tests/ref/seek/acodec-pcm-s8
index b119e2e266..e54f2e7b3b 100644
--- a/tests/ref/seek/acodec-pcm-s8
+++ b/tests/ref/seek/acodec-pcm-s8
@@ -1,53 +1,53 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 165924 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.880816 pts: 1.880816 pos: 165932 size:  2048
 ret: 0         st: 0 flags:0  ts: 0.788345
-ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos:  69668 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.789478 pts: 0.789478 pos:  69676 size:  2048
 ret: 0         st: 0 flags:1  ts:-0.317506
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
 ret: 0         st:-1 flags:0  ts: 2.576668
-ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 227364 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.577415 pts: 2.577415 pos: 227372 size:  2048
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 129060 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.462857 pts: 1.462857 pos: 129068 size:  2048
 ret: 0         st: 0 flags:0  ts: 0.365011
-ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  32804 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos:  32812 size:  2048
 ret: 0         st: 0 flags:1  ts:-0.740839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
 ret: 0         st:-1 flags:0  ts: 2.153336
-ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 190500 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.159456 pts: 2.159456 pos: 190508 size:  2048
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos:  92196 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.044898 pts: 1.044898 pos:  92204 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
 ret: 0         st: 0 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 249892 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.832834 pts: 2.832834 pos: 249900 size:  2048
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 153636 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.741497 pts: 1.741497 pos: 153644 size:  2048
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos:  53284 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.603719 pts: 0.603719 pos:  53292 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.481655
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
 ret: 0         st: 0 flags:1  ts: 2.412494
-ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 210980 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.391655 pts: 2.391655 pos: 210988 size:  2048
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 116772 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.323537 pts: 1.323537 pos: 116780 size:  2048
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  16420 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos:  16428 size:  2048
 ret: 0         st: 0 flags:0  ts:-0.904989
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
 ret: 0         st: 0 flags:1  ts: 1.989184
-ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 174116 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.973696 pts: 1.973696 pos: 174124 size:  2048
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos:  79908 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.905578 pts: 0.905578 pos:  79916 size:  2048
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
 ret: 0         st: 0 flags:0  ts: 2.671678
-ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 237604 size:  2048
+ret: 0         st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 237612 size:  2048
 ret: 0         st: 0 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 137252 size:  2048
+ret: 0         st: 0 flags:1 dts: 1.555737 pts: 1.555737 pos: 137260 size:  2048
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos:  40996 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos:  41004 size:  2048
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:  2048
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  2048
diff --git a/tests/ref/seek/lavf-mov b/tests/ref/seek/lavf-mov
index 27ea7c7730..f36c63fb96 100644
--- a/tests/ref/seek/lavf-mov
+++ b/tests/ref/seek/lavf-mov
@@ -1,48 +1,48 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326971 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326979 size:  1024
 ret: 0         st: 0 flags:0  ts: 0.788359
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 328003 size: 27834
 ret: 0         st: 0 flags:1  ts:-0.317500
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
 ret:-1         st: 1 flags:0  ts: 2.576667
 ret: 0         st: 1 flags:1  ts: 1.470839
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 328003 size: 27834
 ret: 0         st:-1 flags:0  ts: 0.365002
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 165249 size: 27925
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 165257 size: 27925
 ret: 0         st:-1 flags:1  ts:-0.740831
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
 ret:-1         st: 0 flags:0  ts: 2.153359
 ret: 0         st: 0 flags:1  ts: 1.047500
-ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326971 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326979 size:  1024
 ret: 0         st: 1 flags:0  ts:-0.058322
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
 ret: 0         st: 1 flags:1  ts: 2.835828
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 328003 size: 27834
 ret:-1         st:-1 flags:0  ts: 1.730004
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 1 flags:1 dts: 0.464399 pts: 0.464399 pos: 164225 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.464399 pts: 0.464399 pos: 164233 size:  1024
 ret: 0         st: 0 flags:0  ts:-0.481641
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
 ret: 0         st: 0 flags:1  ts: 2.412500
-ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326971 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326979 size:  1024
 ret:-1         st: 1 flags:0  ts: 1.306667
 ret: 0         st: 1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
 ret: 0         st:-1 flags:0  ts:-0.904994
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
 ret: 0         st:-1 flags:1  ts: 1.989173
-ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326971 size:  1024
+ret: 0         st: 1 flags:1 dts: 0.952018 pts: 0.952018 pos: 326979 size:  1024
 ret: 0         st: 0 flags:0  ts: 0.883359
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 328003 size: 27834
 ret: 0         st: 0 flags:1  ts:-0.222500
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
 ret:-1         st: 1 flags:0  ts: 2.671678
 ret: 0         st: 1 flags:1  ts: 1.565850
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 327995 size: 27834
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 328003 size: 27834
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 165249 size: 27925
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 165257 size: 27925
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1767 size: 27837
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:   1775 size: 27837
diff --git a/tests/ref/seek/vsynth_lena-dnxhd-1080i b/tests/ref/seek/vsynth_lena-dnxhd-1080i
index a5f0ce916c..ad335e4437 100644
--- a/tests/ref/seek/vsynth_lena-dnxhd-1080i
+++ b/tests/ref/seek/vsynth_lena-dnxhd-1080i
@@ -1,44 +1,44 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
 ret:-1         st: 0 flags:0  ts: 0.788359
 ret: 0         st: 0 flags:1  ts:-0.317500
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
 ret:-1         st:-1 flags:0  ts: 2.576668
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
 ret:-1         st: 0 flags:0  ts: 0.365000
 ret: 0         st: 0 flags:1  ts:-0.740859
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
 ret:-1         st:-1 flags:0  ts: 2.153336
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
 ret: 0         st: 0 flags:0  ts:-0.058359
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
 ret: 0         st: 0 flags:1  ts: 2.835859
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
 ret:-1         st:-1 flags:0  ts: 1.730004
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
 ret: 0         st: 0 flags:0  ts:-0.481641
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
 ret: 0         st: 0 flags:1  ts: 2.412500
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
 ret:-1         st:-1 flags:0  ts: 1.306672
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
 ret: 0         st: 0 flags:0  ts:-0.905000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
 ret: 0         st: 0 flags:1  ts: 1.989141
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
 ret:-1         st:-1 flags:0  ts: 0.883340
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
 ret:-1         st: 0 flags:0  ts: 2.671641
 ret: 0         st: 0 flags:1  ts: 1.565859
-ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424868 size:606208
+ret: 0         st: 0 flags:1 dts: 0.160000 pts: 0.160000 pos:2424876 size:606208
 ret:-1         st:-1 flags:0  ts: 0.460008
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size:606208
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:606208
diff --git a/tests/ref/seek/vsynth_lena-mpeg4 b/tests/ref/seek/vsynth_lena-mpeg4
index b1c8a19db8..2ecc488138 100644
--- a/tests/ref/seek/vsynth_lena-mpeg4
+++ b/tests/ref/seek/vsynth_lena-mpeg4
@@ -1,50 +1,50 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75140 size: 10776
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75144 size: 10776
 ret: 0         st: 0 flags:0  ts: 0.788359
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos:  47228 size:  9634
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos:  47232 size:  9634
 ret: 0         st: 0 flags:1  ts:-0.317500
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
 ret:-1         st:-1 flags:0  ts: 2.576668
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75140 size: 10776
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75144 size: 10776
 ret: 0         st: 0 flags:0  ts: 0.365000
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos:  23271 size:  8524
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos:  23275 size:  8524
 ret: 0         st: 0 flags:1  ts:-0.740859
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
 ret:-1         st:-1 flags:0  ts: 2.153336
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos:  47228 size:  9634
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos:  47232 size:  9634
 ret: 0         st: 0 flags:0  ts:-0.058359
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
 ret: 0         st: 0 flags:1  ts: 2.835859
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106181 size: 11182
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106185 size: 11182
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106181 size: 11182
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106185 size: 11182
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos:  23271 size:  8524
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos:  23275 size:  8524
 ret: 0         st: 0 flags:0  ts:-0.481641
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
 ret: 0         st: 0 flags:1  ts: 2.412500
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106181 size: 11182
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106185 size: 11182
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75140 size: 10776
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75144 size: 10776
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
 ret: 0         st: 0 flags:0  ts:-0.905000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
 ret: 0         st: 0 flags:1  ts: 1.989141
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106181 size: 11182
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 106185 size: 11182
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos:  47228 size:  9634
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos:  47232 size:  9634
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
 ret:-1         st: 0 flags:0  ts: 2.671641
 ret: 0         st: 0 flags:1  ts: 1.565859
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75140 size: 10776
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos:  75144 size: 10776
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos:  23271 size:  8524
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos:  23275 size:  8524
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size:  8719
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     48 size:  8719
diff --git a/tests/ref/seek/vsynth_lena-svq1 b/tests/ref/seek/vsynth_lena-svq1
index 33fe33e916..9e9fb144a9 100644
--- a/tests/ref/seek/vsynth_lena-svq1
+++ b/tests/ref/seek/vsynth_lena-svq1
@@ -1,50 +1,50 @@
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
 ret: 0         st:-1 flags:0  ts:-1.000000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
 ret: 0         st:-1 flags:1  ts: 1.894167
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517568 size: 25636
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517576 size: 25636
 ret: 0         st: 0 flags:0  ts: 0.788359
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 326556 size: 23552
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 326564 size: 23552
 ret: 0         st: 0 flags:1  ts:-0.317500
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
 ret:-1         st:-1 flags:0  ts: 2.576668
 ret: 0         st:-1 flags:1  ts: 1.470835
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517568 size: 25636
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517576 size: 25636
 ret: 0         st: 0 flags:0  ts: 0.365000
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 157040 size: 21896
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 157048 size: 21896
 ret: 0         st: 0 flags:1  ts:-0.740859
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
 ret:-1         st:-1 flags:0  ts: 2.153336
 ret: 0         st:-1 flags:1  ts: 1.047503
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 326556 size: 23552
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 326564 size: 23552
 ret: 0         st: 0 flags:0  ts:-0.058359
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
 ret: 0         st: 0 flags:1  ts: 2.835859
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722804 size: 25888
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722812 size: 25888
 ret: 0         st:-1 flags:0  ts: 1.730004
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722804 size: 25888
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722812 size: 25888
 ret: 0         st:-1 flags:1  ts: 0.624171
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 157040 size: 21896
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 157048 size: 21896
 ret: 0         st: 0 flags:0  ts:-0.481641
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
 ret: 0         st: 0 flags:1  ts: 2.412500
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722804 size: 25888
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722812 size: 25888
 ret: 0         st:-1 flags:0  ts: 1.306672
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517568 size: 25636
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517576 size: 25636
 ret: 0         st:-1 flags:1  ts: 0.200839
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
 ret: 0         st: 0 flags:0  ts:-0.905000
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
 ret: 0         st: 0 flags:1  ts: 1.989141
-ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722804 size: 25888
+ret: 0         st: 0 flags:1 dts: 1.920000 pts: 1.920000 pos: 722812 size: 25888
 ret: 0         st:-1 flags:0  ts: 0.883340
-ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 326556 size: 23552
+ret: 0         st: 0 flags:1 dts: 0.960000 pts: 0.960000 pos: 326564 size: 23552
 ret: 0         st:-1 flags:1  ts:-0.222493
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
 ret:-1         st: 0 flags:0  ts: 2.671641
 ret: 0         st: 0 flags:1  ts: 1.565859
-ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517568 size: 25636
+ret: 0         st: 0 flags:1 dts: 1.440000 pts: 1.440000 pos: 517576 size: 25636
 ret: 0         st:-1 flags:0  ts: 0.460008
-ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 157040 size: 21896
+ret: 0         st: 0 flags:1 dts: 0.480000 pts: 0.480000 pos: 157048 size: 21896
 ret: 0         st:-1 flags:1  ts:-0.645825
-ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     36 size: 22300
+ret: 0         st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos:     44 size: 22300
diff --git a/tests/ref/vsynth/vsynth1-avui b/tests/ref/vsynth/vsynth1-avui
index 8e76b9a118..460bdca820 100644
--- a/tests/ref/vsynth/vsynth1-avui
+++ b/tests/ref/vsynth/vsynth1-avui
@@ -1,4 +1,4 @@
-be8ffb8056d1fb5f8c500b95bf7af14c *tests/data/fate/vsynth1-avui.mov
-42625037 tests/data/fate/vsynth1-avui.mov
+66901857c50b6b6c4b9ae74634a7a884 *tests/data/fate/vsynth1-avui.mov
+42625045 tests/data/fate/vsynth1-avui.mov
 c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-avui.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-1080i b/tests/ref/vsynth/vsynth1-dnxhd-1080i
index 0e7844b0ee..a4c65a2519 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-1080i
+++ b/tests/ref/vsynth/vsynth1-dnxhd-1080i
@@ -1,4 +1,4 @@
-af5cbe239839f6282a68f1a106ed3a77 *tests/data/fate/vsynth1-dnxhd-1080i.mov
-3031911 tests/data/fate/vsynth1-dnxhd-1080i.mov
+946111e6002f0152bffc8ca1155ba8e6 *tests/data/fate/vsynth1-dnxhd-1080i.mov
+3031919 tests/data/fate/vsynth1-dnxhd-1080i.mov
 fed9ed2a5179c9df0ef58772b025e303 *tests/data/fate/vsynth1-dnxhd-1080i.out.rawvideo
 stddev:    6.18 PSNR: 32.31 MAXDIFF:   64 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit
index c3f3fda085..80204dff01 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit
+++ b/tests/ref/vsynth/vsynth1-dnxhd-1080i-10bit
@@ -1,4 +1,4 @@
-1a8261120bcc764a7bbdd198febff4c7 *tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
-4588391 tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
+876ef1612e17d9fce96f06809d36d29f *tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
+4588399 tests/data/fate/vsynth1-dnxhd-1080i-10bit.mov
 31032fcb7e6af79daaac02288254c6d6 *tests/data/fate/vsynth1-dnxhd-1080i-10bit.out.rawvideo
 stddev:    5.69 PSNR: 33.02 MAXDIFF:   55 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr
index 1965e3135f..23aa678add 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr
+++ b/tests/ref/vsynth/vsynth1-dnxhd-1080i-colr
@@ -1,4 +1,4 @@
-2caca2edcb519c88543c38e129ded03b *tests/data/fate/vsynth1-dnxhd-1080i-colr.mov
-3031929 tests/data/fate/vsynth1-dnxhd-1080i-colr.mov
+382f3e3b62973cb271c390eef6d1c05d *tests/data/fate/vsynth1-dnxhd-1080i-colr.mov
+3031937 tests/data/fate/vsynth1-dnxhd-1080i-colr.mov
 6f2d5429ffc4529a76acfeb28b560542 *tests/data/fate/vsynth1-dnxhd-1080i-colr.out.rawvideo
 stddev:    5.65 PSNR: 33.09 MAXDIFF:   55 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov b/tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov
index a8ee88c63e..f6b7d94aea 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov
+++ b/tests/ref/vsynth/vsynth1-dnxhd-hr-hq-mov
@@ -1,4 +1,4 @@
-36729f1faaa24daa9c643428bc87f090 *tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
-4772599 tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
+fa047c7e0eea1b1d005178e826b25101 *tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
+4772607 tests/data/fate/vsynth1-dnxhd-hr-hq-mov.mov
 388c7c84573abe28cc963e3ad5e15a31 *tests/data/fate/vsynth1-dnxhd-hr-hq-mov.out.rawvideo
 stddev:    5.73 PSNR: 32.96 MAXDIFF:   56 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov b/tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov
index 7d2890db55..18d5e638e6 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov
+++ b/tests/ref/vsynth/vsynth1-dnxhd-hr-lb-mov
@@ -1,4 +1,4 @@
-ee2f1559d2cf82930d893ca4d0937c01 *tests/data/fate/vsynth1-dnxhd-hr-lb-mov.mov
-3748599 tests/data/fate/vsynth1-dnxhd-hr-lb-mov.mov
+b3e1f01185e1057b90548042d0c7f44e *tests/data/fate/vsynth1-dnxhd-hr-lb-mov.mov
+3748607 tests/data/fate/vsynth1-dnxhd-hr-lb-mov.mov
 21c68252f500bada13ccce232e1ecfca *tests/data/fate/vsynth1-dnxhd-hr-lb-mov.out.rawvideo
 stddev:    5.59 PSNR: 33.17 MAXDIFF:   55 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov b/tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov
index b647cbe7b5..49fcb9a47a 100644
--- a/tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov
+++ b/tests/ref/vsynth/vsynth1-dnxhd-hr-sq-mov
@@ -1,4 +1,4 @@
-31544b301d8a23101c1cf03d26546fb8 *tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
-2560763 tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
+16632928462c7f08e20a7de7854ffae0 *tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
+2560771 tests/data/fate/vsynth1-dnxhd-hr-sq-mov.mov
 66d29f91cdf038753894dd42e65d997a *tests/data/fate/vsynth1-dnxhd-hr-sq-mov.out.rawvideo
 stddev:    5.77 PSNR: 32.91 MAXDIFF:   58 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-mov-bgr24 b/tests/ref/vsynth/vsynth1-mov-bgr24
index 6639d0d544..9f77394f0d 100644
--- a/tests/ref/vsynth/vsynth1-mov-bgr24
+++ b/tests/ref/vsynth/vsynth1-mov-bgr24
@@ -1,4 +1,4 @@
-ba9d5cbc4b432db076fb501b1d5fa536 *tests/data/fate/vsynth1-mov-bgr24.mov
-15207169 tests/data/fate/vsynth1-mov-bgr24.mov
+31e6068421109aec94aae95ac239db7d *tests/data/fate/vsynth1-mov-bgr24.mov
+15207177 tests/data/fate/vsynth1-mov-bgr24.mov
 93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-mov-bgr24.out.rawvideo
 stddev:    3.42 PSNR: 37.44 MAXDIFF:   48 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-mov-bpp15 b/tests/ref/vsynth/vsynth1-mov-bpp15
index d42c40b19a..47f5a3c6de 100644
--- a/tests/ref/vsynth/vsynth1-mov-bpp15
+++ b/tests/ref/vsynth/vsynth1-mov-bpp15
@@ -1,4 +1,4 @@
-dfd88a906ae74dddd4caf3c455224fa3 *tests/data/fate/vsynth1-mov-bpp15.mov
-10138329 tests/data/fate/vsynth1-mov-bpp15.mov
+e9adabc615357311b33ba0d7976cb9d6 *tests/data/fate/vsynth1-mov-bpp15.mov
+10138337 tests/data/fate/vsynth1-mov-bpp15.mov
 99bece160cfb0da47f446b60d42fa3ae *tests/data/fate/vsynth1-mov-bpp15.out.rawvideo
 stddev:    4.06 PSNR: 35.94 MAXDIFF:   47 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-mov-bpp16 b/tests/ref/vsynth/vsynth1-mov-bpp16
index bdafbf14ce..0ec85b5a9b 100644
--- a/tests/ref/vsynth/vsynth1-mov-bpp16
+++ b/tests/ref/vsynth/vsynth1-mov-bpp16
@@ -1,4 +1,4 @@
-3d7e3f8bd238c341b0b4d55a30d8f5a2 *tests/data/fate/vsynth1-mov-bpp16.mov
-10138329 tests/data/fate/vsynth1-mov-bpp16.mov
+4d5e276f3c8f24a504272f47173211fa *tests/data/fate/vsynth1-mov-bpp16.mov
+10138337 tests/data/fate/vsynth1-mov-bpp16.mov
 0cea382b9b0a4ce88260c1edc20b3f5b *tests/data/fate/vsynth1-mov-bpp16.out.rawvideo
 stddev:    3.79 PSNR: 36.55 MAXDIFF:   46 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-mpeg4 b/tests/ref/vsynth/vsynth1-mpeg4
index 4e9b4bd03a..0a9651f19d 100644
--- a/tests/ref/vsynth/vsynth1-mpeg4
+++ b/tests/ref/vsynth/vsynth1-mpeg4
@@ -1,4 +1,4 @@
-b4e8871c504a22c8c874c7e845b73da7 *tests/data/fate/vsynth1-mpeg4.mp4
-540085 tests/data/fate/vsynth1-mpeg4.mp4
+05fb1f7e2e5a47230642735e9da15612 *tests/data/fate/vsynth1-mpeg4.mp4
+540089 tests/data/fate/vsynth1-mpeg4.mp4
 f80ec173d37f2f91add031e95579a220 *tests/data/fate/vsynth1-mpeg4.out.rawvideo
 stddev:    7.97 PSNR: 30.10 MAXDIFF:  105 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-prores b/tests/ref/vsynth/vsynth1-prores
index 3c59eb71a8..5e9e6724ea 100644
--- a/tests/ref/vsynth/vsynth1-prores
+++ b/tests/ref/vsynth/vsynth1-prores
@@ -1,4 +1,4 @@
-460f69344752e6af2dc46b00169b78a3 *tests/data/fate/vsynth1-prores.mov
-5022821 tests/data/fate/vsynth1-prores.mov
+ac9a700c0e531cf931d4032d910b3613 *tests/data/fate/vsynth1-prores.mov
+5022829 tests/data/fate/vsynth1-prores.mov
 fb4a9e025d12afc0dbbca8d82831858f *tests/data/fate/vsynth1-prores.out.rawvideo
 stddev:    2.47 PSNR: 40.27 MAXDIFF:   31 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-prores_444 b/tests/ref/vsynth/vsynth1-prores_444
index f7f8e9033d..740c584d93 100644
--- a/tests/ref/vsynth/vsynth1-prores_444
+++ b/tests/ref/vsynth/vsynth1-prores_444
@@ -1,4 +1,4 @@
-509e0407dff118c775dcaa4f509a4aae *tests/data/fate/vsynth1-prores_444.mov
-7778954 tests/data/fate/vsynth1-prores_444.mov
+0d3bbbd4b7952a276fda9ed13a53ecf7 *tests/data/fate/vsynth1-prores_444.mov
+7778962 tests/data/fate/vsynth1-prores_444.mov
 e0da52b5d58171294d1b299539801ae0 *tests/data/fate/vsynth1-prores_444.out.rawvideo
 stddev:    2.80 PSNR: 39.17 MAXDIFF:   44 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-prores_444_int b/tests/ref/vsynth/vsynth1-prores_444_int
index 9515887212..383d9bafb7 100644
--- a/tests/ref/vsynth/vsynth1-prores_444_int
+++ b/tests/ref/vsynth/vsynth1-prores_444_int
@@ -1,4 +1,4 @@
-1d5e484fa8ca08781ef2ed8428963d12 *tests/data/fate/vsynth1-prores_444_int.mov
-9940947 tests/data/fate/vsynth1-prores_444_int.mov
+c5bd60536c5e25d314e16446d3bb844c *tests/data/fate/vsynth1-prores_444_int.mov
+9940955 tests/data/fate/vsynth1-prores_444_int.mov
 732ceeb6887524e0aee98762fe50578b *tests/data/fate/vsynth1-prores_444_int.out.rawvideo
 stddev:    2.83 PSNR: 39.08 MAXDIFF:   45 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-prores_int b/tests/ref/vsynth/vsynth1-prores_int
index 16a66874af..ad76af0c53 100644
--- a/tests/ref/vsynth/vsynth1-prores_int
+++ b/tests/ref/vsynth/vsynth1-prores_int
@@ -1,4 +1,4 @@
-3711e22aa5052f39dabfcb9ee3a42045 *tests/data/fate/vsynth1-prores_int.mov
-6308688 tests/data/fate/vsynth1-prores_int.mov
+753e17d71932d1f2ea5fe55d7dc35162 *tests/data/fate/vsynth1-prores_int.mov
+6308696 tests/data/fate/vsynth1-prores_int.mov
 164a4ca890695cf594293d1acec9463c *tests/data/fate/vsynth1-prores_int.out.rawvideo
 stddev:    2.66 PSNR: 39.62 MAXDIFF:   34 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-prores_ks b/tests/ref/vsynth/vsynth1-prores_ks
index 22c248909c..dbda507a91 100644
--- a/tests/ref/vsynth/vsynth1-prores_ks
+++ b/tests/ref/vsynth/vsynth1-prores_ks
@@ -1,4 +1,4 @@
-5b0970bacd4b03d70f7648fee2f0c85f *tests/data/fate/vsynth1-prores_ks.mov
-3858911 tests/data/fate/vsynth1-prores_ks.mov
+551329f4d1076e3ed3df65e5d5b262b5 *tests/data/fate/vsynth1-prores_ks.mov
+3858919 tests/data/fate/vsynth1-prores_ks.mov
 100eb002413fe7a632d440dfbdf7e3ff *tests/data/fate/vsynth1-prores_ks.out.rawvideo
 stddev:    3.17 PSNR: 38.09 MAXDIFF:   39 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-qtrle b/tests/ref/vsynth/vsynth1-qtrle
index 02164ddb92..ba1a90c28b 100644
--- a/tests/ref/vsynth/vsynth1-qtrle
+++ b/tests/ref/vsynth/vsynth1-qtrle
@@ -1,4 +1,4 @@
-fb84d62fc821cf063b5877c61b975e62 *tests/data/fate/vsynth1-qtrle.mov
-15263158 tests/data/fate/vsynth1-qtrle.mov
+921118eb1b719c250e20c1a8a42b6dd5 *tests/data/fate/vsynth1-qtrle.mov
+15263166 tests/data/fate/vsynth1-qtrle.mov
 93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-qtrle.out.rawvideo
 stddev:    3.42 PSNR: 37.44 MAXDIFF:   48 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-qtrlegray b/tests/ref/vsynth/vsynth1-qtrlegray
index 3cf64d14a7..43a31413af 100644
--- a/tests/ref/vsynth/vsynth1-qtrlegray
+++ b/tests/ref/vsynth/vsynth1-qtrlegray
@@ -1,4 +1,4 @@
-75753ab19241d1e45297219204a0925d *tests/data/fate/vsynth1-qtrlegray.mov
-5113293 tests/data/fate/vsynth1-qtrlegray.mov
+a014ed1ec97dfbe049e9332209994e89 *tests/data/fate/vsynth1-qtrlegray.mov
+5113301 tests/data/fate/vsynth1-qtrlegray.mov
 cb20af0e5a65aad7cf47002fcb52288e *tests/data/fate/vsynth1-qtrlegray.out.rawvideo
 stddev:   25.34 PSNR: 20.05 MAXDIFF:  122 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-svq1 b/tests/ref/vsynth/vsynth1-svq1
index cb89915d22..92bb3ecb8c 100644
--- a/tests/ref/vsynth/vsynth1-svq1
+++ b/tests/ref/vsynth/vsynth1-svq1
@@ -1,4 +1,4 @@
-39ec74da265e3ef27756618108641181 *tests/data/fate/vsynth1-svq1.mov
-1334233 tests/data/fate/vsynth1-svq1.mov
+ebb4623406c11987d04e5d16b582c32e *tests/data/fate/vsynth1-svq1.mov
+1334241 tests/data/fate/vsynth1-svq1.mov
 9cc35c54b2c77d36bd7e308b393c1f81 *tests/data/fate/vsynth1-svq1.out.rawvideo
 stddev:    9.58 PSNR: 28.50 MAXDIFF:  210 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth1-vc2-420p b/tests/ref/vsynth/vsynth1-vc2-420p
index 0c4c9cbeba..f6033d4957 100644
--- a/tests/ref/vsynth/vsynth1-vc2-420p
+++ b/tests/ref/vsynth/vsynth1-vc2-420p
@@ -1,4 +1,4 @@
-74df65b15463f098587d8c09d87286a1 *tests/data/fate/vsynth1-vc2-420p.mov
-1155415 tests/data/fate/vsynth1-vc2-420p.mov
+31036459c67b6c11d704742661627da7 *tests/data/fate/vsynth1-vc2-420p.mov
+1155423 tests/data/fate/vsynth1-vc2-420p.mov
 387696707c79cf1a6c9aeff4024226b9 *tests/data/fate/vsynth1-vc2-420p.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-420p10 b/tests/ref/vsynth/vsynth1-vc2-420p10
index 2a70b657ef..fac0f666f6 100644
--- a/tests/ref/vsynth/vsynth1-vc2-420p10
+++ b/tests/ref/vsynth/vsynth1-vc2-420p10
@@ -1,4 +1,4 @@
-f469f3b94c9262fd421a67b20e1809e7 *tests/data/fate/vsynth1-vc2-420p10.mov
-1417047 tests/data/fate/vsynth1-vc2-420p10.mov
+a374912ad6499d50e1c746363653668c *tests/data/fate/vsynth1-vc2-420p10.mov
+1417055 tests/data/fate/vsynth1-vc2-420p10.mov
 387696707c79cf1a6c9aeff4024226b9 *tests/data/fate/vsynth1-vc2-420p10.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-420p12 b/tests/ref/vsynth/vsynth1-vc2-420p12
index 4d1a1a2243..91c2bb563c 100644
--- a/tests/ref/vsynth/vsynth1-vc2-420p12
+++ b/tests/ref/vsynth/vsynth1-vc2-420p12
@@ -1,4 +1,4 @@
-9e482c1b03d49cfec89c6515888bc735 *tests/data/fate/vsynth1-vc2-420p12.mov
-1746007 tests/data/fate/vsynth1-vc2-420p12.mov
+088ed690c8fcfbf09676ea14d597a336 *tests/data/fate/vsynth1-vc2-420p12.mov
+1746015 tests/data/fate/vsynth1-vc2-420p12.mov
 387696707c79cf1a6c9aeff4024226b9 *tests/data/fate/vsynth1-vc2-420p12.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-422p b/tests/ref/vsynth/vsynth1-vc2-422p
index 15f988a39a..941f2cc573 100644
--- a/tests/ref/vsynth/vsynth1-vc2-422p
+++ b/tests/ref/vsynth/vsynth1-vc2-422p
@@ -1,4 +1,4 @@
-19b0ed7a894cda7378ace68f05c143cd *tests/data/fate/vsynth1-vc2-422p.mov
-1229783 tests/data/fate/vsynth1-vc2-422p.mov
+7a2c2287873b27c7199756df027ecf78 *tests/data/fate/vsynth1-vc2-422p.mov
+1229791 tests/data/fate/vsynth1-vc2-422p.mov
 57a7f41235e7f9f094aa7ba5bdc82f02 *tests/data/fate/vsynth1-vc2-422p.out.rawvideo
 stddev:    1.89 PSNR: 42.58 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-422p10 b/tests/ref/vsynth/vsynth1-vc2-422p10
index c561eaf12c..0a1e4a6a27 100644
--- a/tests/ref/vsynth/vsynth1-vc2-422p10
+++ b/tests/ref/vsynth/vsynth1-vc2-422p10
@@ -1,4 +1,4 @@
-e3ddb55b47e8960eba9412c4e38ce77a *tests/data/fate/vsynth1-vc2-422p10.mov
-1684055 tests/data/fate/vsynth1-vc2-422p10.mov
+4297c40259dc2d224af047b93988b7d0 *tests/data/fate/vsynth1-vc2-422p10.mov
+1684063 tests/data/fate/vsynth1-vc2-422p10.mov
 f35dd1c1df4726bb1d75d95e321b0698 *tests/data/fate/vsynth1-vc2-422p10.out.rawvideo
 stddev:    1.88 PSNR: 42.61 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-422p12 b/tests/ref/vsynth/vsynth1-vc2-422p12
index baa67153b0..b6ed569720 100644
--- a/tests/ref/vsynth/vsynth1-vc2-422p12
+++ b/tests/ref/vsynth/vsynth1-vc2-422p12
@@ -1,4 +1,4 @@
-4dd111ed0272534faa258cb6a2dab13d *tests/data/fate/vsynth1-vc2-422p12.mov
-2135131 tests/data/fate/vsynth1-vc2-422p12.mov
+ed757c30129980ad7d47c69b32a1abdd *tests/data/fate/vsynth1-vc2-422p12.mov
+2135139 tests/data/fate/vsynth1-vc2-422p12.mov
 1b56b3d127320c0e6c643e3430b7ffd1 *tests/data/fate/vsynth1-vc2-422p12.out.rawvideo
 stddev:    1.88 PSNR: 42.62 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-444p b/tests/ref/vsynth/vsynth1-vc2-444p
index 1d0dffc390..2d6e8f5e5b 100644
--- a/tests/ref/vsynth/vsynth1-vc2-444p
+++ b/tests/ref/vsynth/vsynth1-vc2-444p
@@ -1,4 +1,4 @@
-377d8c8f5bf8cec078d96d4d62df6296 *tests/data/fate/vsynth1-vc2-444p.mov
-1593810 tests/data/fate/vsynth1-vc2-444p.mov
+51a6187535247f7bc3561800d704ddc6 *tests/data/fate/vsynth1-vc2-444p.mov
+1593818 tests/data/fate/vsynth1-vc2-444p.mov
 791cf0f21558ad4a4cad43da05628e06 *tests/data/fate/vsynth1-vc2-444p.out.rawvideo
 stddev:    2.69 PSNR: 39.51 MAXDIFF:   37 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-444p10 b/tests/ref/vsynth/vsynth1-vc2-444p10
index fee9afbd7e..eac9291060 100644
--- a/tests/ref/vsynth/vsynth1-vc2-444p10
+++ b/tests/ref/vsynth/vsynth1-vc2-444p10
@@ -1,4 +1,4 @@
-dca4f23469c7446fecf5c123bbc71b2b *tests/data/fate/vsynth1-vc2-444p10.mov
-2167643 tests/data/fate/vsynth1-vc2-444p10.mov
+13fd99cbb189a080fbd49ed07b295e1d *tests/data/fate/vsynth1-vc2-444p10.mov
+2167651 tests/data/fate/vsynth1-vc2-444p10.mov
 0e2cd6d0e1d68ffee64d269dcb57d66d *tests/data/fate/vsynth1-vc2-444p10.out.rawvideo
 stddev:    2.69 PSNR: 39.53 MAXDIFF:   37 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-444p12 b/tests/ref/vsynth/vsynth1-vc2-444p12
index e548deca1d..8086e5618c 100644
--- a/tests/ref/vsynth/vsynth1-vc2-444p12
+++ b/tests/ref/vsynth/vsynth1-vc2-444p12
@@ -1,4 +1,4 @@
-f5ef425d9d29829e8dc4287ef253d3c7 *tests/data/fate/vsynth1-vc2-444p12.mov
-2755159 tests/data/fate/vsynth1-vc2-444p12.mov
+4c1c08cd084eed01b1f1c92b2bfc13b4 *tests/data/fate/vsynth1-vc2-444p12.mov
+2755167 tests/data/fate/vsynth1-vc2-444p12.mov
 55998114d7386d219a49011c8b804a58 *tests/data/fate/vsynth1-vc2-444p12.out.rawvideo
 stddev:    2.69 PSNR: 39.53 MAXDIFF:   37 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-t5_3 b/tests/ref/vsynth/vsynth1-vc2-t5_3
index e2fb05407e..fa9ec16bc0 100644
--- a/tests/ref/vsynth/vsynth1-vc2-t5_3
+++ b/tests/ref/vsynth/vsynth1-vc2-t5_3
@@ -1,4 +1,4 @@
-4e1ca89ec825e7926717146b945c916d *tests/data/fate/vsynth1-vc2-t5_3.mov
-1604316 tests/data/fate/vsynth1-vc2-t5_3.mov
+0c2c89cda45fccebba1ae314cdb6ece0 *tests/data/fate/vsynth1-vc2-t5_3.mov
+1604324 tests/data/fate/vsynth1-vc2-t5_3.mov
 f35dd1c1df4726bb1d75d95e321b0698 *tests/data/fate/vsynth1-vc2-t5_3.out.rawvideo
 stddev:    1.88 PSNR: 42.61 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth1-vc2-thaar b/tests/ref/vsynth/vsynth1-vc2-thaar
index 8831027786..dd0027cff8 100644
--- a/tests/ref/vsynth/vsynth1-vc2-thaar
+++ b/tests/ref/vsynth/vsynth1-vc2-thaar
@@ -1,4 +1,4 @@
-a0aba4e9628b8952fe774bd8c1f3f18d *tests/data/fate/vsynth1-vc2-thaar.mov
-1717724 tests/data/fate/vsynth1-vc2-thaar.mov
+3dba36dc95020819949f30a3f920f821 *tests/data/fate/vsynth1-vc2-thaar.mov
+1717732 tests/data/fate/vsynth1-vc2-thaar.mov
 f35dd1c1df4726bb1d75d95e321b0698 *tests/data/fate/vsynth1-vc2-thaar.out.rawvideo
 stddev:    1.88 PSNR: 42.61 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-avui b/tests/ref/vsynth/vsynth2-avui
index f4666ee9ca..561d8c68b0 100644
--- a/tests/ref/vsynth/vsynth2-avui
+++ b/tests/ref/vsynth/vsynth2-avui
@@ -1,4 +1,4 @@
-4a08755db5e09933a45178bc6f5f61b6 *tests/data/fate/vsynth2-avui.mov
-42625037 tests/data/fate/vsynth2-avui.mov
+bbed0f535ef2a67c0720d33dea1e8d66 *tests/data/fate/vsynth2-avui.mov
+42625045 tests/data/fate/vsynth2-avui.mov
 36d7ca943916e1743cefa609eba0205c *tests/data/fate/vsynth2-avui.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-1080i b/tests/ref/vsynth/vsynth2-dnxhd-1080i
index 0668a44f9a..e5d5508bbb 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-1080i
+++ b/tests/ref/vsynth/vsynth2-dnxhd-1080i
@@ -1,4 +1,4 @@
-0067903558c99e3abed402ed65297735 *tests/data/fate/vsynth2-dnxhd-1080i.mov
-3031911 tests/data/fate/vsynth2-dnxhd-1080i.mov
+16304e5fbb5ac1bea1e42bcb061262a6 *tests/data/fate/vsynth2-dnxhd-1080i.mov
+3031919 tests/data/fate/vsynth2-dnxhd-1080i.mov
 e941d2587cfeccddc450da7f41f7f911 *tests/data/fate/vsynth2-dnxhd-1080i.out.rawvideo
 stddev:    1.50 PSNR: 44.56 MAXDIFF:   31 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit
index 7689e2c22e..763350975d 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit
+++ b/tests/ref/vsynth/vsynth2-dnxhd-1080i-10bit
@@ -1,4 +1,4 @@
-16e86953a697e1e7f9d80903ff4fef0c *tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
-4588391 tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
+5a8342d4473318f6d56650ae76b5c892 *tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
+4588399 tests/data/fate/vsynth2-dnxhd-1080i-10bit.mov
 e4ca9be476869afb94962d945f90bdf6 *tests/data/fate/vsynth2-dnxhd-1080i-10bit.out.rawvideo
 stddev:    1.57 PSNR: 44.18 MAXDIFF:   33 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr
index aac70c2867..fd763dd3b8 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr
+++ b/tests/ref/vsynth/vsynth2-dnxhd-1080i-colr
@@ -1,4 +1,4 @@
-e7e5cd8d6d1596596ded1007f37c3193 *tests/data/fate/vsynth2-dnxhd-1080i-colr.mov
-3031929 tests/data/fate/vsynth2-dnxhd-1080i-colr.mov
+fb740664c7c427a8a32944278d50f6d6 *tests/data/fate/vsynth2-dnxhd-1080i-colr.mov
+3031937 tests/data/fate/vsynth2-dnxhd-1080i-colr.mov
 ec40a8014b819d02951b2f06bee7b514 *tests/data/fate/vsynth2-dnxhd-1080i-colr.out.rawvideo
 stddev:    1.54 PSNR: 44.33 MAXDIFF:   33 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov b/tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov
index b8d3ab9990..9ae711e769 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov
+++ b/tests/ref/vsynth/vsynth2-dnxhd-hr-hq-mov
@@ -1,4 +1,4 @@
-a71fffeebf680f52aaae2df02b85d2fe *tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
-4772599 tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
+7cd21b11b6d67132d7810ef44bb8f02e *tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
+4772607 tests/data/fate/vsynth2-dnxhd-hr-hq-mov.mov
 9c087836b5e07bddb96533d27939219f *tests/data/fate/vsynth2-dnxhd-hr-hq-mov.out.rawvideo
 stddev:    1.56 PSNR: 44.25 MAXDIFF:   33 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov b/tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov
index 9370d87aac..d81353262e 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov
+++ b/tests/ref/vsynth/vsynth2-dnxhd-hr-lb-mov
@@ -1,4 +1,4 @@
-6a514f231b36542a3bc6af90bbc04dcd *tests/data/fate/vsynth2-dnxhd-hr-lb-mov.mov
-3748599 tests/data/fate/vsynth2-dnxhd-hr-lb-mov.mov
+0b1de8b5b2b468b2e058e3e1dbafb5c7 *tests/data/fate/vsynth2-dnxhd-hr-lb-mov.mov
+3748607 tests/data/fate/vsynth2-dnxhd-hr-lb-mov.mov
 6d4cdd8822ead300690af9ce52db037c *tests/data/fate/vsynth2-dnxhd-hr-lb-mov.out.rawvideo
 stddev:    1.52 PSNR: 44.49 MAXDIFF:   33 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov b/tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov
index 0b8e9571eb..92d96f6cb1 100644
--- a/tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov
+++ b/tests/ref/vsynth/vsynth2-dnxhd-hr-sq-mov
@@ -1,4 +1,4 @@
-2398b73a57a5ae4c4cd54b3ebb796bfb *tests/data/fate/vsynth2-dnxhd-hr-sq-mov.mov
-2560763 tests/data/fate/vsynth2-dnxhd-hr-sq-mov.mov
+c66b0ce7518cb408282c97bbce5231d3 *tests/data/fate/vsynth2-dnxhd-hr-sq-mov.mov
+2560771 tests/data/fate/vsynth2-dnxhd-hr-sq-mov.mov
 ba86d472b3f160e2f1d00cf569231e3f *tests/data/fate/vsynth2-dnxhd-hr-sq-mov.out.rawvideo
 stddev:    1.58 PSNR: 44.13 MAXDIFF:   35 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-mov-bgr24 b/tests/ref/vsynth/vsynth2-mov-bgr24
index 1db6aee655..0e6245abc7 100644
--- a/tests/ref/vsynth/vsynth2-mov-bgr24
+++ b/tests/ref/vsynth/vsynth2-mov-bgr24
@@ -1,4 +1,4 @@
-1c5a5b9e299c5e02e757d8be98999cf4 *tests/data/fate/vsynth2-mov-bgr24.mov
-15207169 tests/data/fate/vsynth2-mov-bgr24.mov
+8e601dd7b86a2572fb016d53403f1445 *tests/data/fate/vsynth2-mov-bgr24.mov
+15207177 tests/data/fate/vsynth2-mov-bgr24.mov
 32fae3e665407bb4317b3f90fedb903c *tests/data/fate/vsynth2-mov-bgr24.out.rawvideo
 stddev:    1.54 PSNR: 44.37 MAXDIFF:   17 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-mov-bpp15 b/tests/ref/vsynth/vsynth2-mov-bpp15
index ce1c13a346..7ef372049d 100644
--- a/tests/ref/vsynth/vsynth2-mov-bpp15
+++ b/tests/ref/vsynth/vsynth2-mov-bpp15
@@ -1,4 +1,4 @@
-a004683db50f49520abd74479b25cbd1 *tests/data/fate/vsynth2-mov-bpp15.mov
-10138329 tests/data/fate/vsynth2-mov-bpp15.mov
+40e2817d35ee0ea90c548d9179666723 *tests/data/fate/vsynth2-mov-bpp15.mov
+10138337 tests/data/fate/vsynth2-mov-bpp15.mov
 eb3f0c974ed17ede7cd3ce30ce417d8d *tests/data/fate/vsynth2-mov-bpp15.out.rawvideo
 stddev:    2.81 PSNR: 39.14 MAXDIFF:   19 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-mov-bpp16 b/tests/ref/vsynth/vsynth2-mov-bpp16
index f7f40c58c1..db45dbea26 100644
--- a/tests/ref/vsynth/vsynth2-mov-bpp16
+++ b/tests/ref/vsynth/vsynth2-mov-bpp16
@@ -1,4 +1,4 @@
-b7ffee543580662d2cae327233816fca *tests/data/fate/vsynth2-mov-bpp16.mov
-10138329 tests/data/fate/vsynth2-mov-bpp16.mov
+aaef2aabdb097195f032e5655371814d *tests/data/fate/vsynth2-mov-bpp16.mov
+10138337 tests/data/fate/vsynth2-mov-bpp16.mov
 7747ab837f0e832be2124120d4f7df1c *tests/data/fate/vsynth2-mov-bpp16.out.rawvideo
 stddev:    2.21 PSNR: 41.24 MAXDIFF:   18 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-mpeg4 b/tests/ref/vsynth/vsynth2-mpeg4
index 85899ff88e..bff79379df 100644
--- a/tests/ref/vsynth/vsynth2-mpeg4
+++ b/tests/ref/vsynth/vsynth2-mpeg4
@@ -1,4 +1,4 @@
-adbd883d1701beabd04522d003dafab6 *tests/data/fate/vsynth2-mpeg4.mp4
-159310 tests/data/fate/vsynth2-mpeg4.mp4
+e55d3f35d398b4934e69238e7a2f5cf8 *tests/data/fate/vsynth2-mpeg4.mp4
+159314 tests/data/fate/vsynth2-mpeg4.mp4
 2645405bc5350acc85ad72f3352f5135 *tests/data/fate/vsynth2-mpeg4.out.rawvideo
 stddev:    6.02 PSNR: 32.53 MAXDIFF:   89 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-prores b/tests/ref/vsynth/vsynth2-prores
index 8e48cb041c..524c84137e 100644
--- a/tests/ref/vsynth/vsynth2-prores
+++ b/tests/ref/vsynth/vsynth2-prores
@@ -1,4 +1,4 @@
-a38660faa093dbc8a1ae8e570b6e595b *tests/data/fate/vsynth2-prores.mov
-3260123 tests/data/fate/vsynth2-prores.mov
+7f59c330b815f61fa38dc17cd21372c1 *tests/data/fate/vsynth2-prores.mov
+3260131 tests/data/fate/vsynth2-prores.mov
 416fa8773615889c70491452428d6710 *tests/data/fate/vsynth2-prores.out.rawvideo
 stddev:    1.38 PSNR: 45.29 MAXDIFF:   12 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-prores_444 b/tests/ref/vsynth/vsynth2-prores_444
index c6084f5908..159f6a5457 100644
--- a/tests/ref/vsynth/vsynth2-prores_444
+++ b/tests/ref/vsynth/vsynth2-prores_444
@@ -1,4 +1,4 @@
-21f973c4c6076ea21f82d5fe486c0c98 *tests/data/fate/vsynth2-prores_444.mov
-5219722 tests/data/fate/vsynth2-prores_444.mov
+6a2b691f191ce246ebb6f51ded6a7133 *tests/data/fate/vsynth2-prores_444.mov
+5219730 tests/data/fate/vsynth2-prores_444.mov
 e425b6af7afa51b5e64fc529528b3691 *tests/data/fate/vsynth2-prores_444.out.rawvideo
 stddev:    0.88 PSNR: 49.18 MAXDIFF:   14 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-prores_444_int b/tests/ref/vsynth/vsynth2-prores_444_int
index a727bb2d23..2be91529fd 100644
--- a/tests/ref/vsynth/vsynth2-prores_444_int
+++ b/tests/ref/vsynth/vsynth2-prores_444_int
@@ -1,4 +1,4 @@
-500a8249bc63ec6bb79f816bce5b6db1 *tests/data/fate/vsynth2-prores_444_int.mov
-6420787 tests/data/fate/vsynth2-prores_444_int.mov
+e2ed144e962883c2ac6549a42f7cfffe *tests/data/fate/vsynth2-prores_444_int.mov
+6420795 tests/data/fate/vsynth2-prores_444_int.mov
 33a5db4f0423168d4ae4f1db3610928e *tests/data/fate/vsynth2-prores_444_int.out.rawvideo
 stddev:    0.93 PSNR: 48.73 MAXDIFF:   14 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-prores_int b/tests/ref/vsynth/vsynth2-prores_int
index 0f27acdca0..18ead419a9 100644
--- a/tests/ref/vsynth/vsynth2-prores_int
+++ b/tests/ref/vsynth/vsynth2-prores_int
@@ -1,4 +1,4 @@
-dd7835992e7a30b7be9014916411b5b3 *tests/data/fate/vsynth2-prores_int.mov
-4070996 tests/data/fate/vsynth2-prores_int.mov
+49e61e5d822f77e816e26c05c4af6c15 *tests/data/fate/vsynth2-prores_int.mov
+4071004 tests/data/fate/vsynth2-prores_int.mov
 bef9e38387a1fbb1ce2e4401b6d41674 *tests/data/fate/vsynth2-prores_int.out.rawvideo
 stddev:    1.54 PSNR: 44.37 MAXDIFF:   13 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-prores_ks b/tests/ref/vsynth/vsynth2-prores_ks
index 5186f55b4f..e1db6a36ae 100644
--- a/tests/ref/vsynth/vsynth2-prores_ks
+++ b/tests/ref/vsynth/vsynth2-prores_ks
@@ -1,4 +1,4 @@
-abde4f84a5e4060492e3d8fcb56f2467 *tests/data/fate/vsynth2-prores_ks.mov
-3868162 tests/data/fate/vsynth2-prores_ks.mov
+17713dd21efb55d01de681cd2e0c7bff *tests/data/fate/vsynth2-prores_ks.mov
+3868170 tests/data/fate/vsynth2-prores_ks.mov
 fe7ad707205c6100e9a3956d4e1c300e *tests/data/fate/vsynth2-prores_ks.out.rawvideo
 stddev:    1.17 PSNR: 46.72 MAXDIFF:   14 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-qtrle b/tests/ref/vsynth/vsynth2-qtrle
index 8593845d92..d83aa6cee2 100644
--- a/tests/ref/vsynth/vsynth2-qtrle
+++ b/tests/ref/vsynth/vsynth2-qtrle
@@ -1,4 +1,4 @@
-492bef0aea081c076307d668d94fb9c4 *tests/data/fate/vsynth2-qtrle.mov
-14035926 tests/data/fate/vsynth2-qtrle.mov
+08486f0cbd6687bf8ba35fd1bce6f36a *tests/data/fate/vsynth2-qtrle.mov
+14035934 tests/data/fate/vsynth2-qtrle.mov
 32fae3e665407bb4317b3f90fedb903c *tests/data/fate/vsynth2-qtrle.out.rawvideo
 stddev:    1.54 PSNR: 44.37 MAXDIFF:   17 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-qtrlegray b/tests/ref/vsynth/vsynth2-qtrlegray
index b92d245444..2fb968d218 100644
--- a/tests/ref/vsynth/vsynth2-qtrlegray
+++ b/tests/ref/vsynth/vsynth2-qtrlegray
@@ -1,4 +1,4 @@
-109c88cbb3528378c1e848e50cf1792d *tests/data/fate/vsynth2-qtrlegray.mov
-4988372 tests/data/fate/vsynth2-qtrlegray.mov
+79e316de6b0340f92d83599f65ab5763 *tests/data/fate/vsynth2-qtrlegray.mov
+4988380 tests/data/fate/vsynth2-qtrlegray.mov
 510a92a21b552c51fcafab8188982f4d *tests/data/fate/vsynth2-qtrlegray.out.rawvideo
 stddev:   16.31 PSNR: 23.88 MAXDIFF:   89 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-svq1 b/tests/ref/vsynth/vsynth2-svq1
index 4a50775501..57d7ea8093 100644
--- a/tests/ref/vsynth/vsynth2-svq1
+++ b/tests/ref/vsynth/vsynth2-svq1
@@ -1,4 +1,4 @@
-1c12440c323bc8ace5464587b5369c4a *tests/data/fate/vsynth2-svq1.mov
-940289 tests/data/fate/vsynth2-svq1.mov
+189391f03e0a8966c98dcf57398e7107 *tests/data/fate/vsynth2-svq1.mov
+940297 tests/data/fate/vsynth2-svq1.mov
 a8cd3b833cd7f570ddbf1e6b3eb125b6 *tests/data/fate/vsynth2-svq1.out.rawvideo
 stddev:    3.71 PSNR: 36.72 MAXDIFF:  210 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-vc2-420p b/tests/ref/vsynth/vsynth2-vc2-420p
index 28c1aedf73..3b348fa4cd 100644
--- a/tests/ref/vsynth/vsynth2-vc2-420p
+++ b/tests/ref/vsynth/vsynth2-vc2-420p
@@ -1,4 +1,4 @@
-78daa3a27c0630aa37024121a43a7908 *tests/data/fate/vsynth2-vc2-420p.mov
-860743 tests/data/fate/vsynth2-vc2-420p.mov
+a86b60c641fa7c8c3e7123811df59c11 *tests/data/fate/vsynth2-vc2-420p.mov
+860751 tests/data/fate/vsynth2-vc2-420p.mov
 01389f7ae4f2a3dc0d7b8384d435fd83 *tests/data/fate/vsynth2-vc2-420p.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-420p10 b/tests/ref/vsynth/vsynth2-vc2-420p10
index 12b5fe022a..b1ebedefd1 100644
--- a/tests/ref/vsynth/vsynth2-vc2-420p10
+++ b/tests/ref/vsynth/vsynth2-vc2-420p10
@@ -1,4 +1,4 @@
-e4627f308056d82de52a849b3a07b415 *tests/data/fate/vsynth2-vc2-420p10.mov
-1181271 tests/data/fate/vsynth2-vc2-420p10.mov
+052b0a7aa2a7c8a0f38744d779d0befe *tests/data/fate/vsynth2-vc2-420p10.mov
+1181279 tests/data/fate/vsynth2-vc2-420p10.mov
 01389f7ae4f2a3dc0d7b8384d435fd83 *tests/data/fate/vsynth2-vc2-420p10.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-420p12 b/tests/ref/vsynth/vsynth2-vc2-420p12
index dc67229f69..0485b5d7cc 100644
--- a/tests/ref/vsynth/vsynth2-vc2-420p12
+++ b/tests/ref/vsynth/vsynth2-vc2-420p12
@@ -1,4 +1,4 @@
-8ff2cd721eae2e95d91568dde88a9970 *tests/data/fate/vsynth2-vc2-420p12.mov
-1525079 tests/data/fate/vsynth2-vc2-420p12.mov
+8a567424b2d9efaaef5a0fe9cf4226fa *tests/data/fate/vsynth2-vc2-420p12.mov
+1525087 tests/data/fate/vsynth2-vc2-420p12.mov
 01389f7ae4f2a3dc0d7b8384d435fd83 *tests/data/fate/vsynth2-vc2-420p12.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-422p b/tests/ref/vsynth/vsynth2-vc2-422p
index b53ca286b2..8882897017 100644
--- a/tests/ref/vsynth/vsynth2-vc2-422p
+++ b/tests/ref/vsynth/vsynth2-vc2-422p
@@ -1,4 +1,4 @@
-2a5213e25c03b60685e8467dfb11883c *tests/data/fate/vsynth2-vc2-422p.mov
-1035207 tests/data/fate/vsynth2-vc2-422p.mov
+8ee09c87d4bee4927b56fb50579a9665 *tests/data/fate/vsynth2-vc2-422p.mov
+1035215 tests/data/fate/vsynth2-vc2-422p.mov
 c14eb0038a5dba9382f42f750d46ed3c *tests/data/fate/vsynth2-vc2-422p.out.rawvideo
 stddev:    0.35 PSNR: 57.21 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-422p10 b/tests/ref/vsynth/vsynth2-vc2-422p10
index 12b5bbe79b..e885834d9b 100644
--- a/tests/ref/vsynth/vsynth2-vc2-422p10
+++ b/tests/ref/vsynth/vsynth2-vc2-422p10
@@ -1,4 +1,4 @@
-6a99394db4353cc092e6bd9697e836ef *tests/data/fate/vsynth2-vc2-422p10.mov
-1321687 tests/data/fate/vsynth2-vc2-422p10.mov
+bda7b8d4300c720cdc240fc334b568a0 *tests/data/fate/vsynth2-vc2-422p10.mov
+1321695 tests/data/fate/vsynth2-vc2-422p10.mov
 8f629e5cea24cc804d6aeadceacf0b2a *tests/data/fate/vsynth2-vc2-422p10.out.rawvideo
 stddev:    0.37 PSNR: 56.66 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-422p12 b/tests/ref/vsynth/vsynth2-vc2-422p12
index c1ac2216ed..af8b090955 100644
--- a/tests/ref/vsynth/vsynth2-vc2-422p12
+++ b/tests/ref/vsynth/vsynth2-vc2-422p12
@@ -1,4 +1,4 @@
-ef1f1484a569008ba64803f25b06df54 *tests/data/fate/vsynth2-vc2-422p12.mov
-1752535 tests/data/fate/vsynth2-vc2-422p12.mov
+737aff1615dc4dcbe70f0f414ccd5b78 *tests/data/fate/vsynth2-vc2-422p12.mov
+1752543 tests/data/fate/vsynth2-vc2-422p12.mov
 7241b922e7c17d14701567db6c743a9e *tests/data/fate/vsynth2-vc2-422p12.out.rawvideo
 stddev:    0.37 PSNR: 56.73 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-444p b/tests/ref/vsynth/vsynth2-vc2-444p
index f356056a0f..306e78354c 100644
--- a/tests/ref/vsynth/vsynth2-vc2-444p
+++ b/tests/ref/vsynth/vsynth2-vc2-444p
@@ -1,4 +1,4 @@
-a2cae781cdec41c7128a6cc71fbf6b3b *tests/data/fate/vsynth2-vc2-444p.mov
-1202386 tests/data/fate/vsynth2-vc2-444p.mov
+7ae600005ba7dab29cf597dcfa7f3fb2 *tests/data/fate/vsynth2-vc2-444p.mov
+1202394 tests/data/fate/vsynth2-vc2-444p.mov
 6b35f3ddc3b52f4424237d4191a2461f *tests/data/fate/vsynth2-vc2-444p.out.rawvideo
 stddev:    0.44 PSNR: 55.07 MAXDIFF:   10 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-444p10 b/tests/ref/vsynth/vsynth2-vc2-444p10
index 7a94bcd9be..d3aa4c6e0a 100644
--- a/tests/ref/vsynth/vsynth2-vc2-444p10
+++ b/tests/ref/vsynth/vsynth2-vc2-444p10
@@ -1,4 +1,4 @@
-77b67d38ccb0d0e8d6c0af256afb1496 *tests/data/fate/vsynth2-vc2-444p10.mov
-1603927 tests/data/fate/vsynth2-vc2-444p10.mov
+e83f043b3decdc0b4b0f509e87605e35 *tests/data/fate/vsynth2-vc2-444p10.mov
+1603935 tests/data/fate/vsynth2-vc2-444p10.mov
 d5c80ee1881a0306b0487e3c868529a3 *tests/data/fate/vsynth2-vc2-444p10.out.rawvideo
 stddev:    0.48 PSNR: 54.46 MAXDIFF:   10 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-444p12 b/tests/ref/vsynth/vsynth2-vc2-444p12
index fbd98ffe37..28158b2d51 100644
--- a/tests/ref/vsynth/vsynth2-vc2-444p12
+++ b/tests/ref/vsynth/vsynth2-vc2-444p12
@@ -1,4 +1,4 @@
-1b535238247c0cdca338f2927e2c8c37 *tests/data/fate/vsynth2-vc2-444p12.mov
-2145499 tests/data/fate/vsynth2-vc2-444p12.mov
+e6ab58ad559245c28daa65e69fd1ede9 *tests/data/fate/vsynth2-vc2-444p12.mov
+2145507 tests/data/fate/vsynth2-vc2-444p12.mov
 38836be5c12b951c9b280d15fe3b31ce *tests/data/fate/vsynth2-vc2-444p12.out.rawvideo
 stddev:    0.48 PSNR: 54.46 MAXDIFF:   10 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-t5_3 b/tests/ref/vsynth/vsynth2-vc2-t5_3
index c4100acb5d..6b7322d265 100644
--- a/tests/ref/vsynth/vsynth2-vc2-t5_3
+++ b/tests/ref/vsynth/vsynth2-vc2-t5_3
@@ -1,4 +1,4 @@
-89aa19c48c8f1ba7c418102706980efa *tests/data/fate/vsynth2-vc2-t5_3.mov
-1335772 tests/data/fate/vsynth2-vc2-t5_3.mov
+c01e7c0e96712afcf3e0c0d6a240918a *tests/data/fate/vsynth2-vc2-t5_3.mov
+1335780 tests/data/fate/vsynth2-vc2-t5_3.mov
 8f629e5cea24cc804d6aeadceacf0b2a *tests/data/fate/vsynth2-vc2-t5_3.out.rawvideo
 stddev:    0.37 PSNR: 56.66 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth2-vc2-thaar b/tests/ref/vsynth/vsynth2-vc2-thaar
index d4f37df740..aac4621191 100644
--- a/tests/ref/vsynth/vsynth2-vc2-thaar
+++ b/tests/ref/vsynth/vsynth2-vc2-thaar
@@ -1,4 +1,4 @@
-866641af5f57980f9da4c78c105155f1 *tests/data/fate/vsynth2-vc2-thaar.mov
-1470300 tests/data/fate/vsynth2-vc2-thaar.mov
+5e219be1a5ea04aed078b8986f1fca16 *tests/data/fate/vsynth2-vc2-thaar.mov
+1470308 tests/data/fate/vsynth2-vc2-thaar.mov
 8f629e5cea24cc804d6aeadceacf0b2a *tests/data/fate/vsynth2-vc2-thaar.out.rawvideo
 stddev:    0.37 PSNR: 56.66 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit
index 2a040e12db..a3f48629d1 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit
+++ b/tests/ref/vsynth/vsynth3-dnxhd-1080i-10bit
@@ -1,4 +1,4 @@
-4e6185e273297061def8e0b7fabff71b *tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
-4588391 tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
+c2cd508811526174c73dfdd5a0b0350d *tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
+4588399 tests/data/fate/vsynth3-dnxhd-1080i-10bit.mov
 c192f36ef8687e56c72a3dc416c7e191 *tests/data/fate/vsynth3-dnxhd-1080i-10bit.out.rawvideo
 stddev:    6.92 PSNR: 31.32 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr
index 093489e45f..f254ce7c5d 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr
+++ b/tests/ref/vsynth/vsynth3-dnxhd-1080i-colr
@@ -1,4 +1,4 @@
-f5a7d7f837a750784458c60fb7b4d091 *tests/data/fate/vsynth3-dnxhd-1080i-colr.mov
-3031929 tests/data/fate/vsynth3-dnxhd-1080i-colr.mov
+32a8875b393ddabf4202fd28861202e6 *tests/data/fate/vsynth3-dnxhd-1080i-colr.mov
+3031937 tests/data/fate/vsynth3-dnxhd-1080i-colr.mov
 f907fd2d48bedbc5283fbfc3fb9f61a0 *tests/data/fate/vsynth3-dnxhd-1080i-colr.out.rawvideo
 stddev:    6.92 PSNR: 31.32 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov b/tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov
index a5808dd773..5c8a633d03 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov
+++ b/tests/ref/vsynth/vsynth3-dnxhd-hr-hq-mov
@@ -1,4 +1,4 @@
-1b9e337636198690850f102c7a987eae *tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
-4772599 tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
+3ae87939eb1a279e9b2629772137cc22 *tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
+4772607 tests/data/fate/vsynth3-dnxhd-hr-hq-mov.mov
 aa2e6c13a1e7760a22fccfca9faacdf3 *tests/data/fate/vsynth3-dnxhd-hr-hq-mov.out.rawvideo
 stddev:    6.92 PSNR: 31.32 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov b/tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov
index 7a888c5b01..b678479fd9 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov
+++ b/tests/ref/vsynth/vsynth3-dnxhd-hr-lb-mov
@@ -1,4 +1,4 @@
-1ac0627cfcad3df568026aea4696901f *tests/data/fate/vsynth3-dnxhd-hr-lb-mov.mov
-3748599 tests/data/fate/vsynth3-dnxhd-hr-lb-mov.mov
+7e9af43a25da9aa0cb75e783fc60edf4 *tests/data/fate/vsynth3-dnxhd-hr-lb-mov.mov
+3748607 tests/data/fate/vsynth3-dnxhd-hr-lb-mov.mov
 1a4d12fd893e4585944dd9c68fb23edf *tests/data/fate/vsynth3-dnxhd-hr-lb-mov.out.rawvideo
 stddev:    6.92 PSNR: 31.32 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov b/tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov
index bd94e686c0..7a67d50e06 100644
--- a/tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov
+++ b/tests/ref/vsynth/vsynth3-dnxhd-hr-sq-mov
@@ -1,4 +1,4 @@
-3b1420fc4cb6de03ea4a7858f5a0438e *tests/data/fate/vsynth3-dnxhd-hr-sq-mov.mov
-2560763 tests/data/fate/vsynth3-dnxhd-hr-sq-mov.mov
+c503f9daa8cb94b1217a3acf22f68a34 *tests/data/fate/vsynth3-dnxhd-hr-sq-mov.mov
+2560771 tests/data/fate/vsynth3-dnxhd-hr-sq-mov.mov
 730c00cc5a24e13ee99a75789806cb28 *tests/data/fate/vsynth3-dnxhd-hr-sq-mov.out.rawvideo
 stddev:    6.91 PSNR: 31.33 MAXDIFF:   50 bytes:    86700/     8670
diff --git a/tests/ref/vsynth/vsynth3-mov-bgr24 b/tests/ref/vsynth/vsynth3-mov-bgr24
index 4fc3cc979f..2e58466a19 100644
--- a/tests/ref/vsynth/vsynth3-mov-bgr24
+++ b/tests/ref/vsynth/vsynth3-mov-bgr24
@@ -1,4 +1,4 @@
-0141cd3b6e8eea836d392adf6949afc4 *tests/data/fate/vsynth3-mov-bgr24.mov
-174093 tests/data/fate/vsynth3-mov-bgr24.mov
+727e00051121c661ef93647d6a8a3ab1 *tests/data/fate/vsynth3-mov-bgr24.mov
+174101 tests/data/fate/vsynth3-mov-bgr24.mov
 693aff10c094f8bd31693f74cf79d2b2 *tests/data/fate/vsynth3-mov-bgr24.out.rawvideo
 stddev:    3.67 PSNR: 36.82 MAXDIFF:   43 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-mov-bpp15 b/tests/ref/vsynth/vsynth3-mov-bpp15
index 4c289cf161..38d35b8ee2 100644
--- a/tests/ref/vsynth/vsynth3-mov-bpp15
+++ b/tests/ref/vsynth/vsynth3-mov-bpp15
@@ -1,4 +1,4 @@
-96e1406b041b16e9598092d928ea9d3e *tests/data/fate/vsynth3-mov-bpp15.mov
-116293 tests/data/fate/vsynth3-mov-bpp15.mov
+86bb3740ba00f6a4db7fbed3cee37ad1 *tests/data/fate/vsynth3-mov-bpp15.mov
+116301 tests/data/fate/vsynth3-mov-bpp15.mov
 19f61c34cbdef98b0f4aca6c19f59ed4 *tests/data/fate/vsynth3-mov-bpp15.out.rawvideo
 stddev:    4.35 PSNR: 35.35 MAXDIFF:   46 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-mov-bpp16 b/tests/ref/vsynth/vsynth3-mov-bpp16
index 55537d4bfd..ec2ed8fe53 100644
--- a/tests/ref/vsynth/vsynth3-mov-bpp16
+++ b/tests/ref/vsynth/vsynth3-mov-bpp16
@@ -1,4 +1,4 @@
-65b51e9a83da767fae244fd6816f2bc7 *tests/data/fate/vsynth3-mov-bpp16.mov
-116293 tests/data/fate/vsynth3-mov-bpp16.mov
+a00d69d3377ad23f3ea6f45cc606ef51 *tests/data/fate/vsynth3-mov-bpp16.mov
+116301 tests/data/fate/vsynth3-mov-bpp16.mov
 756f68dd5412d245d4bbeda7b5d51829 *tests/data/fate/vsynth3-mov-bpp16.out.rawvideo
 stddev:    4.07 PSNR: 35.93 MAXDIFF:   46 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-mpeg4 b/tests/ref/vsynth/vsynth3-mpeg4
index 02cf68d55d..e4761d1e4a 100644
--- a/tests/ref/vsynth/vsynth3-mpeg4
+++ b/tests/ref/vsynth/vsynth3-mpeg4
@@ -1,4 +1,4 @@
-ddcff996543900496f0b374a2d5cae74 *tests/data/fate/vsynth3-mpeg4.mp4
-26017 tests/data/fate/vsynth3-mpeg4.mp4
+7c9a4849ca0dd40729d89be73f787ece *tests/data/fate/vsynth3-mpeg4.mp4
+26021 tests/data/fate/vsynth3-mpeg4.mp4
 fc0d8c1e58d254031e6207dfcae8f867 *tests/data/fate/vsynth3-mpeg4.out.rawvideo
 stddev:    9.66 PSNR: 28.43 MAXDIFF:   79 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-prores b/tests/ref/vsynth/vsynth3-prores
index 8dfaf09d26..bbd6fd07fc 100644
--- a/tests/ref/vsynth/vsynth3-prores
+++ b/tests/ref/vsynth/vsynth3-prores
@@ -1,4 +1,4 @@
-3e6f1fd0e4fdad4a8dd351dec08b0bf5 *tests/data/fate/vsynth3-prores.mov
-105367 tests/data/fate/vsynth3-prores.mov
+879b629ba67fa2902a5971e982aa08d4 *tests/data/fate/vsynth3-prores.mov
+105375 tests/data/fate/vsynth3-prores.mov
 fff5e7ad21d78501c8fa4749bf4bf289 *tests/data/fate/vsynth3-prores.out.rawvideo
 stddev:    2.80 PSNR: 39.17 MAXDIFF:   27 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-prores_444 b/tests/ref/vsynth/vsynth3-prores_444
index f05894b33e..d56800d08f 100644
--- a/tests/ref/vsynth/vsynth3-prores_444
+++ b/tests/ref/vsynth/vsynth3-prores_444
@@ -1,4 +1,4 @@
-3070da65c30c1a9905ee31c7ede1cf57 *tests/data/fate/vsynth3-prores_444.mov
-159127 tests/data/fate/vsynth3-prores_444.mov
+b7fa2d58a94c196df09bc9299174473d *tests/data/fate/vsynth3-prores_444.mov
+159135 tests/data/fate/vsynth3-prores_444.mov
 025b48feb3d9a9652983ef71e6cb7e7c *tests/data/fate/vsynth3-prores_444.out.rawvideo
 stddev:    3.21 PSNR: 37.98 MAXDIFF:   41 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-prores_444_int b/tests/ref/vsynth/vsynth3-prores_444_int
index f6ba6bc282..f14111735b 100644
--- a/tests/ref/vsynth/vsynth3-prores_444_int
+++ b/tests/ref/vsynth/vsynth3-prores_444_int
@@ -1,4 +1,4 @@
-c6279e0584575ffa1e2e13047cc7ecec *tests/data/fate/vsynth3-prores_444_int.mov
-184397 tests/data/fate/vsynth3-prores_444_int.mov
+3258fbb5af9415931233c6f4c7d4242d *tests/data/fate/vsynth3-prores_444_int.mov
+184405 tests/data/fate/vsynth3-prores_444_int.mov
 a8852aa2841c2ce5f2aa86176ceda4ef *tests/data/fate/vsynth3-prores_444_int.out.rawvideo
 stddev:    3.24 PSNR: 37.91 MAXDIFF:   41 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-prores_int b/tests/ref/vsynth/vsynth3-prores_int
index c9b8ba691d..e335d74b84 100644
--- a/tests/ref/vsynth/vsynth3-prores_int
+++ b/tests/ref/vsynth/vsynth3-prores_int
@@ -1,4 +1,4 @@
-6085fc27cc6cc7c02abc59ce914d85cb *tests/data/fate/vsynth3-prores_int.mov
-120484 tests/data/fate/vsynth3-prores_int.mov
+d2c4b924c32e1384ecf22d84e9a8525a *tests/data/fate/vsynth3-prores_int.mov
+120492 tests/data/fate/vsynth3-prores_int.mov
 e5859ba47a99f9e53c1ddcaa68a8f8f8 *tests/data/fate/vsynth3-prores_int.out.rawvideo
 stddev:    2.92 PSNR: 38.81 MAXDIFF:   29 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-prores_ks b/tests/ref/vsynth/vsynth3-prores_ks
index 561ee48dee..dfc2567569 100644
--- a/tests/ref/vsynth/vsynth3-prores_ks
+++ b/tests/ref/vsynth/vsynth3-prores_ks
@@ -1,4 +1,4 @@
-f6ce1e8e2272cea0592d3f969d48c1de *tests/data/fate/vsynth3-prores_ks.mov
-95053 tests/data/fate/vsynth3-prores_ks.mov
+580d2ebac89bc61c860d011492fc21ae *tests/data/fate/vsynth3-prores_ks.mov
+95061 tests/data/fate/vsynth3-prores_ks.mov
 9ab6d3e3cc7749796cd9fa984c60d890 *tests/data/fate/vsynth3-prores_ks.out.rawvideo
 stddev:    4.09 PSNR: 35.88 MAXDIFF:   35 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-qtrle b/tests/ref/vsynth/vsynth3-qtrle
index 2056e1b7e2..7ae1056416 100644
--- a/tests/ref/vsynth/vsynth3-qtrle
+++ b/tests/ref/vsynth/vsynth3-qtrle
@@ -1,4 +1,4 @@
-b9152e4c2931818140086903c9d9a8ae *tests/data/fate/vsynth3-qtrle.mov
-179656 tests/data/fate/vsynth3-qtrle.mov
+af0c1c5eceb917a3d9a623e1c1883234 *tests/data/fate/vsynth3-qtrle.mov
+179664 tests/data/fate/vsynth3-qtrle.mov
 693aff10c094f8bd31693f74cf79d2b2 *tests/data/fate/vsynth3-qtrle.out.rawvideo
 stddev:    3.67 PSNR: 36.82 MAXDIFF:   43 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth3-svq1 b/tests/ref/vsynth/vsynth3-svq1
index e760abbdb4..e1b2459e37 100644
--- a/tests/ref/vsynth/vsynth3-svq1
+++ b/tests/ref/vsynth/vsynth3-svq1
@@ -1,4 +1,4 @@
-1972e0df8be667443992e405cceec291 *tests/data/fate/vsynth3-svq1.mov
-40773 tests/data/fate/vsynth3-svq1.mov
+baf370183dbc2d3c91bfa73bf70027db *tests/data/fate/vsynth3-svq1.mov
+40781 tests/data/fate/vsynth3-svq1.mov
 a1e5334cf67649bf8c7d95dc4d1bf148 *tests/data/fate/vsynth3-svq1.out.rawvideo
 stddev:   14.49 PSNR: 24.91 MAXDIFF:  183 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth_lena-avui b/tests/ref/vsynth/vsynth_lena-avui
index f4e5ef9433..3d5bb33e54 100644
--- a/tests/ref/vsynth/vsynth_lena-avui
+++ b/tests/ref/vsynth/vsynth_lena-avui
@@ -1,4 +1,4 @@
-7b670636544a60f4fb2c153e3caabdee *tests/data/fate/vsynth_lena-avui.mov
-42625037 tests/data/fate/vsynth_lena-avui.mov
+5345475fe409d057ecd7f465561e62cf *tests/data/fate/vsynth_lena-avui.mov
+42625045 tests/data/fate/vsynth_lena-avui.mov
 dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth_lena-avui.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i
index ae5c515165..020ac70458 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i
@@ -1,4 +1,4 @@
-1bb94b5a7917c1d81f3a92dd9b5b66ae *tests/data/fate/vsynth_lena-dnxhd-1080i.mov
-3031911 tests/data/fate/vsynth_lena-dnxhd-1080i.mov
+d9d3439a1f077e1d31947bd2a2aca0e1 *tests/data/fate/vsynth_lena-dnxhd-1080i.mov
+3031919 tests/data/fate/vsynth_lena-dnxhd-1080i.mov
 7d0ca92f12711535d57eff3609462b31 *tests/data/fate/vsynth_lena-dnxhd-1080i.out.rawvideo
 stddev:    1.29 PSNR: 45.87 MAXDIFF:   22 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit
index 5112f2a379..ae19fafe73 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-10bit
@@ -1,4 +1,4 @@
-55e1097376ac44e916528eee5ee2266e *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
-4588391 tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
+aca9e9d4f0bd571fc0cbc0f2465c3f38 *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
+4588399 tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.mov
 f2dc4375c58e0406d442e0cb28573e91 *tests/data/fate/vsynth_lena-dnxhd-1080i-10bit.out.rawvideo
 stddev:    1.36 PSNR: 45.40 MAXDIFF:   22 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr
index ae855cd461..6c16b7101b 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-1080i-colr
@@ -1,4 +1,4 @@
-3a681c0e174ccf85fe1504cdf8546788 *tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov
-3031929 tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov
+6ead8cd47a691dd655ce16d75073f59e *tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov
+3031937 tests/data/fate/vsynth_lena-dnxhd-1080i-colr.mov
 ce4993a69ef55c8c4b18138716f17b6f *tests/data/fate/vsynth_lena-dnxhd-1080i-colr.out.rawvideo
 stddev:    1.33 PSNR: 45.59 MAXDIFF:   22 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov
index 2d58c5e7a7..ea4bc19bf9 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-hq-mov
@@ -1,4 +1,4 @@
-f19dfcd4d9d7a0da1131c0dd909ad0ae *tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
-4772599 tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
+12b430b430fedfe1a79dd6b82648823c *tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
+4772607 tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.mov
 e6c3531cb32eb3d0c465c44098746fea *tests/data/fate/vsynth_lena-dnxhd-hr-hq-mov.out.rawvideo
 stddev:    1.34 PSNR: 45.54 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov
index 9047805561..8f4c530042 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-lb-mov
@@ -1,4 +1,4 @@
-f27068c1444d2e11e094fab37eceb9d5 *tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.mov
-3748599 tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.mov
+fbb1d9af7ad39310b42f28fb226f4059 *tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.mov
+3748607 tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.mov
 0951de00b90d1bf34d2ff10a51db705d *tests/data/fate/vsynth_lena-dnxhd-hr-lb-mov.out.rawvideo
 stddev:    1.31 PSNR: 45.72 MAXDIFF:   21 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov
index 9a2db8a888..1e44b16614 100644
--- a/tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov
+++ b/tests/ref/vsynth/vsynth_lena-dnxhd-hr-sq-mov
@@ -1,4 +1,4 @@
-b1d5da9fd4811b87b1bf05afee6e44e4 *tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.mov
-2560763 tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.mov
+c984222a50df2ccc0934a759ed131b51 *tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.mov
+2560771 tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.mov
 95e7da46fc066ed795de4ec1cf4d4ab5 *tests/data/fate/vsynth_lena-dnxhd-hr-sq-mov.out.rawvideo
 stddev:    1.35 PSNR: 45.51 MAXDIFF:   23 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-mov-bgr24 b/tests/ref/vsynth/vsynth_lena-mov-bgr24
index 098dd91258..68454480a1 100644
--- a/tests/ref/vsynth/vsynth_lena-mov-bgr24
+++ b/tests/ref/vsynth/vsynth_lena-mov-bgr24
@@ -1,4 +1,4 @@
-3656f10647727ff16119ad54e11ed09d *tests/data/fate/vsynth_lena-mov-bgr24.mov
-15207169 tests/data/fate/vsynth_lena-mov-bgr24.mov
+dd421781401d31e8733707b6d4be6696 *tests/data/fate/vsynth_lena-mov-bgr24.mov
+15207177 tests/data/fate/vsynth_lena-mov-bgr24.mov
 98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth_lena-mov-bgr24.out.rawvideo
 stddev:    1.26 PSNR: 46.10 MAXDIFF:   13 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-mov-bpp15 b/tests/ref/vsynth/vsynth_lena-mov-bpp15
index 7a61797ef2..6682769ab7 100644
--- a/tests/ref/vsynth/vsynth_lena-mov-bpp15
+++ b/tests/ref/vsynth/vsynth_lena-mov-bpp15
@@ -1,4 +1,4 @@
-846672fbdf449e0345cec63e1611661a *tests/data/fate/vsynth_lena-mov-bpp15.mov
-10138329 tests/data/fate/vsynth_lena-mov-bpp15.mov
+9274b8bfaf2ff31d0bb9fb895fe2e55a *tests/data/fate/vsynth_lena-mov-bpp15.mov
+10138337 tests/data/fate/vsynth_lena-mov-bpp15.mov
 be0e64bdf519ce1097613063804eded9 *tests/data/fate/vsynth_lena-mov-bpp15.out.rawvideo
 stddev:    2.16 PSNR: 41.43 MAXDIFF:   17 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-mov-bpp16 b/tests/ref/vsynth/vsynth_lena-mov-bpp16
index 4e4cb44daa..e0ef65b0cc 100644
--- a/tests/ref/vsynth/vsynth_lena-mov-bpp16
+++ b/tests/ref/vsynth/vsynth_lena-mov-bpp16
@@ -1,4 +1,4 @@
-f425fe7f36bd821d4afa260088542cf9 *tests/data/fate/vsynth_lena-mov-bpp16.mov
-10138329 tests/data/fate/vsynth_lena-mov-bpp16.mov
+7ef60fec80d7bb97a1bf88e9ecc7951a *tests/data/fate/vsynth_lena-mov-bpp16.mov
+10138337 tests/data/fate/vsynth_lena-mov-bpp16.mov
 789bfa1dc2a72f498928f2ae85e461c3 *tests/data/fate/vsynth_lena-mov-bpp16.out.rawvideo
 stddev:    1.76 PSNR: 43.18 MAXDIFF:   17 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-mpeg4 b/tests/ref/vsynth/vsynth_lena-mpeg4
index 8d8cccef40..592f3a910a 100644
--- a/tests/ref/vsynth/vsynth_lena-mpeg4
+++ b/tests/ref/vsynth/vsynth_lena-mpeg4
@@ -1,4 +1,4 @@
-4a029747434d24d128b078a5e6aa1e88 *tests/data/fate/vsynth_lena-mpeg4.mp4
-119722 tests/data/fate/vsynth_lena-mpeg4.mp4
+6ebd99ff9439b85451395978076ef255 *tests/data/fate/vsynth_lena-mpeg4.mp4
+119726 tests/data/fate/vsynth_lena-mpeg4.mp4
 9a1e085d9e488c5ead0c940c9612a37a *tests/data/fate/vsynth_lena-mpeg4.out.rawvideo
 stddev:    5.34 PSNR: 33.57 MAXDIFF:   83 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-prores b/tests/ref/vsynth/vsynth_lena-prores
index 573fc1273e..0e8cef2da1 100644
--- a/tests/ref/vsynth/vsynth_lena-prores
+++ b/tests/ref/vsynth/vsynth_lena-prores
@@ -1,4 +1,4 @@
-eed04261f5d5878ea3b91321420270a0 *tests/data/fate/vsynth_lena-prores.mov
-2844076 tests/data/fate/vsynth_lena-prores.mov
+c08b57ba4fd6bb30f964d5d0ea3ce0ff *tests/data/fate/vsynth_lena-prores.mov
+2844084 tests/data/fate/vsynth_lena-prores.mov
 03fd29e3963716a09d232b6f817ecb57 *tests/data/fate/vsynth_lena-prores.out.rawvideo
 stddev:    1.31 PSNR: 45.77 MAXDIFF:   11 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-prores_444 b/tests/ref/vsynth/vsynth_lena-prores_444
index 29141239c5..7ddda09789 100644
--- a/tests/ref/vsynth/vsynth_lena-prores_444
+++ b/tests/ref/vsynth/vsynth_lena-prores_444
@@ -1,4 +1,4 @@
-b8677f9e1da7be861e8b7207028b3a9e *tests/data/fate/vsynth_lena-prores_444.mov
-4734395 tests/data/fate/vsynth_lena-prores_444.mov
+8b9f29775aa61ebcee9062d5b54e3846 *tests/data/fate/vsynth_lena-prores_444.mov
+4734403 tests/data/fate/vsynth_lena-prores_444.mov
 a704e05e3e0a451edef7515b25a76bb8 *tests/data/fate/vsynth_lena-prores_444.out.rawvideo
 stddev:    0.81 PSNR: 49.88 MAXDIFF:    8 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-prores_444_int b/tests/ref/vsynth/vsynth_lena-prores_444_int
index 005ab68ccf..d4dceea469 100644
--- a/tests/ref/vsynth/vsynth_lena-prores_444_int
+++ b/tests/ref/vsynth/vsynth_lena-prores_444_int
@@ -1,4 +1,4 @@
-38195b0437f6ae1c910ba108e7a799d1 *tests/data/fate/vsynth_lena-prores_444_int.mov
-5696258 tests/data/fate/vsynth_lena-prores_444_int.mov
+e431b85482d601c2a70d4122bfefbaf6 *tests/data/fate/vsynth_lena-prores_444_int.mov
+5696266 tests/data/fate/vsynth_lena-prores_444_int.mov
 466380156e4d2b811f4ffb9c5a8bca72 *tests/data/fate/vsynth_lena-prores_444_int.out.rawvideo
 stddev:    0.88 PSNR: 49.23 MAXDIFF:    9 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-prores_int b/tests/ref/vsynth/vsynth_lena-prores_int
index 3e31b018d7..be93367ff3 100644
--- a/tests/ref/vsynth/vsynth_lena-prores_int
+++ b/tests/ref/vsynth/vsynth_lena-prores_int
@@ -1,4 +1,4 @@
-f45bc9026780bbbcdbbcc0d54c21ef06 *tests/data/fate/vsynth_lena-prores_int.mov
-3532698 tests/data/fate/vsynth_lena-prores_int.mov
+5250514c807c3f95c08898221c439064 *tests/data/fate/vsynth_lena-prores_int.mov
+3532706 tests/data/fate/vsynth_lena-prores_int.mov
 eb5caa9824ca294f403cd13f33c40f23 *tests/data/fate/vsynth_lena-prores_int.out.rawvideo
 stddev:    1.47 PSNR: 44.78 MAXDIFF:   12 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-prores_ks b/tests/ref/vsynth/vsynth_lena-prores_ks
index 333578bc1e..660207da10 100644
--- a/tests/ref/vsynth/vsynth_lena-prores_ks
+++ b/tests/ref/vsynth/vsynth_lena-prores_ks
@@ -1,4 +1,4 @@
-86b9932d5f78d0b5836533e972a37a65 *tests/data/fate/vsynth_lena-prores_ks.mov
-3884596 tests/data/fate/vsynth_lena-prores_ks.mov
+c2419af521d026d3adc03c377302bb0e *tests/data/fate/vsynth_lena-prores_ks.mov
+3884604 tests/data/fate/vsynth_lena-prores_ks.mov
 6cfe987de99cf8ac9d43bdc5cd150838 *tests/data/fate/vsynth_lena-prores_ks.out.rawvideo
 stddev:    0.92 PSNR: 48.78 MAXDIFF:   10 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-qtrle b/tests/ref/vsynth/vsynth_lena-qtrle
index f426fe0ab6..593a5014e0 100644
--- a/tests/ref/vsynth/vsynth_lena-qtrle
+++ b/tests/ref/vsynth/vsynth_lena-qtrle
@@ -1,4 +1,4 @@
-513ca7d64af25676f5f99f00e2287ced *tests/data/fate/vsynth_lena-qtrle.mov
-14798345 tests/data/fate/vsynth_lena-qtrle.mov
+b3ae060d407cc36ab83f42102efce56f *tests/data/fate/vsynth_lena-qtrle.mov
+14798353 tests/data/fate/vsynth_lena-qtrle.mov
 98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth_lena-qtrle.out.rawvideo
 stddev:    1.26 PSNR: 46.10 MAXDIFF:   13 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-qtrlegray b/tests/ref/vsynth/vsynth_lena-qtrlegray
index e0c18c9702..df6d4dca46 100644
--- a/tests/ref/vsynth/vsynth_lena-qtrlegray
+++ b/tests/ref/vsynth/vsynth_lena-qtrlegray
@@ -1,4 +1,4 @@
-8db6b52b706a91f483c37eaa2f011cfe *tests/data/fate/vsynth_lena-qtrlegray.mov
-5111283 tests/data/fate/vsynth_lena-qtrlegray.mov
+c7205dfd16a323064829329cf8bf3f26 *tests/data/fate/vsynth_lena-qtrlegray.mov
+5111291 tests/data/fate/vsynth_lena-qtrlegray.mov
 d7bfbe259af9ae323bb94b09c33570a5 *tests/data/fate/vsynth_lena-qtrlegray.out.rawvideo
 stddev:   18.65 PSNR: 22.72 MAXDIFF:   72 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-svq1 b/tests/ref/vsynth/vsynth_lena-svq1
index 01c1b06c74..5b3723c744 100644
--- a/tests/ref/vsynth/vsynth_lena-svq1
+++ b/tests/ref/vsynth/vsynth_lena-svq1
@@ -1,4 +1,4 @@
-a6398d8fd306cfe96dc41060335e67e8 *tests/data/fate/vsynth_lena-svq1.mov
-766701 tests/data/fate/vsynth_lena-svq1.mov
+39d704da7766f25a4e0a158dba399578 *tests/data/fate/vsynth_lena-svq1.mov
+766709 tests/data/fate/vsynth_lena-svq1.mov
 aa03471dac3f49455a33a2b19fda1098 *tests/data/fate/vsynth_lena-svq1.out.rawvideo
 stddev:    3.23 PSNR: 37.93 MAXDIFF:   61 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-420p b/tests/ref/vsynth/vsynth_lena-vc2-420p
index cdaca3c832..c8aff97c85 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-420p
+++ b/tests/ref/vsynth/vsynth_lena-vc2-420p
@@ -1,4 +1,4 @@
-9e1e6da4f166d6d4998923ad52d047c9 *tests/data/fate/vsynth_lena-vc2-420p.mov
-849735 tests/data/fate/vsynth_lena-vc2-420p.mov
+53d042a7529739dd10b2fdd592d4e730 *tests/data/fate/vsynth_lena-vc2-420p.mov
+849743 tests/data/fate/vsynth_lena-vc2-420p.mov
 b1c660113acab8eb4075f3d9fbb9cee9 *tests/data/fate/vsynth_lena-vc2-420p.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-420p10 b/tests/ref/vsynth/vsynth_lena-vc2-420p10
index 8ddb6acb5e..7fb4373408 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-420p10
+++ b/tests/ref/vsynth/vsynth_lena-vc2-420p10
@@ -1,4 +1,4 @@
-b989bdb42043851048f4b489463e585d *tests/data/fate/vsynth_lena-vc2-420p10.mov
-1154775 tests/data/fate/vsynth_lena-vc2-420p10.mov
+790a411c8ea8e47c390549fda22194b7 *tests/data/fate/vsynth_lena-vc2-420p10.mov
+1154783 tests/data/fate/vsynth_lena-vc2-420p10.mov
 b1c660113acab8eb4075f3d9fbb9cee9 *tests/data/fate/vsynth_lena-vc2-420p10.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-420p12 b/tests/ref/vsynth/vsynth_lena-vc2-420p12
index efbb72964c..b2a92926d0 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-420p12
+++ b/tests/ref/vsynth/vsynth_lena-vc2-420p12
@@ -1,4 +1,4 @@
-98c9ce4afcbedb6634b10dcba9e5d8ec *tests/data/fate/vsynth_lena-vc2-420p12.mov
-1516759 tests/data/fate/vsynth_lena-vc2-420p12.mov
+53e19d34f8b8dbf55c9557f110ccdc13 *tests/data/fate/vsynth_lena-vc2-420p12.mov
+1516767 tests/data/fate/vsynth_lena-vc2-420p12.mov
 b1c660113acab8eb4075f3d9fbb9cee9 *tests/data/fate/vsynth_lena-vc2-420p12.out.rawvideo
 stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-422p b/tests/ref/vsynth/vsynth_lena-vc2-422p
index 388b80e97a..131bd6cfc7 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-422p
+++ b/tests/ref/vsynth/vsynth_lena-vc2-422p
@@ -1,4 +1,4 @@
-f326f79e00a1499a4e387d01ea07b812 *tests/data/fate/vsynth_lena-vc2-422p.mov
-1049287 tests/data/fate/vsynth_lena-vc2-422p.mov
+149292087c690ebee2685ad660578a11 *tests/data/fate/vsynth_lena-vc2-422p.mov
+1049295 tests/data/fate/vsynth_lena-vc2-422p.mov
 c4b2e69278c822f22655344068ea486d *tests/data/fate/vsynth_lena-vc2-422p.out.rawvideo
 stddev:    0.26 PSNR: 59.82 MAXDIFF:    5 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-422p10 b/tests/ref/vsynth/vsynth_lena-vc2-422p10
index e521da43e0..098714234e 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-422p10
+++ b/tests/ref/vsynth/vsynth_lena-vc2-422p10
@@ -1,4 +1,4 @@
-b5a757abdf6e7e2a777520ecf99107b7 *tests/data/fate/vsynth_lena-vc2-422p10.mov
-1294039 tests/data/fate/vsynth_lena-vc2-422p10.mov
+1c040bae98ddba36c07fb81b00a1850c *tests/data/fate/vsynth_lena-vc2-422p10.mov
+1294047 tests/data/fate/vsynth_lena-vc2-422p10.mov
 e5ea17416bda234ae58f27dea27e8135 *tests/data/fate/vsynth_lena-vc2-422p10.out.rawvideo
 stddev:    0.30 PSNR: 58.58 MAXDIFF:    5 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-422p12 b/tests/ref/vsynth/vsynth_lena-vc2-422p12
index 3cf50b4da6..a120e99b24 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-422p12
+++ b/tests/ref/vsynth/vsynth_lena-vc2-422p12
@@ -1,4 +1,4 @@
-c2ec3fa0b1faf0cfdbee4410655037a0 *tests/data/fate/vsynth_lena-vc2-422p12.mov
-1768027 tests/data/fate/vsynth_lena-vc2-422p12.mov
+4d6b981ff48f4434b59d8f64e82c1841 *tests/data/fate/vsynth_lena-vc2-422p12.mov
+1768035 tests/data/fate/vsynth_lena-vc2-422p12.mov
 bd374304997834410a69ee6c6e047d19 *tests/data/fate/vsynth_lena-vc2-422p12.out.rawvideo
 stddev:    0.29 PSNR: 58.76 MAXDIFF:    5 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-444p b/tests/ref/vsynth/vsynth_lena-vc2-444p
index 1f9a9602a7..37ada18794 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-444p
+++ b/tests/ref/vsynth/vsynth_lena-vc2-444p
@@ -1,4 +1,4 @@
-37eb0398cf913a66e0f628d6419775b5 *tests/data/fate/vsynth_lena-vc2-444p.mov
-1174738 tests/data/fate/vsynth_lena-vc2-444p.mov
+42efc6598185a6235523674838ded276 *tests/data/fate/vsynth_lena-vc2-444p.mov
+1174746 tests/data/fate/vsynth_lena-vc2-444p.mov
 f9306b14ff827ced1a992301d1ab02ca *tests/data/fate/vsynth_lena-vc2-444p.out.rawvideo
 stddev:    0.38 PSNR: 56.43 MAXDIFF:    6 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-444p10 b/tests/ref/vsynth/vsynth_lena-vc2-444p10
index 05d69169d5..4409d5e847 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-444p10
+++ b/tests/ref/vsynth/vsynth_lena-vc2-444p10
@@ -1,4 +1,4 @@
-c0de26ba4c95df2e07ab249158fa947c *tests/data/fate/vsynth_lena-vc2-444p10.mov
-1577815 tests/data/fate/vsynth_lena-vc2-444p10.mov
+156911dcc16ca67dbcc900a13ed305b4 *tests/data/fate/vsynth_lena-vc2-444p10.mov
+1577823 tests/data/fate/vsynth_lena-vc2-444p10.mov
 da13c67fe1c6d98dd73e92a6ba006edc *tests/data/fate/vsynth_lena-vc2-444p10.out.rawvideo
 stddev:    0.42 PSNR: 55.56 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-444p12 b/tests/ref/vsynth/vsynth_lena-vc2-444p12
index 7d4f9b6a79..13aac3d417 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-444p12
+++ b/tests/ref/vsynth/vsynth_lena-vc2-444p12
@@ -1,4 +1,4 @@
-effbd39862492bb3f81973ddce70a1d7 *tests/data/fate/vsynth_lena-vc2-444p12.mov
-2134875 tests/data/fate/vsynth_lena-vc2-444p12.mov
+0dbe02d8b43f6e5ec0c4c54454e24281 *tests/data/fate/vsynth_lena-vc2-444p12.mov
+2134883 tests/data/fate/vsynth_lena-vc2-444p12.mov
 a505434ec95362772a57d274f63a3f5a *tests/data/fate/vsynth_lena-vc2-444p12.out.rawvideo
 stddev:    0.42 PSNR: 55.58 MAXDIFF:    7 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-t5_3 b/tests/ref/vsynth/vsynth_lena-vc2-t5_3
index 50a60d7e23..9002df1ea0 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-t5_3
+++ b/tests/ref/vsynth/vsynth_lena-vc2-t5_3
@@ -1,4 +1,4 @@
-950197d63d02f51021c0ed238b44181b *tests/data/fate/vsynth_lena-vc2-t5_3.mov
-1305436 tests/data/fate/vsynth_lena-vc2-t5_3.mov
+e1cfa3316451406bfa8a83b74635c8e0 *tests/data/fate/vsynth_lena-vc2-t5_3.mov
+1305444 tests/data/fate/vsynth_lena-vc2-t5_3.mov
 e5ea17416bda234ae58f27dea27e8135 *tests/data/fate/vsynth_lena-vc2-t5_3.out.rawvideo
 stddev:    0.30 PSNR: 58.58 MAXDIFF:    5 bytes:  7603200/   760320
diff --git a/tests/ref/vsynth/vsynth_lena-vc2-thaar b/tests/ref/vsynth/vsynth_lena-vc2-thaar
index 31be2836a9..7c9c9f95e8 100644
--- a/tests/ref/vsynth/vsynth_lena-vc2-thaar
+++ b/tests/ref/vsynth/vsynth_lena-vc2-thaar
@@ -1,4 +1,4 @@
-33a539a633dba8051c65c61564c578fd *tests/data/fate/vsynth_lena-vc2-thaar.mov
-1431772 tests/data/fate/vsynth_lena-vc2-thaar.mov
+fafffd87b95b64919481026471c352f4 *tests/data/fate/vsynth_lena-vc2-thaar.mov
+1431780 tests/data/fate/vsynth_lena-vc2-thaar.mov
 e5ea17416bda234ae58f27dea27e8135 *tests/data/fate/vsynth_lena-vc2-thaar.out.rawvideo
 stddev:    0.30 PSNR: 58.58 MAXDIFF:    5 bytes:  7603200/   760320



More information about the ffmpeg-cvslog mailing list