ffmpeg/tests/ref/lavf
Andreas Rheinhardt 750631b098 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-24 04:23:29 +02:00
..
aiff
al
apng
apng.png
asf
ast
au
avi
bmp
caf
dpx
dv
dv_ntsc
dv_pal
flm
flv
gbrap.fits
gbrap16be.fits
gbrp.fits
gbrp10le.dpx
gbrp12le.dpx
gbrp16be.fits
gif
gray.fits
gray.pam
gray.xwd
gray16be.fits
gray16be.pam
gray16be.png
gxf
gxf_ntsc
gxf_pal
ircam
ismv
jpg
mka
mkv
mkv_attachment
mmf
monob.pam
monow.xwd
mov
mov_rtphint
mp4
mpg
mxf
mxf_d10
mxf_dv25
mxf_dvcpro50
mxf_opatom
mxf_opatom_audio
nut
ogg
pam
pbmpipe
pcx
peak.wav
peak_only.wav
pgm
pgmpipe
png
ppm
ppmpipe
rgb4_byte.xwd
rgb8.xwd
rgb48be.pam
rgb48be.png
rgb48le.dpx
rgb48le_10.dpx
rgb555be.xwd
rgb565be.xwd
rgba.pam
rgba.xwd
rgba64le.dpx
rm
rso
s16.voc
sgi
smjpeg Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
sox
sun
swf
tga
tiff
ts
tta
ul
voc
w64
wav
wtv
wv
xbm
xwd
y4m