@@ -51,6 +51,14 @@ static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
pkt->stream_index, pkt->dts, pkt->pts, pkt->duration, pkt->size, crc);
if (pkt->flags != AV_PKT_FLAG_KEY)
av_strlcatf(buf, sizeof(buf), ", F=0x%0X", pkt->flags);
+ if (pkt->side_data_elems) {
+ av_strlcatf(buf, sizeof(buf), ", S=%d", pkt->side_data_elems);
+
+ for (int i = 0; i < pkt->side_data_elems; i++) {
+ av_strlcatf(buf, sizeof(buf), ", %8"SIZE_SPECIFIER,
+ pkt->side_data[i].size);
+ }
+ }
av_strlcatf(buf, sizeof(buf), "\n");
avio_write(s->pb, buf, strlen(buf));
return 0;
@@ -6,7 +6,7 @@ da6122873fb83ce4340cf5d0ab8d475e *tests/data/fate/copy-trac3074.mp4
#sample_rate 0: 48000
#channel_layout 0: 3
#channel_layout_name 0: stereo
-0, 0, 0, 1536, 512, 0x2beaf79f
+0, 0, 0, 1536, 512, 0x2beaf79f, S=1, 4
0, 1536, 1536, 1536, 512, 0x29ddf9d6
0, 3072, 3072, 1536, 512, 0xba0afa79
0, 4608, 4608, 1536, 512, 0xe019f394
@@ -21,7 +21,7 @@ c1b55a9a92226cd72d3f53ccd830d127 *tests/data/fate/cover-art-mp3-id3v2-remux.mp3
#codec_id 3: png
#dimensions 3: 263x263
#sar 3: 1/1
-0, -353590, -353590, 368640, 417, 0x15848290
+0, -353590, -353590, 368640, 417, 0x15848290, S=1, 10
1, 0, 0, 0, 15760, 0x71d5c418
2, 0, 0, 0, 208350, 0x291b44d1
3, 0, 0, 0, 165671, 0x7c1c8070
@@ -1,5 +1,5 @@
-7b72a1f069386ca934a9537e7fcd63aa *tests/data/fate/gapless-mp3.out-1
+77ef234e382c15b8afc416ca9c80024b *tests/data/fate/gapless-mp3.out-1
c96c3ae7bd3300fd2f4debac222de5b7
-31eddf7f5dbee1a4f35f2110e35007cc *tests/data/fate/gapless-mp3.out-2
+c594be833fb94ae91f2734bcba56c359 *tests/data/fate/gapless-mp3.out-2
c96c3ae7bd3300fd2f4debac222de5b7
-3836e06e588f6222597dae4b11d2fcf8 *tests/data/fate/gapless-mp3.out-3
+5a285806cad6524a3d6184775e097d24 *tests/data/fate/gapless-mp3.out-3
@@ -6,7 +6,7 @@ bb2816e3a05ce136e9ac14479c1ebe24 *tests/data/fate/id3v2-priv-remux.mp3
#sample_rate 0: 48000
#channel_layout 0: 4
#channel_layout_name 0: mono
-0, -155528, -155528, 338688, 192, 0x3774510e
+0, -155528, -155528, 338688, 192, 0x3774510e, S=1, 10
0, 183160, 183160, 338688, 192, 0x856c5b02
0, 521848, 521848, 338688, 192, 0xb86e557f
0, 860536, 860536, 338688, 192, 0x3b6c5cb7
@@ -24,9 +24,9 @@
#codec_id 3: ffv1
#dimensions 3: 1280x720
#sar 3: 1/1
-0, 0, 0, 16, 57008, 0x43416399
+0, 0, 0, 16, 57008, 0x43416399, S=2, 8, 88
1, 0, 0, 16, 2403, 0xaa818522
-3, 0, 0, 16, 274117, 0xc439610f
+3, 0, 0, 16, 274117, 0xc439610f, S=2, 8, 88
0, 17, 17, 16, 57248, 0xa06cd7b5
1, 17, 17, 16, 2403, 0xe1a991e5
2, 17, 17, 16, 1602, 0x5d868171
@@ -12,8 +12,8 @@
#codec_id 1: h264
#dimensions 1: 1920x1080
#sar 1: 0/1
-0, -80, 0, 40, 69118, 0x73cb52f0
-1, -80, 0, 40, 69118, 0x73cb52f0
+0, -80, 0, 40, 69118, 0x73cb52f0, S=2, 12, 36
+1, -80, 0, 40, 69118, 0x73cb52f0, S=2, 12, 36
0, -40, 160, 40, 1103, 0x082a059f, F=0x0
1, -40, 160, 40, 1103, 0x082a059f, F=0x0
[STREAM]
@@ -5,13 +5,13 @@ d06be833da8e8d9d00bf334e0dfe8a58 *tests/data/fate/matroska-vp8-alpha-remux.matro
#codec_id 0: vp8
#dimensions 0: 320x213
#sar 0: 1/1
-0, 0, 0, 33, 2108, 0x59b92a34
-0, 32, 32, 33, 142, 0x2f2a3fed, F=0x0
-0, 65, 65, 33, 157, 0x17804767, F=0x0
-0, 99, 99, 33, 206, 0x537262ca, F=0x0
-0, 132, 132, 33, 259, 0x73ff74b6, F=0x0
-0, 165, 165, 33, 320, 0x0fcf8ce4, F=0x0
-0, 199, 199, 33, 377, 0x8fffb5f5, F=0x0
+0, 0, 0, 33, 2108, 0x59b92a34, S=2, 1900, 12
+0, 32, 32, 33, 142, 0x2f2a3fed, F=0x0, S=1, 160
+0, 65, 65, 33, 157, 0x17804767, F=0x0, S=1, 209
+0, 99, 99, 33, 206, 0x537262ca, F=0x0, S=1, 317
+0, 132, 132, 33, 259, 0x73ff74b6, F=0x0, S=1, 384
+0, 165, 165, 33, 320, 0x0fcf8ce4, F=0x0, S=1, 415
+0, 199, 199, 33, 377, 0x8fffb5f5, F=0x0, S=1, 475
[STREAM]
DISPOSITION:default=1
DISPOSITION:dub=0
@@ -17,7 +17,7 @@
#codec_id 2: png
#dimensions 2: 600x600
#sar 2: 1/1
-0, -2112, -2112, 1024, 6, 0x027e00e8, F=0x5
+0, -2112, -2112, 1024, 6, 0x027e00e8, F=0x5, S=1, 10
0, -1088, -1088, 1024, 6, 0x027e00e8, F=0x5
0, -64, -64, 1024, 6, 0x027e00e8
1, 0, 0, 0, 25441, 0xe82503b0
@@ -6,7 +6,7 @@
#codec_id 0: mpeg2video
#dimensions 0: 1280x720
#sar 0: 3/4
-0, -1, 0, 1, 150000, 0x0547870d
+0, -1, 0, 1, 150000, 0x0547870d, S=1, 40
0, 0, 1, 1, 150000, 0xe80a1612, F=0x0
0, 1, 2, 1, 150000, 0xc5c50e2f, F=0x0
0, 2, 3, 1, 150000, 0x51e28a04, F=0x0
@@ -4,129 +4,129 @@
#codec_id 0: h264
#dimensions 0: 640x360
#sar 0: 1/1
-0, -7200, 0, 3600, 22630, 0x9b109541
-0, -3600, 14400, 3600, 4021, 0xbf7cdb02, F=0x0
-0, 0, 7200, 3600, 1096, 0x4f162690, F=0x0
-0, 3600, 3600, 3600, 687, 0x00394b95, F=0x0
-0, 7200, 10800, 3600, 445, 0x08c3d065, F=0x0
-0, 10800, 28800, 3600, 4212, 0x56d12b8f, F=0x0
-0, 14400, 21600, 3600, 1117, 0xd521260b, F=0x0
-0, 18000, 18000, 3600, 892, 0x4262bdbc, F=0x0
-0, 21600, 25200, 3600, 480, 0x3be1ef0b, F=0x0
-0, 25200, 43200, 3600, 4065, 0x40dee237, F=0x0
-0, 28800, 36000, 3600, 962, 0x31a4ceb1, F=0x0
-0, 32400, 32400, 3600, 651, 0xb2aa317a, F=0x0
-0, 36000, 39600, 3600, 543, 0x9c4e0024, F=0x0
-0, 39600, 57600, 3600, 4221, 0x77c23977, F=0x0
-0, 43200, 50400, 3600, 1040, 0x482cfa34, F=0x0
-0, 46800, 46800, 3600, 576, 0x2686136a, F=0x0
-0, 50400, 54000, 3600, 607, 0xc53c2339, F=0x0
-0, 54000, 72000, 3600, 4755, 0x2f642b58, F=0x0
-0, 57600, 64800, 3600, 1182, 0xbe1a4847, F=0x0
-0, 61200, 61200, 3600, 809, 0x8d948a4e, F=0x0
-0, 64800, 68400, 3600, 656, 0x4fa03c2b, F=0x0
-0, 68400, 86400, 3600, 26555, 0x5629b584
-0, 72000, 79200, 3600, 1141, 0x761b31e8, F=0x0
-0, 75600, 75600, 3600, 717, 0x57746351, F=0x0
-0, 79200, 82800, 3600, 693, 0x78b24263, F=0x0
-0, 82800, 100800, 3600, 3417, 0x560dbc89, F=0x0
-0, 86400, 93600, 3600, 1128, 0xc0f1383c, F=0x0
-0, 90000, 90000, 3600, 650, 0xc3ad485e, F=0x0
-0, 93600, 97200, 3600, 766, 0xd3e9757d, F=0x0
-0, 97200, 115200, 3600, 4268, 0xec1235b5, F=0x0
-0, 100800, 108000, 3600, 1119, 0x65f51fb7, F=0x0
-0, 104400, 104400, 3600, 766, 0x213b78d3, F=0x0
-0, 108000, 111600, 3600, 770, 0xa7537e6d, F=0x0
-0, 111600, 129600, 3600, 6349, 0xec225cf9, F=0x0
-0, 115200, 122400, 3600, 1188, 0x9dea396c, F=0x0
-0, 118800, 118800, 3600, 805, 0xdd9e88d0, F=0x0
-0, 122400, 126000, 3600, 752, 0x1f93730a, F=0x0
-0, 126000, 144000, 3600, 5502, 0x501bda5c, F=0x0
-0, 129600, 136800, 3600, 1240, 0x7e3661ea, F=0x0
-0, 133200, 133200, 3600, 830, 0xa8249f38, F=0x0
-0, 136800, 140400, 3600, 754, 0xab1c815e, F=0x0
-0, 140400, 158400, 3600, 5328, 0xd2c55ac6, F=0x0
-0, 144000, 151200, 3600, 1271, 0x46006870, F=0x0
-0, 147600, 147600, 3600, 849, 0x94dc99c7, F=0x0
-0, 151200, 154800, 3600, 753, 0xf4236cab, F=0x0
-0, 154800, 172800, 3600, 25825, 0xd5464dee
-0, 158400, 165600, 3600, 1206, 0x8ce84344, F=0x0
-0, 162000, 162000, 3600, 867, 0x312fa07d, F=0x0
-0, 165600, 169200, 3600, 719, 0x810666d1, F=0x0
-0, 169200, 187200, 3600, 3786, 0xa96a6825, F=0x0
-0, 172800, 180000, 3600, 1187, 0x77e649a2, F=0x0
-0, 176400, 176400, 3600, 750, 0x86da6d2e, F=0x0
-0, 180000, 183600, 3600, 815, 0xf09a9881, F=0x0
-0, 183600, 201600, 3600, 5275, 0xee3450bb, F=0x0
-0, 187200, 194400, 3600, 1352, 0x150a96e1, F=0x0
-0, 190800, 190800, 3600, 877, 0x6062a120, F=0x0
-0, 194400, 198000, 3600, 829, 0x5180988c, F=0x0
-0, 198000, 216000, 3600, 4421, 0x623aad33, F=0x0
-0, 201600, 208800, 3600, 1464, 0xd34dc851, F=0x0
-0, 205200, 205200, 3600, 903, 0xf63bbed0, F=0x0
-0, 208800, 212400, 3600, 717, 0xc17054b8, F=0x0
-0, 212400, 230400, 3600, 4787, 0x75e9400e, F=0x0
-0, 216000, 223200, 3600, 1435, 0xb01ccabb, F=0x0
-0, 219600, 219600, 3600, 851, 0x54bda291, F=0x0
-0, 223200, 226800, 3600, 809, 0x84e37fee, F=0x0
-0, 226800, 244800, 3600, 4541, 0xd4e5c0de, F=0x0
-0, 230400, 237600, 3600, 1545, 0x0099fc98, F=0x0
-0, 234000, 234000, 3600, 929, 0xfd72d049, F=0x0
-0, 237600, 241200, 3600, 829, 0xcfda9e96, F=0x0
-0, 241200, 259200, 3600, 24220, 0x5ca21d71
-0, 244800, 252000, 3600, 1422, 0xcde6cc34, F=0x0
-0, 248400, 248400, 3600, 883, 0xedacbe25, F=0x0
-0, 252000, 255600, 3600, 768, 0x89d774bc, F=0x0
-0, 255600, 273600, 3600, 3802, 0xea1d70d4, F=0x0
-0, 259200, 266400, 3600, 1284, 0x2c927097, F=0x0
-0, 262800, 262800, 3600, 745, 0x81076a7f, F=0x0
-0, 266400, 270000, 3600, 931, 0x3675dbfe, F=0x0
-0, 270000, 288000, 3600, 4830, 0x7a807a68, F=0x0
-0, 273600, 280800, 3600, 1446, 0x6224bc81, F=0x0
-0, 277200, 277200, 3600, 833, 0x56f78ae2, F=0x0
-0, 280800, 284400, 3600, 873, 0x9caeaf00, F=0x0
-0, 284400, 302400, 3600, 5167, 0x1703151f, F=0x0
-0, 288000, 295200, 3600, 1449, 0x0881b0d6, F=0x0
-0, 291600, 291600, 3600, 866, 0x0bffa719, F=0x0
-0, 295200, 298800, 3600, 874, 0xc243a65f, F=0x0
-0, 298800, 316800, 3600, 5426, 0x7c899c30, F=0x0
-0, 302400, 309600, 3600, 1574, 0x03b00f0d, F=0x0
-0, 306000, 306000, 3600, 860, 0x65cea74e, F=0x0
-0, 309600, 313200, 3600, 829, 0xffd795cd, F=0x0
-0, 313200, 331200, 3600, 5352, 0x59997996, F=0x0
-0, 316800, 324000, 3600, 1501, 0xb3b8f001, F=0x0
-0, 320400, 320400, 3600, 941, 0x92b0cb18, F=0x0
-0, 324000, 327600, 3600, 823, 0x3d548355, F=0x0
-0, 327600, 345600, 3600, 24042, 0x441e94fb
-0, 331200, 338400, 3600, 1582, 0x4f5d1049, F=0x0
-0, 334800, 334800, 3600, 945, 0x4f3cc9e8, F=0x0
-0, 338400, 342000, 3600, 815, 0x0ca790a4, F=0x0
-0, 342000, 360000, 3600, 4425, 0x1db2a088, F=0x0
-0, 345600, 352800, 3600, 1492, 0x881ce798, F=0x0
-0, 349200, 349200, 3600, 905, 0xbdd9c278, F=0x0
-0, 352800, 356400, 3600, 870, 0x64fbb0e1, F=0x0
-0, 356400, 374400, 3600, 5194, 0x138b1e1d, F=0x0
-0, 360000, 367200, 3600, 1483, 0xc5c9d717, F=0x0
-0, 363600, 363600, 3600, 977, 0x3648d9fc, F=0x0
-0, 367200, 370800, 3600, 834, 0x6c5d8969, F=0x0
-0, 370800, 388800, 3600, 6956, 0x6a548e0b, F=0x0
-0, 374400, 381600, 3600, 1187, 0x795f4163, F=0x0
-0, 378000, 378000, 3600, 925, 0x92bfc2fb, F=0x0
-0, 381600, 385200, 3600, 747, 0xea9978fc, F=0x0
-0, 385200, 403200, 3600, 5005, 0xc558c189, F=0x0
-0, 388800, 396000, 3600, 452, 0x7d92d9d8, F=0x0
-0, 392400, 392400, 3600, 784, 0xfd597a5f, F=0x0
-0, 396000, 399600, 3600, 199, 0x79b06355, F=0x0
-0, 399600, 417600, 3600, 1862, 0x22a2a06c, F=0x0
-0, 403200, 410400, 3600, 359, 0x11bdae52, F=0x0
-0, 406800, 406800, 3600, 235, 0xbec26964, F=0x0
-0, 410400, 414000, 3600, 221, 0x8380682c, F=0x0
-0, 414000, 432000, 3600, 22588, 0xf0ecf072
-0, 417600, 424800, 3600, 383, 0x4f3bb571, F=0x0
-0, 421200, 421200, 3600, 257, 0x22e87802, F=0x0
-0, 424800, 428400, 3600, 261, 0xdb988134, F=0x0
-0, 428400, 435600, 3600, 156, 0xd2c3406c, F=0x0
-0, 432000, 439200, 3600, 330, 0x150d9b60, F=0x0
-0, 435600, 446400, 3600, 324, 0x558194ee, F=0x0
-0, 439200, 442800, 3600, 191, 0x108e54d1, F=0x0
+0, -7200, 0, 3600, 22630, 0x9b109541, S=1, 1
+0, -3600, 14400, 3600, 4021, 0xbf7cdb02, F=0x0, S=1, 1
+0, 0, 7200, 3600, 1096, 0x4f162690, F=0x0, S=1, 1
+0, 3600, 3600, 3600, 687, 0x00394b95, F=0x0, S=1, 1
+0, 7200, 10800, 3600, 445, 0x08c3d065, F=0x0, S=1, 1
+0, 10800, 28800, 3600, 4212, 0x56d12b8f, F=0x0, S=1, 1
+0, 14400, 21600, 3600, 1117, 0xd521260b, F=0x0, S=1, 1
+0, 18000, 18000, 3600, 892, 0x4262bdbc, F=0x0, S=1, 1
+0, 21600, 25200, 3600, 480, 0x3be1ef0b, F=0x0, S=1, 1
+0, 25200, 43200, 3600, 4065, 0x40dee237, F=0x0, S=1, 1
+0, 28800, 36000, 3600, 962, 0x31a4ceb1, F=0x0, S=1, 1
+0, 32400, 32400, 3600, 651, 0xb2aa317a, F=0x0, S=1, 1
+0, 36000, 39600, 3600, 543, 0x9c4e0024, F=0x0, S=1, 1
+0, 39600, 57600, 3600, 4221, 0x77c23977, F=0x0, S=1, 1
+0, 43200, 50400, 3600, 1040, 0x482cfa34, F=0x0, S=1, 1
+0, 46800, 46800, 3600, 576, 0x2686136a, F=0x0, S=1, 1
+0, 50400, 54000, 3600, 607, 0xc53c2339, F=0x0, S=1, 1
+0, 54000, 72000, 3600, 4755, 0x2f642b58, F=0x0, S=1, 1
+0, 57600, 64800, 3600, 1182, 0xbe1a4847, F=0x0, S=1, 1
+0, 61200, 61200, 3600, 809, 0x8d948a4e, F=0x0, S=1, 1
+0, 64800, 68400, 3600, 656, 0x4fa03c2b, F=0x0, S=1, 1
+0, 68400, 86400, 3600, 26555, 0x5629b584, S=1, 1
+0, 72000, 79200, 3600, 1141, 0x761b31e8, F=0x0, S=1, 1
+0, 75600, 75600, 3600, 717, 0x57746351, F=0x0, S=1, 1
+0, 79200, 82800, 3600, 693, 0x78b24263, F=0x0, S=1, 1
+0, 82800, 100800, 3600, 3417, 0x560dbc89, F=0x0, S=1, 1
+0, 86400, 93600, 3600, 1128, 0xc0f1383c, F=0x0, S=1, 1
+0, 90000, 90000, 3600, 650, 0xc3ad485e, F=0x0, S=1, 1
+0, 93600, 97200, 3600, 766, 0xd3e9757d, F=0x0, S=1, 1
+0, 97200, 115200, 3600, 4268, 0xec1235b5, F=0x0, S=1, 1
+0, 100800, 108000, 3600, 1119, 0x65f51fb7, F=0x0, S=1, 1
+0, 104400, 104400, 3600, 766, 0x213b78d3, F=0x0, S=1, 1
+0, 108000, 111600, 3600, 770, 0xa7537e6d, F=0x0, S=1, 1
+0, 111600, 129600, 3600, 6349, 0xec225cf9, F=0x0, S=1, 1
+0, 115200, 122400, 3600, 1188, 0x9dea396c, F=0x0, S=1, 1
+0, 118800, 118800, 3600, 805, 0xdd9e88d0, F=0x0, S=1, 1
+0, 122400, 126000, 3600, 752, 0x1f93730a, F=0x0, S=1, 1
+0, 126000, 144000, 3600, 5502, 0x501bda5c, F=0x0, S=1, 1
+0, 129600, 136800, 3600, 1240, 0x7e3661ea, F=0x0, S=1, 1
+0, 133200, 133200, 3600, 830, 0xa8249f38, F=0x0, S=1, 1
+0, 136800, 140400, 3600, 754, 0xab1c815e, F=0x0, S=1, 1
+0, 140400, 158400, 3600, 5328, 0xd2c55ac6, F=0x0, S=1, 1
+0, 144000, 151200, 3600, 1271, 0x46006870, F=0x0, S=1, 1
+0, 147600, 147600, 3600, 849, 0x94dc99c7, F=0x0, S=1, 1
+0, 151200, 154800, 3600, 753, 0xf4236cab, F=0x0, S=1, 1
+0, 154800, 172800, 3600, 25825, 0xd5464dee, S=1, 1
+0, 158400, 165600, 3600, 1206, 0x8ce84344, F=0x0, S=1, 1
+0, 162000, 162000, 3600, 867, 0x312fa07d, F=0x0, S=1, 1
+0, 165600, 169200, 3600, 719, 0x810666d1, F=0x0, S=1, 1
+0, 169200, 187200, 3600, 3786, 0xa96a6825, F=0x0, S=1, 1
+0, 172800, 180000, 3600, 1187, 0x77e649a2, F=0x0, S=1, 1
+0, 176400, 176400, 3600, 750, 0x86da6d2e, F=0x0, S=1, 1
+0, 180000, 183600, 3600, 815, 0xf09a9881, F=0x0, S=1, 1
+0, 183600, 201600, 3600, 5275, 0xee3450bb, F=0x0, S=1, 1
+0, 187200, 194400, 3600, 1352, 0x150a96e1, F=0x0, S=1, 1
+0, 190800, 190800, 3600, 877, 0x6062a120, F=0x0, S=1, 1
+0, 194400, 198000, 3600, 829, 0x5180988c, F=0x0, S=1, 1
+0, 198000, 216000, 3600, 4421, 0x623aad33, F=0x0, S=1, 1
+0, 201600, 208800, 3600, 1464, 0xd34dc851, F=0x0, S=1, 1
+0, 205200, 205200, 3600, 903, 0xf63bbed0, F=0x0, S=1, 1
+0, 208800, 212400, 3600, 717, 0xc17054b8, F=0x0, S=1, 1
+0, 212400, 230400, 3600, 4787, 0x75e9400e, F=0x0, S=1, 1
+0, 216000, 223200, 3600, 1435, 0xb01ccabb, F=0x0, S=1, 1
+0, 219600, 219600, 3600, 851, 0x54bda291, F=0x0, S=1, 1
+0, 223200, 226800, 3600, 809, 0x84e37fee, F=0x0, S=1, 1
+0, 226800, 244800, 3600, 4541, 0xd4e5c0de, F=0x0, S=1, 1
+0, 230400, 237600, 3600, 1545, 0x0099fc98, F=0x0, S=1, 1
+0, 234000, 234000, 3600, 929, 0xfd72d049, F=0x0, S=1, 1
+0, 237600, 241200, 3600, 829, 0xcfda9e96, F=0x0, S=1, 1
+0, 241200, 259200, 3600, 24220, 0x5ca21d71, S=1, 1
+0, 244800, 252000, 3600, 1422, 0xcde6cc34, F=0x0, S=1, 1
+0, 248400, 248400, 3600, 883, 0xedacbe25, F=0x0, S=1, 1
+0, 252000, 255600, 3600, 768, 0x89d774bc, F=0x0, S=1, 1
+0, 255600, 273600, 3600, 3802, 0xea1d70d4, F=0x0, S=1, 1
+0, 259200, 266400, 3600, 1284, 0x2c927097, F=0x0, S=1, 1
+0, 262800, 262800, 3600, 745, 0x81076a7f, F=0x0, S=1, 1
+0, 266400, 270000, 3600, 931, 0x3675dbfe, F=0x0, S=1, 1
+0, 270000, 288000, 3600, 4830, 0x7a807a68, F=0x0, S=1, 1
+0, 273600, 280800, 3600, 1446, 0x6224bc81, F=0x0, S=1, 1
+0, 277200, 277200, 3600, 833, 0x56f78ae2, F=0x0, S=1, 1
+0, 280800, 284400, 3600, 873, 0x9caeaf00, F=0x0, S=1, 1
+0, 284400, 302400, 3600, 5167, 0x1703151f, F=0x0, S=1, 1
+0, 288000, 295200, 3600, 1449, 0x0881b0d6, F=0x0, S=1, 1
+0, 291600, 291600, 3600, 866, 0x0bffa719, F=0x0, S=1, 1
+0, 295200, 298800, 3600, 874, 0xc243a65f, F=0x0, S=1, 1
+0, 298800, 316800, 3600, 5426, 0x7c899c30, F=0x0, S=1, 1
+0, 302400, 309600, 3600, 1574, 0x03b00f0d, F=0x0, S=1, 1
+0, 306000, 306000, 3600, 860, 0x65cea74e, F=0x0, S=1, 1
+0, 309600, 313200, 3600, 829, 0xffd795cd, F=0x0, S=1, 1
+0, 313200, 331200, 3600, 5352, 0x59997996, F=0x0, S=1, 1
+0, 316800, 324000, 3600, 1501, 0xb3b8f001, F=0x0, S=1, 1
+0, 320400, 320400, 3600, 941, 0x92b0cb18, F=0x0, S=1, 1
+0, 324000, 327600, 3600, 823, 0x3d548355, F=0x0, S=1, 1
+0, 327600, 345600, 3600, 24042, 0x441e94fb, S=1, 1
+0, 331200, 338400, 3600, 1582, 0x4f5d1049, F=0x0, S=1, 1
+0, 334800, 334800, 3600, 945, 0x4f3cc9e8, F=0x0, S=1, 1
+0, 338400, 342000, 3600, 815, 0x0ca790a4, F=0x0, S=1, 1
+0, 342000, 360000, 3600, 4425, 0x1db2a088, F=0x0, S=1, 1
+0, 345600, 352800, 3600, 1492, 0x881ce798, F=0x0, S=1, 1
+0, 349200, 349200, 3600, 905, 0xbdd9c278, F=0x0, S=1, 1
+0, 352800, 356400, 3600, 870, 0x64fbb0e1, F=0x0, S=1, 1
+0, 356400, 374400, 3600, 5194, 0x138b1e1d, F=0x0, S=1, 1
+0, 360000, 367200, 3600, 1483, 0xc5c9d717, F=0x0, S=1, 1
+0, 363600, 363600, 3600, 977, 0x3648d9fc, F=0x0, S=1, 1
+0, 367200, 370800, 3600, 834, 0x6c5d8969, F=0x0, S=1, 1
+0, 370800, 388800, 3600, 6956, 0x6a548e0b, F=0x0, S=1, 1
+0, 374400, 381600, 3600, 1187, 0x795f4163, F=0x0, S=1, 1
+0, 378000, 378000, 3600, 925, 0x92bfc2fb, F=0x0, S=1, 1
+0, 381600, 385200, 3600, 747, 0xea9978fc, F=0x0, S=1, 1
+0, 385200, 403200, 3600, 5005, 0xc558c189, F=0x0, S=1, 1
+0, 388800, 396000, 3600, 452, 0x7d92d9d8, F=0x0, S=1, 1
+0, 392400, 392400, 3600, 784, 0xfd597a5f, F=0x0, S=1, 1
+0, 396000, 399600, 3600, 199, 0x79b06355, F=0x0, S=1, 1
+0, 399600, 417600, 3600, 1862, 0x22a2a06c, F=0x0, S=1, 1
+0, 403200, 410400, 3600, 359, 0x11bdae52, F=0x0, S=1, 1
+0, 406800, 406800, 3600, 235, 0xbec26964, F=0x0, S=1, 1
+0, 410400, 414000, 3600, 221, 0x8380682c, F=0x0, S=1, 1
+0, 414000, 432000, 3600, 22588, 0xf0ecf072, S=1, 1
+0, 417600, 424800, 3600, 383, 0x4f3bb571, F=0x0, S=1, 1
+0, 421200, 421200, 3600, 257, 0x22e87802, F=0x0, S=1, 1
+0, 424800, 428400, 3600, 261, 0xdb988134, F=0x0, S=1, 1
+0, 428400, 435600, 3600, 156, 0xd2c3406c, F=0x0, S=1, 1
+0, 432000, 439200, 3600, 330, 0x150d9b60, F=0x0, S=1, 1
+0, 435600, 446400, 3600, 324, 0x558194ee, F=0x0, S=1, 1
+0, 439200, 442800, 3600, 191, 0x108e54d1, F=0x0, S=1, 1
0, 442800, 450000, 3600, 233, 0xac5b6486, F=0x0
@@ -16,20 +16,20 @@ c5625f28e6968e12d91f125edef5f16c *tests/data/fate/webm-webvtt-remux.webm
1, 18000, 18000, 2000, 51, 0xc84211f5
0, 20000, 20000, 2000, 67, 0x3e2918c7
1, 20000, 20000, 2000, 67, 0x3e2918c7
-0, 22000, 22000, 2000, 29, 0x93f7098d
-1, 22000, 22000, 2000, 29, 0x93f7098d
+0, 22000, 22000, 2000, 29, 0x93f7098d, S=1, 3
+1, 22000, 22000, 2000, 29, 0x93f7098d, S=1, 3
0, 24000, 24000, 2000, 49, 0xb2d91196
1, 24000, 24000, 2000, 49, 0xb2d91196
-0, 27000, 27000, 3000, 99, 0xb750231a
-1, 27000, 27000, 3000, 99, 0xb750231a
-0, 30000, 30000, 1500, 36, 0xe7f70d87
-1, 30000, 30000, 1500, 36, 0xe7f70d87
-0, 30500, 30500, 2000, 112, 0x6961267d
-1, 30500, 30500, 2000, 112, 0x6961267d
-0, 32000, 32000, 3500, 58, 0x32d11382
-1, 32000, 32000, 3500, 58, 0x32d11382
-0, 32500, 32500, 1000, 36, 0xe6650c7c
-1, 32500, 32500, 1000, 36, 0xe6650c7c
+0, 27000, 27000, 3000, 99, 0xb750231a, S=1, 14
+1, 27000, 27000, 3000, 99, 0xb750231a, S=1, 14
+0, 30000, 30000, 1500, 36, 0xe7f70d87, S=1, 18
+1, 30000, 30000, 1500, 36, 0xe7f70d87, S=1, 18
+0, 30500, 30500, 2000, 112, 0x6961267d, S=1, 20
+1, 30500, 30500, 2000, 112, 0x6961267d, S=1, 20
+0, 32000, 32000, 3500, 58, 0x32d11382, S=1, 18
+1, 32000, 32000, 3500, 58, 0x32d11382, S=1, 18
+0, 32500, 32500, 1000, 36, 0xe6650c7c, S=1, 20
+1, 32500, 32500, 1000, 36, 0xe6650c7c, S=1, 20
0, 35500, 35500, 2500, 73, 0xb13f19c0
1, 35500, 35500, 2500, 73, 0xb13f19c0
0, 50000, 50000, 1134, 43, 0x534b0ee3
This partially reverts c6ae560a18d67b9ddaa25a0338b7fb55e3312e57. Signed-off-by: James Almer <jamrial@gmail.com> --- libavformat/framecrcenc.c | 8 + tests/ref/fate/copy-trac3074 | 2 +- tests/ref/fate/cover-art-mp3-id3v2-remux | 2 +- tests/ref/fate/gapless-mp3 | 6 +- tests/ref/fate/id3v2-priv-remux | 2 +- .../fate/matroska-mastering-display-metadata | 4 +- tests/ref/fate/matroska-spherical-mono-remux | 4 +- tests/ref/fate/matroska-vp8-alpha-remux | 14 +- tests/ref/fate/mov-cover-image | 2 +- tests/ref/fate/mxf-d10-user-comments | 2 +- tests/ref/fate/segment-mp4-to-ts | 250 +++++++++--------- tests/ref/fate/webm-webvtt-remux | 24 +- 12 files changed, 164 insertions(+), 156 deletions(-)