summaryrefslogtreecommitdiff
path: root/libavfilter/vf_drawtext.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_drawtext.c')
-rw-r--r--libavfilter/vf_drawtext.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index 1754b2a48c..484916f952 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -208,9 +208,11 @@ static const AVOption drawtext_options[]= {
};
static const AVClass drawtext_class = {
- "DrawTextContext",
- av_default_item_name,
- drawtext_options
+ .class_name = "drawtext",
+ .item_name = av_default_item_name,
+ .option = drawtext_options,
+ .version = LIBAVUTIL_VERSION_INT,
+ .category = AV_CLASS_CATEGORY_FILTER,
};
#undef __FTERRORS_H__