diff options
author | Jan Ekström <jeebjp@gmail.com> | 2020-09-11 00:25:21 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2020-10-29 16:59:49 +0200 |
commit | 67be1ce0c6de330b1c10d1d121819d8a74a7b1f5 (patch) | |
tree | caeabe621f441375705d304bc9ce1c5c1b0b8922 /libavutil/tests | |
parent | 3360c9a5679cc9bd83ab5860757ebab8f64ea8ba (diff) | |
download | ffmpeg-67be1ce0c6de330b1c10d1d121819d8a74a7b1f5.tar.gz |
ffmpeg: move A/V non-streamcopy initialization to a later point
- For video, this means a single initialization point in do_video_out.
- For audio we unfortunately need to do it in two places just
before the buffer sink is utilized (if av_buffersink_get_samples
would still work according to its specification after a call to
avfilter_graph_request_oldest was made, we could at least remove
the one in transcode_step).
Other adjustments to make things work:
- As the AVFrame PTS adjustment to encoder time base needs the encoder
to be initialized, so it is now moved to do_{video,audio}_out,
right after the encoder has been initialized. Due to this,
the additional parameter in do_video_out is removed as it is no
longer necessary.
Diffstat (limited to 'libavutil/tests')
0 files changed, 0 insertions, 0 deletions