summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2020-09-11 00:25:21 +0300
committerJan Ekström <jeebjp@gmail.com>2020-10-29 16:59:49 +0200
commit67be1ce0c6de330b1c10d1d121819d8a74a7b1f5 (patch)
treecaeabe621f441375705d304bc9ce1c5c1b0b8922 /tests
parent3360c9a5679cc9bd83ab5860757ebab8f64ea8ba (diff)
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 'tests')
0 files changed, 0 insertions, 0 deletions