It's the same as av_vsrc_buffer_add_frame(), except it doesn't take pts or pixel_aspect parameters. Those are read from AVFrame. Deprecate av_vsrc_buffer_add_frame().
Showing the changes to libavfilter/vsrc_buffer.h (1 of 5 files). Show all
Unified · Split
| @@ -29,7 +29,9 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavcodec/avcodec.h" /* AVFrame */ |
| 30 | 30 | #include "avfilter.h" |
| 31 | 31 | |
| 32 | +#if FF_API_VSRC_BUFFER_ADD_FRAME | |
| 32 | 33 | int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame, |
| 33 | 34 | int64_t pts, AVRational pixel_aspect); |
| 35 | +#endif | |
| 34 | 36 | |
| 35 | 37 | #endif /* AVFILTER_VSRC_BUFFER_H */ |