lavfi: add avfilter_get_class().

Useful for examining options, the same as the corresponding functions
for the other libs.
This commit is contained in:
Anton Khirnov 2013-03-13 09:09:36 +01:00
parent 4d1f31ea44
commit 8114c10160
2 changed files with 12 additions and 0 deletions

View File

@ -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;
}

View File

@ -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 */