]> git.sesse.net Git - ffmpeg/commitdiff
lavfi/vf_scale_qsv: fix the class_name in help for scale_qsv
authorLinjie Fu <linjie.fu@intel.com>
Tue, 21 Jan 2020 08:50:14 +0000 (16:50 +0800)
committerZhong Li <zhongli_dev@126.com>
Tue, 18 Feb 2020 02:27:02 +0000 (10:27 +0800)
Class name is used in show_help_children(avfilter_get_class(),...)
to prompt the available filters.

$ ffmpeg -h full

Before:
qsvscale AVOptions:

After:
scale_qsv AVOptions:

Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: Zhong Li <zhongli_dev@126.com>
libavfilter/vf_scale_qsv.c

index 1cf53679699f12a2e10090d5e714590ea8ddfee8..d1fa9424d2f177a8b6adbe14585f6bccd18f4414 100644 (file)
@@ -629,7 +629,7 @@ static const AVOption options[] = {
 };
 
 static const AVClass qsvscale_class = {
-    .class_name = "qsvscale",
+    .class_name = "scale_qsv",
     .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,