[FFmpeg-cvslog] lavfi/vf_scale_qsv: fix the class_name in help for scale_qsv

Linjie Fu git at videolan.org
Tue Feb 18 04:32:15 EET 2020


ffmpeg | branch: master | Linjie Fu <linjie.fu at intel.com> | Tue Jan 21 16:50:14 2020 +0800| [edf2c7be5c60bc1ab4141b26dd948c4a3adf8423] | committer: Zhong Li

lavfi/vf_scale_qsv: fix the class_name in help for scale_qsv

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 at intel.com>
Signed-off-by: Zhong Li <zhongli_dev at 126.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=edf2c7be5c60bc1ab4141b26dd948c4a3adf8423
---

 libavfilter/vf_scale_qsv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c
index 1cf5367969..d1fa9424d2 100644
--- a/libavfilter/vf_scale_qsv.c
+++ b/libavfilter/vf_scale_qsv.c
@@ -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,



More information about the ffmpeg-cvslog mailing list