ffmpeg/tests/ref/fate/matroska-h264-remux

66 lines
2.4 KiB
Plaintext
Raw Normal View History

avformat/matroskaenc: Pass dispositions through unchanged by default Up until now, the Matroska muxer did not use the dispositions it is given as-is; instead it by default overrode the disposition of the first track of a kind (audio, video, subtitles) if no track of this kind has the default disposition set. And up until recently, it also enforced by default that no more than one track of each kind be marked as default. The rationale for the former is that there are lots of containers which lack the concept of default streams, so that it is not uncommon for no stream to be marked as default at all; the rationale for the latter was that up until recently, it was dubious whether the Matroska specification allowed more than one default stream for track type (e.g. mkvmerge disallowed it). It was this point which led to the implementation of the above mentioned behaviour inspired by mkvmerge. Yet the Matroska specifications have changed and now explicitly allow to set more than one track of each type as default, so that the main reason of not using the dispositions as-is was rendered moot. Therefore this commit changes the default to pass the disposition through. The matroska-mpegts-remux FATE-test has been updated to still use the old "infer" mode so that it is still covered by FATE; the matroska-zero-length-block test has also been updated to cover the infer_no_subs mode. The references for lots of other FATE tests needed to be updated because of a newly added FlagDefault element with value zero (whereas a FlagDefault with value 1 needn't be coded at all, as it coincided with the default value of said element). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-08-20 06:10:12 +00:00
36fda8942bfed91fed04c5ba63dc8b1a *tests/data/fate/matroska-h264-remux.matroska
2036089 tests/data/fate/matroska-h264-remux.matroska
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 1920x1080
#sar 0: 3/4
#tb 1: 1/25
#media_type 1: video
#codec_id 1: rawvideo
#dimensions 1: 1920x1080
#sar 1: 1/1
0, 45, 45, 1, 3110400, 0xa426f15d
1, 45, 45, 1, 3110400, 0xa426f15d
0, 46, 46, 1, 3110400, 0x7066003b
1, 46, 46, 1, 3110400, 0x7066003b
0, 47, 47, 1, 3110400, 0x7691f2c5
1, 47, 47, 1, 3110400, 0x7691f2c5
0, 48, 48, 1, 3110400, 0x1bc501d2
1, 48, 48, 1, 3110400, 0x1bc501d2
0, 49, 49, 1, 3110400, 0xb616ecf1
1, 49, 49, 1, 3110400, 0xb616ecf1
0, 50, 50, 1, 3110400, 0xa334fb27
1, 50, 50, 1, 3110400, 0xa334fb27
0, 51, 51, 1, 3110400, 0x1097ea90
1, 51, 51, 1, 3110400, 0x1097ea90
0, 52, 52, 1, 3110400, 0xbc25f438
1, 52, 52, 1, 3110400, 0xbc25f438
0, 53, 53, 1, 3110400, 0xcab4f0d9
1, 53, 53, 1, 3110400, 0xcab4f0d9
0, 54, 54, 1, 3110400, 0xa740f58c
1, 54, 54, 1, 3110400, 0xa740f58c
0, 55, 55, 1, 3110400, 0x597de7df
1, 55, 55, 1, 3110400, 0x597de7df
0, 56, 56, 1, 3110400, 0x3b79f58d
1, 56, 56, 1, 3110400, 0x3b79f58d
0, 57, 57, 1, 3110400, 0x3705eb68
1, 57, 57, 1, 3110400, 0x3705eb68
0, 58, 58, 1, 3110400, 0x2292f7de
1, 58, 58, 1, 3110400, 0x2292f7de
0, 59, 59, 1, 3110400, 0x2171e805
1, 59, 59, 1, 3110400, 0x2171e805
0, 60, 60, 1, 3110400, 0x14a9f258
0, 61, 61, 1, 3110400, 0xa545ef91
1, 61, 61, 1, 3110400, 0xa545ef91
[STREAM]
index=0
codec_name=h264
[/STREAM]
[STREAM]
index=1
codec_name=h264
[/STREAM]
[STREAM]
index=2
codec_name=pcm_s32le
TAG:language=swe
TAG:title=swedish_silence
[/STREAM]
[STREAM]
index=3
codec_name=pcm_s32be
TAG:language=nor
TAG:title=norwegian_silence
[/STREAM]