diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-18 16:21:47 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-09-06 18:47:04 +0200 |
commit | c4415f6ec980d1a5f3ddda79395258150747e97f (patch) | |
tree | d46d96fc5ec9633224cdd2bf9100ad6ad131e7fb /libavfilter/avfilter.h | |
parent | be7eed72c89368de70dbf8749eca1dac7443e51a (diff) | |
download | ffmpeg-c4415f6ec980d1a5f3ddda79395258150747e97f.tar.gz |
lavfi: unify asink_buffer and vsink_buffer API
The new API is more generic (no distinction between audio/video for
pulling frames), and avoids code duplication.
A backward compatibility layer is kept for avoiding tools ABI breaks
(only for the video binary interface, audio interface was never used
in the tools).
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 50b5d1cba2..55cc57090e 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -29,7 +29,7 @@ #include "libavutil/rational.h" #define LIBAVFILTER_VERSION_MAJOR 2 -#define LIBAVFILTER_VERSION_MINOR 37 +#define LIBAVFILTER_VERSION_MINOR 38 #define LIBAVFILTER_VERSION_MICRO 0 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ @@ -40,6 +40,10 @@ LIBAVFILTER_VERSION_MICRO) #define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT +#ifndef FF_API_OLD_VSINK_API +#define FF_API_OLD_VSINK_API (LIBAVUTIL_VERSION_MAJOR < 3) +#endif + #include <stddef.h> /** |