lavfi: add avfilter_get_class().
Useful for examining options, the same as the corresponding functions for the other libs.
This commit is contained in:
parent
4d1f31ea44
commit
8114c10160
libavfilter
@ -693,3 +693,8 @@ int ff_filter_frame(AVFilterLink *link, AVFrame *frame)
|
|||||||
|
|
||||||
return filter_frame(link, out);
|
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);
|
int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return AVClass for AVFilterContext.
|
||||||
|
*
|
||||||
|
* @see av_opt_find().
|
||||||
|
*/
|
||||||
|
const AVClass *avfilter_get_class(void);
|
||||||
|
|
||||||
#endif /* AVFILTER_AVFILTER_H */
|
#endif /* AVFILTER_AVFILTER_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user