mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/365/head
parent
beb60abab5
commit
750631b098
15 changed files with 46 additions and 46 deletions
@ -1 +1 @@ |
||||
5706cf33f9ded660eb404275ec136127 |
||||
490b1b4beb4a614c06004609039ce779 |
||||
|
@ -1,3 +1,3 @@ |
||||
77138a0e07ebd1c6ff2f69305e2f5c79 *tests/data/lavf-fate/lavf.av1.mkv |
||||
55653 tests/data/lavf-fate/lavf.av1.mkv |
||||
61e66b67c0c38532f6c6edc8c9d32e48 *tests/data/lavf-fate/lavf.av1.mkv |
||||
55656 tests/data/lavf-fate/lavf.av1.mkv |
||||
tests/data/lavf-fate/lavf.av1.mkv CRC=0x7c27cc15 |
||||
|
@ -1,3 +1,3 @@ |
||||
ea812a6619f4f0d266bec82fcfa54e78 *tests/data/lavf/lavf.mka |
||||
43580 tests/data/lavf/lavf.mka |
||||
52d2c70afe0f9ac510819f723b5ceb3b *tests/data/lavf/lavf.mka |
||||
43583 tests/data/lavf/lavf.mka |
||||
tests/data/lavf/lavf.mka CRC=0x3a1da17e |
||||
|
@ -1,3 +1,3 @@ |
||||
c984a76e996f43943d2fe9eb5f2495e4 *tests/data/lavf/lavf.mkv |
||||
320432 tests/data/lavf/lavf.mkv |
||||
c1af29ab33c9477049672b62da221552 *tests/data/lavf/lavf.mkv |
||||
320438 tests/data/lavf/lavf.mkv |
||||
tests/data/lavf/lavf.mkv CRC=0xec6c3c68 |
||||
|
@ -1,3 +1,3 @@ |
||||
8182124c770de9579e6d0d6759d01655 *tests/data/lavf/lavf.mkv_attachment |
||||
472587 tests/data/lavf/lavf.mkv_attachment |
||||
a669ae1a502ff0c487eee99753e7bef0 *tests/data/lavf/lavf.mkv_attachment |
||||
472593 tests/data/lavf/lavf.mkv_attachment |
||||
tests/data/lavf/lavf.mkv_attachment CRC=0xec6c3c68 |
||||
|
@ -1,48 +1,48 @@ |
||||
ret: 0 st: 1 flags:1 dts: 0.000000 pts: 0.000000 pos: 680 size: 208 |
||||
ret: 0 st: 1 flags:1 dts: 0.000000 pts: 0.000000 pos: 686 size: 208 |
||||
ret: 0 st:-1 flags:0 ts:-1.000000 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 896 size: 27837 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 902 size: 27837 |
||||
ret: 0 st:-1 flags:1 ts: 1.894167 |
||||
ret: 0 st: 0 flags:1 dts: 0.971000 pts: 0.971000 pos: 292312 size: 27834 |
||||
ret: 0 st: 0 flags:1 dts: 0.971000 pts: 0.971000 pos: 292318 size: 27834 |
||||
ret: 0 st: 0 flags:0 ts: 0.788000 |
||||
ret: 0 st: 0 flags:1 dts: 0.971000 pts: 0.971000 pos: 292312 size: 27834 |
||||
ret: 0 st: 0 flags:1 dts: 0.971000 pts: 0.971000 pos: 292318 size: 27834 |
||||
ret: 0 st: 0 flags:1 ts:-0.317000 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 896 size: 27837 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 902 size: 27837 |
||||
ret:-1 st: 1 flags:0 ts: 2.577000 |
||||
ret: 0 st: 1 flags:1 ts: 1.471000 |
||||
ret: 0 st: 1 flags:1 dts: 0.993000 pts: 0.993000 pos: 320153 size: 209 |
||||
ret: 0 st: 1 flags:1 dts: 0.993000 pts: 0.993000 pos: 320159 size: 209 |
||||
ret: 0 st:-1 flags:0 ts: 0.365002 |
||||
ret: 0 st: 0 flags:1 dts: 0.491000 pts: 0.491000 pos: 146864 size: 27925 |
||||
ret: 0 st: 0 flags:1 dts: 0.491000 pts: 0.491000 pos: 146870 size: 27925 |
||||
ret: 0 st:-1 flags:1 ts:-0.740831 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 896 size: 27837 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 902 size: 27837 |
||||
ret:-1 st: 0 flags:0 ts: 2.153000 |
||||
ret: 0 st: 0 flags:1 ts: 1.048000 |
||||
ret: 0 st: 0 flags:1 dts: 0.971000 pts: 0.971000 pos: 292312 size: 27834 |
||||
ret: 0 st: 0 flags:1 dts: 0.971000 pts: 0.971000 pos: 292318 size: 27834 |
||||
ret: 0 st: 1 flags:0 ts:-0.058000 |
||||
ret: 0 st: 1 flags:1 dts: 0.000000 pts: 0.000000 pos: 680 size: 208 |
||||
ret: 0 st: 1 flags:1 dts: 0.000000 pts: 0.000000 pos: 686 size: 208 |
||||
ret: 0 st: 1 flags:1 ts: 2.836000 |
||||
ret: 0 st: 1 flags:1 dts: 0.993000 pts: 0.993000 pos: 320153 size: 209 |
||||
ret: 0 st: 1 flags:1 dts: 0.993000 pts: 0.993000 pos: 320159 size: 209 |
||||
ret:-1 st:-1 flags:0 ts: 1.730004 |
||||
ret: 0 st:-1 flags:1 ts: 0.624171 |
||||
ret: 0 st: 0 flags:1 dts: 0.491000 pts: 0.491000 pos: 146864 size: 27925 |
||||
ret: 0 st: 0 flags:1 dts: 0.491000 pts: 0.491000 pos: 146870 size: 27925 |
||||
ret: 0 st: 0 flags:0 ts:-0.482000 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 896 size: 27837 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 902 size: 27837 |
||||
ret: 0 st: 0 flags:1 ts: 2.413000 |
||||
ret: 0 st: 0 flags:1 dts: 0.971000 pts: 0.971000 pos: 292312 size: 27834 |
||||
ret: 0 st: 0 flags:1 dts: 0.971000 pts: 0.971000 pos: 292318 size: 27834 |
||||
ret:-1 st: 1 flags:0 ts: 1.307000 |
||||
ret: 0 st: 1 flags:1 ts: 0.201000 |
||||
ret: 0 st: 1 flags:1 dts: 0.000000 pts: 0.000000 pos: 680 size: 208 |
||||
ret: 0 st: 1 flags:1 dts: 0.000000 pts: 0.000000 pos: 686 size: 208 |
||||
ret: 0 st:-1 flags:0 ts:-0.904994 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 896 size: 27837 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 902 size: 27837 |
||||
ret: 0 st:-1 flags:1 ts: 1.989173 |
||||
ret: 0 st: 0 flags:1 dts: 0.971000 pts: 0.971000 pos: 292312 size: 27834 |
||||
ret: 0 st: 0 flags:1 dts: 0.971000 pts: 0.971000 pos: 292318 size: 27834 |
||||
ret: 0 st: 0 flags:0 ts: 0.883000 |
||||
ret: 0 st: 0 flags:1 dts: 0.971000 pts: 0.971000 pos: 292312 size: 27834 |
||||
ret: 0 st: 0 flags:1 dts: 0.971000 pts: 0.971000 pos: 292318 size: 27834 |
||||
ret: 0 st: 0 flags:1 ts:-0.222000 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 896 size: 27837 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 902 size: 27837 |
||||
ret:-1 st: 1 flags:0 ts: 2.672000 |
||||
ret: 0 st: 1 flags:1 ts: 1.566000 |
||||
ret: 0 st: 1 flags:1 dts: 0.993000 pts: 0.993000 pos: 320153 size: 209 |
||||
ret: 0 st: 1 flags:1 dts: 0.993000 pts: 0.993000 pos: 320159 size: 209 |
||||
ret: 0 st:-1 flags:0 ts: 0.460008 |
||||
ret: 0 st: 0 flags:1 dts: 0.491000 pts: 0.491000 pos: 146864 size: 27925 |
||||
ret: 0 st: 0 flags:1 dts: 0.491000 pts: 0.491000 pos: 146870 size: 27925 |
||||
ret: 0 st:-1 flags:1 ts:-0.645825 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 896 size: 27837 |
||||
ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 902 size: 27837 |
||||
|
Loading…
Reference in new issue