The new flags parameter allows to specify if the video ref to add should overwrite the cache, if the flag is not set vsrc_buffer will complain and abort; otherwise it will clean the already cached video ref before to overwrite it, thus avoiding a leak.
Showing the changes to doc/APIchanges (1 of 6 files). Show all
Unified · Split
| @@ -13,6 +13,10 @@ libavutil: 2011-04-18 · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | API changes, most recent first: |
| 15 | 15 | |
| 16 | +2011-06-06 - xxxxxx - lavfi 2.13.0 - vsrc_buffer.h | |
| 17 | + Make av_vsrc_buffer_add_video_buffer_ref() accepts an additional | |
| 18 | + flags parameter in input. | |
| 19 | + | |
| 16 | 20 | 2011-06-03 - xxxxxx - lavfi 2.12.0 - avfilter_link_free() |
| 17 | 21 | Add avfilter_link_free() function. |
| 18 | 22 | |