diff options
author | Stephen Hutchinson <qyot27@gmail.com> | 2015-03-12 22:52:30 -0400 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-03-24 10:31:04 +0100 |
commit | 1188119624e42c1b2ce5be6137d2e6c6f4f03328 (patch) | |
tree | 9eb21369d5c90497eb658081e6366637789b5d73 | |
parent | a8c99205ca8703bd849efae13fcf844315c7147d (diff) | |
download | ffmpeg-1188119624e42c1b2ce5be6137d2e6c6f4f03328.tar.gz |
avisynth: update documentation about the avisynth_c.h header
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r-- | doc/general.texi | 25 | ||||
-rw-r--r-- | libavformat/avisynth.c | 11 |
2 files changed, 16 insertions, 20 deletions
diff --git a/doc/general.texi b/doc/general.texi index 3ea8e60f95..3fa4377474 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -145,20 +145,25 @@ enable it. @section AviSynth Libav can read AviSynth scripts as input. To enable support you need a -suitable @file{avisynth_c.h} header to compile against. The header in -classic AviSynth's CVS repository is not compatible as it has not been -updated to support AviSynth 2.6. AviSynth 2.5 is not supported by Libav. -Once you have the appropriate header, pass @code{--enable-avisynth} to -configure to enable AviSynth support. +suitable @file{avisynth_c.h} header to compile against. The header as +provided by AviSynth+ is fully compatible. AviSynth 2.5 is not supported +by Libav. Once you have the appropriate header, pass +@code{--enable-avisynth} to configure to enable AviSynth support. For Windows, supported AviSynth variants are @url{http://avisynth.nl, AviSynth 2.6} for 32-bit builds and @url{http://avs-plus.net, AviSynth+ 0.1} for 32-bit and 64-bit builds. -The necessary @file{avisynth_c.h} header is the variant in the @file{extras/} -directory of the @url{https://www.videolan.org/developers/x264.html, x264} -source tree. For convenience, this header is also available from a -@url{https://github.com/qyot27/avisynth_headers, temporary repository} -along with an installation routine. +@url{https://github.com/AviSynth/AviSynthPlus, AviSynth+'s git repository} +provides a GNU-style Makefile which can install just the headers using +@code{make install PREFIX=/install/prefix}. + +@float NOTE +When using AviSynth+'s installed headers, the user must also pass +the avisynth/ include directory to @code{--extra-cflags}. For example, +if the PREFIX given to AviSynth+'s Makefile was /usr/i686-w64-mingw32, +then the correct command would be +@code{--extra-cflags="-I/usr/i686-w64-mingw32/include/avisynth"}. +@end float For Linux and OS X, the supported AviSynth variant is @url{https://github.com/avxsynth/avxsynth, AvxSynth}. diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c index 604afdda89..fb7441c6c7 100644 --- a/libavformat/avisynth.c +++ b/libavformat/avisynth.c @@ -27,16 +27,7 @@ /* Enable function pointer definitions for runtime loading. */ #define AVSC_NO_DECLSPEC -/* Platform-specific directives for AviSynth vs AvxSynth. - * - * avisynth_c.h needs to be the one provided with x264, as - * the one in AviSynth's CVS hasn't been updated to support - * 2.6's extra colorspaces. A temporary source of that header, - * installable from a GNU-style Makefile is available from - * github.com/qyot27/avisynth_headers -- AvxSynth doesn't - * require this kind of special treatment because like any - * standard *nix application, it installs its headers - * alongside its libs. */ +/* Platform-specific directives for AviSynth vs AvxSynth. */ #ifdef _WIN32 #include <windows.h> #undef EXTERN_C |