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.
Showing the changes to doc/APIchanges (1 of 7 files). Show all
Unified · Split
| @@ -15,6 +15,13 @@ libavutil: 2014-08-09 · 14 unmodified lines | ||
| 15 | 15 | |
| 16 | 16 | API changes, most recent first: |
| 17 | 17 | |
| 18 | +2014-10-02 - xxxxxxx - lavc 56.2.100 - avcodec.h | |
| 19 | +2014-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 | + | |
| 18 | 25 | 2014-10-02 - xxxxxxx - lavu 54.8.100 - avstring.h |
| 19 | 26 | Add av_match_list() |
| 20 | 27 | |