diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-12-31 16:40:43 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-05-14 21:36:11 +0200 |
commit | 720c6b78d1e8323d2df070e3da2f0ed305156c65 (patch) | |
tree | cfe68ed76432b10cee8466ccd38942dbcdbd3701 /libavfilter/version.h | |
parent | 8b05e13df3b25e186adaf19cf84f5fa93d829214 (diff) | |
download | ffmpeg-720c6b78d1e8323d2df070e3da2f0ed305156c65.tar.gz |
buffersrc: add av_buffersrc_write_frame().
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().
Diffstat (limited to 'libavfilter/version.h')
-rw-r--r-- | libavfilter/version.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/version.h b/libavfilter/version.h index 71928f3f3b..967d40d919 100644 --- a/libavfilter/version.h +++ b/libavfilter/version.h @@ -50,5 +50,8 @@ #ifndef FF_API_SAMPLERATE64 #define FF_API_SAMPLERATE64 (LIBAVFILTER_VERSION_MAJOR < 3) #endif +#ifndef FF_API_VSRC_BUFFER_ADD_FRAME +#define FF_API_VSRC_BUFFER_ADD_FRAME (LIBAVFILTER_VERSION_MAJOR < 3) +#endif #endif // AVFILTER_VERSION_H |