Commit 8114c101 authored by Anton Khirnov's avatar Anton Khirnov

lavfi: add avfilter_get_class().

Useful for examining options, the same as the corresponding functions
for the other libs.
parent 4d1f31ea
......@@ -693,3 +693,8 @@ int ff_filter_frame(AVFilterLink *link, AVFrame *frame)
return filter_frame(link, out);
}
const AVClass *avfilter_get_class(void)
{
return &avfilter_class;
}
......@@ -690,4 +690,11 @@ attribute_deprecated
int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src);
#endif
/**
* @return AVClass for AVFilterContext.
*
* @see av_opt_find().
*/
const AVClass *avfilter_get_class(void);
#endif /* AVFILTER_AVFILTER_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment