1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
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 Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
al tests: Convert audio-only lavf tests to non-legacy test scripts 2019-02-16 18:15:22 +01:00
apng Merge commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b' 2019-03-14 14:59:45 -03:00
apng.png Merge commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b' 2019-03-14 14:59:45 -03:00
asf Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
ast Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
au Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
avi Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
bmp Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
caf Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
dpx Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
dv Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
dv_ntsc Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
dv_pal Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
flm Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
flv Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
gbrap16be.fits avformat/fitsenc: write DATAMIN/DATAMAX to encoded output 2021-02-10 00:03:38 +01:00
gbrap.fits avformat/fitsenc: write DATAMIN/DATAMAX to encoded output 2021-02-10 00:03:38 +01:00
gbrp10le.dpx Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
gbrp12le.dpx Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
gbrp16be.fits avformat/fitsenc: write DATAMIN/DATAMAX to encoded output 2021-02-10 00:03:38 +01:00
gbrp.fits avformat/fitsenc: write DATAMIN/DATAMAX to encoded output 2021-02-10 00:03:38 +01:00
gif Merge commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b' 2019-03-14 14:59:45 -03:00
gray16be.fits avformat/fitsenc: write DATAMIN/DATAMAX to encoded output 2021-02-10 00:03:38 +01:00
gray16be.pam fate/lavf-image: fix passed arguments for some high bit depth tests 2019-03-14 17:15:28 -03:00
gray16be.png Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
gray.fits avformat/fitsenc: write DATAMIN/DATAMAX to encoded output 2021-02-10 00:03:38 +01:00
gray.pam Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
gray.xwd Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
gxf Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
gxf_ntsc Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
gxf_pal Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
ircam Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
ismv avformat/movenc: use more fall-back values for average bit rate fields 2020-09-22 18:25:44 +03:00
jpg Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
mka avformat/matroskaenc: Pass dispositions through unchanged by default 2021-08-24 04:23:29 +02:00
mkv avformat/matroskaenc: Pass dispositions through unchanged by default 2021-08-24 04:23:29 +02:00
mkv_attachment avformat/matroskaenc: Pass dispositions through unchanged by default 2021-08-24 04:23:29 +02:00
mmf Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
monob.pam Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
monow.xwd Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
mov avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
mov_rtphint avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
mp4 avformat/movenc: implement writing of the btrt box 2020-09-22 18:21:31 +03:00
mpg Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
mxf avformat/mxf: add platform local tag 2021-02-05 09:27:06 +08:00
mxf_d10 avformat/mxf: add platform local tag 2021-02-05 09:27:06 +08:00
mxf_dv25 avformat/mxf: add platform local tag 2021-02-05 09:27:06 +08:00
mxf_dvcpro50 avformat/mxf: add platform local tag 2021-02-05 09:27:06 +08:00
mxf_opatom avformat/mxf: add platform local tag 2021-02-05 09:27:06 +08:00
mxf_opatom_audio avformat/mxf: add platform local tag 2021-02-05 09:27:06 +08:00
nut Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
ogg Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
pam Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
pbmpipe Merge commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363' 2019-03-14 14:15:46 -03:00
pcx Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
peak_only.wav Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
peak.wav Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
pgm Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
pgmpipe Merge commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363' 2019-03-14 14:15:46 -03:00
png Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
ppm Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
ppmpipe tests: Convert image2pipe tests to non-legacy test scripts 2019-02-16 18:15:11 +01:00
rgb4_byte.xwd Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
rgb8.xwd Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
rgb48be.pam fate/lavf-image: fix passed arguments for some high bit depth tests 2019-03-14 17:15:28 -03:00
rgb48be.png Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
rgb48le_10.dpx fate/lavf-image: fix passed arguments for some high bit depth tests 2019-03-14 17:15:28 -03:00
rgb48le.dpx Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
rgb555be.xwd Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
rgb565be.xwd Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
rgba64le.dpx Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
rgba.pam Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
rgba.xwd Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
rm ac3enc_fixed: convert to 32-bit sample format 2021-01-14 01:44:12 +01:00
rso tests: Convert audio-only lavf tests to non-legacy test scripts 2019-02-16 18:15:22 +01:00
s16.voc Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
sgi Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
smjpeg Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
sox tests: Convert audio-only lavf tests to non-legacy test scripts 2019-02-16 18:15:22 +01:00
sun Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
swf Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
tga Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
tiff Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
ts avformat/mpegtsenc: get rid of packet counting for sdt/pat/pmt 2019-08-23 22:49:01 +02:00
tta Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
ul tests: Convert audio-only lavf tests to non-legacy test scripts 2019-02-16 18:15:22 +01:00
voc Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
w64 Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
wav Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
wtv Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c' 2019-03-14 14:36:24 -03:00
wv Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c' 2019-03-14 14:19:03 -03:00
xbm avcodec/xbmenc: Do not add last comma into output 2021-01-28 15:50:09 +01:00
xwd Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40' 2019-03-14 14:30:08 -03:00
y4m tests: Add a convenience function for video-only lavf tests 2019-02-16 18:15:55 +01:00