1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00

avcodec/proresenc_aw : use for frame flag in the header the same value than the official encoder

This commit is contained in:
Martin Vignali 2018-10-08 15:51:41 +02:00
parent c51b36ec8f
commit e832d769f4
5 changed files with 5 additions and 5 deletions

View File

@ -553,7 +553,7 @@ static int prores_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
if (avctx->profile == FF_PROFILE_PRORES_444) {
*buf++ = 0xC2; // 444, not interlaced
} else {
*buf++ = 0x83; // 422, not interlaced
*buf++ = 0x82; // 422, not interlaced
}
*buf++ = 0;
*buf++ = pict->color_primaries;

View File

@ -1,4 +1,4 @@
27a1293adf92cc0330652e4e81a9328d *tests/data/fate/vsynth1-prores.mov
ec1d32acb0f6035ca45ad7d395d4a586 *tests/data/fate/vsynth1-prores.mov
5022821 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

View File

@ -1,4 +1,4 @@
71d83e64060c122f440b288a042f7c0b *tests/data/fate/vsynth2-prores.mov
27fa0f1ecb2dbe1510582ec6d01cc81d *tests/data/fate/vsynth2-prores.mov
3260123 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

View File

@ -1,4 +1,4 @@
f41aa3ce23eea73be3e207d5d0f18219 *tests/data/fate/vsynth3-prores.mov
6afd345a8f799d0459229349a30497cd *tests/data/fate/vsynth3-prores.mov
105367 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

View File

@ -1,4 +1,4 @@
09ef7f879fa65d6626dde9a88f1674c9 *tests/data/fate/vsynth_lena-prores.mov
952c0dfde2b3d238c2ef411782f309a6 *tests/data/fate/vsynth_lena-prores.mov
2844076 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