aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/swresample.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-11 13:25:56 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-11 13:25:56 +0200
commit22057e8ecb6bc18ad60a7d0ac7f11f9c0635c1e5 (patch)
treeececa64878f5e23bc065e43a1444ab659268283c /libswresample/swresample.h
parentf9a2c5bc07fbcc6fa5bb6b53d3abe6ea3c0e3002 (diff)
downloadffmpeg-22057e8ecb6bc18ad60a7d0ac7f11f9c0635c1e5.tar.gz
swr: add swr_get_class()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample.h')
-rw-r--r--libswresample/swresample.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libswresample/swresample.h b/libswresample/swresample.h
index 9bd5b6769d..3a54c8eed9 100644
--- a/libswresample/swresample.h
+++ b/libswresample/swresample.h
@@ -55,6 +55,14 @@ enum SwrDitherType {
typedef struct SwrContext SwrContext;
/**
+ * Get the AVClass for swrContext. It can be used in combination with
+ * AV_OPT_SEARCH_FAKE_OBJ for examining options.
+ *
+ * @see av_opt_find().
+ */
+const AVClass *swr_get_class(void);
+
+/**
* Allocate SwrContext.
*
* If you use this function you will need to set the parameters (manually or