History

avcodec, avutil: allow more control about how samples are skipped

Add CODEC_FLAG2_SKIP_MANUAL (exposed as "skip_manual"), which makes the decoder export sample skip information via side data, instead of applying it automatically. The format of the side data is the same as AV_PKT_DATA_SKIP_SAMPLES, but since AVPacket and AVFrame side data constants overlap, AV_FRAME_DATA_SKIP_SAMPLES needs to be introduced. This is useful for applications which want to do the timestamp calculations manually, or which actually want to retrieve the padding.

wm4 committed 12 years ago

Commit cdd6f051 parent a9b10e17 files · +43 −5Browse files

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

Unified · Split

doc/APIchanges+7−0
@@ -15,6 +15,13 @@ libavutil: 2014-08-09 · 14 unmodified lines
15 15
16API changes, most recent first:16API changes, most recent first:
17 17
182014-10-02 - xxxxxxx - lavc 56.2.100 - avcodec.h
192014-10-02 - xxxxxxx - lavu 54.9.100 - frame.h
20 Add AV_FRAME_DATA_SKIP_SAMPLES. Add lavc CODEC_FLAG2_SKIP_MANUAL and
21 AVOption "skip_manual", which makes lavc export skip information via
22 AV_FRAME_DATA_SKIP_SAMPLES AVFrame side data, instead of skipping and
23 discarding samples automatically.
24
182014-10-02 - xxxxxxx - lavu 54.8.100 - avstring.h252014-10-02 - xxxxxxx - lavu 54.8.100 - avstring.h
19 Add av_match_list()26 Add av_match_list()
20 27

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