diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-11-12 17:22:57 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-11-16 10:51:32 +0100 |
commit | bd55552d692254b53504357c6987eea976cff4f9 (patch) | |
tree | 5f32cb67ed83d8f37606d21339d727b1fcfa833e /tests/ref/fate/utvideo_rgb_int_gradient | |
parent | d4ae2a20e8783a3658d47bae952ae681c6465a39 (diff) | |
download | ffmpeg-bd55552d692254b53504357c6987eea976cff4f9.tar.gz |
ffmpeg: rewrite setting the stream disposition
Currently, the code doing this is spread over several places and may
behave in unexpected ways. E.g. automatic 'default' marking is only done
for streams fed by complex filtergraphs. It is also applied in the order
in which the output streams are initialized, which is effectively
random.
Move processing the dispositions at the end of open_output_file(), when
we already have all the necessary information.
Apply the automatic default marking only if no explicit -disposition
options were supplied by the user, and apply it to the first stream of
each type (excluding attached pics) when there is more than one stream
of that type and no default markings were copied from the input streams.
Explicitly document the new behavior.
Changes the results of some tests, where the output file gets a default
disposition, while it previously did not.
Diffstat (limited to 'tests/ref/fate/utvideo_rgb_int_gradient')
0 files changed, 0 insertions, 0 deletions