diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-07-06 21:31:49 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-07-15 11:02:11 +0200 |
commit | 0a6751a78ab8a894eceaade6bf7578af6c0cd38b (patch) | |
tree | 222a664705ff6a61c5d94d0c8fdf2bed4a2c8e00 /doc/utils.texi | |
parent | 20c42213eaf0a9cfd446f5c3ab5afcfe9ec01f26 (diff) | |
download | ffmpeg-0a6751a78ab8a894eceaade6bf7578af6c0cd38b.tar.gz |
fftools/ffmpeg: rework initializing encoders with no frames
When no frames were passed from a filtergraph to an encoder, but the
filtergraph is configured (i.e. has output parameters), encoder flush
code will use those parameters to initialize the encoder in a last-ditch
effort to produce some useful output.
Rework this process so that it is triggered by the filtergraph, which
now sends a dummy frame with parameters, but no data, to the encoder,
rather than the encoder reaching backwards into the filter.
This approach is more in line with the natural data flow from filters to
encoders and will allow to reduce encoder-filter interactions in
following commits.
This code is tested by fate-adpcm-ima-cunning-trunc-t2-track1, which (as
confirmed by Zane) is supposed to produce empty output.
Diffstat (limited to 'doc/utils.texi')
0 files changed, 0 insertions, 0 deletions