lavc/encode: pass through frame durations to encoded packets

The generic code can only handle the no-delay case. Encoders with delay
need to be handled individually, which will be done in the following
commits.
This commit is contained in:
Anton Khirnov
2022-07-12 11:25:09 +02:00
parent 8d73f3ce56
commit a1a80f2e64
4 changed files with 22 additions and 4 deletions

View File

@@ -14,8 +14,8 @@ libavutil: 2021-04-27
API changes, most recent first:
2023-01-xx - xxxxxxxxxx - lavc 59.59.100 - avcodec.h
Add AV_CODEC_FLAG_COPY_OPAQUE.
2023-01-29 - xxxxxxxxxx - lavc 59.59.100 - avcodec.h
Add AV_CODEC_FLAG_COPY_OPAQUE and AV_CODEC_FLAG_FRAME_DURATION.
2023-01-13 - xxxxxxxxxx - lavu 57.44.100 - ambient_viewing_environment.h frame.h
Adds a new structure for holding H.274 Ambient Viewing Environment metadata,