History

lavu/frame: add a duration field to AVFrame

The only duration field currently present in AVFrame is pkt_duration, which is semantically restricted to those frames that are output by decoders. Add a new field that stores the frame's duration without regard for how that frame was produced. Deprecate pkt_duration.

Anton Khirnov committed 4 years ago

Commit 4397f9a1 parent 0a6bb7d4 files · +25 −1Browse files

Showing the changes to doc/APIchanges (1 of 4 files). Show all

Unified · Split

doc/APIchanges+3−0
@@ -14,6 +14,9 @@ libavutil: 2021-04-27 · 13 unmodified lines
1414
1515 API changes, most recent first:
1616
17+2022-07-xx - xxxxxxxxxx - lavu 57.30.100 - frame.h
18+ Add AVFrame.duration, deprecate AVFrame.pkt_duration.
19+
1720 -------- 8< --------- FFmpeg 5.1 was cut here -------- 8< ---------
1821
1922 2022-06-12 - 7cae3d8b76 - lavf 59.25.100 - avio.h

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t