summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-25 21:13:54 +0200
committerwm4 <wm4@nowhere>2015-05-25 21:13:54 +0200
commit3fc3357d549e7bc633f6a196c0cb9e8aa5cbf87a (patch)
tree126001101cdcda3bd0012484fc1ff05b2cc581fd
parent34875413fadda9a5cd11357e87820d9334a4619e (diff)
downloadmpv-3fc3357d549e7bc633f6a196c0cb9e8aa5cbf87a.tar.bz2
mpv-3fc3357d549e7bc633f6a196c0cb9e8aa5cbf87a.tar.xz
vf_dlopen: declare as deprecated
Mostly to see whether someone uses it, and if a better solution can be worked out. (It's simple enough to be supported forever.)
-rw-r--r--DOCS/man/vf.rst2
-rw-r--r--video/filter/vf_dlopen.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/man/vf.rst b/DOCS/man/vf.rst
index 93618d60c8..788c36b349 100644
--- a/DOCS/man/vf.rst
+++ b/DOCS/man/vf.rst
@@ -669,6 +669,8 @@ Available filters are:
Loads an external library to filter the image. The library interface
is the ``vf_dlopen`` interface specified using ``libmpcodecs/vf_dlopen.h``.
+ .. warning:: This filter is deprecated.
+
``dll=<library>``
Specify the library to load. This may require a full file system path
in some cases. This argument is required.
diff --git a/video/filter/vf_dlopen.h b/video/filter/vf_dlopen.h
index e225cd3457..0c8a4d9f0b 100644
--- a/video/filter/vf_dlopen.h
+++ b/video/filter/vf_dlopen.h
@@ -1,3 +1,7 @@
+/*
+ * Warning: this filter is deprecated.
+ */
+
#ifndef VF_DLOPEN_H
#define VF_DLOPEN_H