summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2014-09-27 16:47:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-02 20:21:00 +0200
commitcdd6f059a65f28ff7a18ccf1194e9554adad1a1b (patch)
treef85077e1a32a10003a595e46d403e75e4797bd9e /doc
parenta9b10e1510ddfcae5119e616e0cc60350c99467c (diff)
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. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-rw-r--r--doc/APIchanges7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index e3ae4e87e1..7757227d8b 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,13 @@ libavutil: 2014-08-09
API changes, most recent first:
+2014-10-02 - xxxxxxx - lavc 56.2.100 - avcodec.h
+2014-10-02 - xxxxxxx - lavu 54.9.100 - frame.h
+ Add AV_FRAME_DATA_SKIP_SAMPLES. Add lavc CODEC_FLAG2_SKIP_MANUAL and
+ AVOption "skip_manual", which makes lavc export skip information via
+ AV_FRAME_DATA_SKIP_SAMPLES AVFrame side data, instead of skipping and
+ discarding samples automatically.
+
2014-10-02 - xxxxxxx - lavu 54.8.100 - avstring.h
Add av_match_list()