From ac6e27d74f6a413d400c228b0eb2d3af32c1ea76 Mon Sep 17 00:00:00 2001 From: Jun Zhao <mypopydev@gmail.com> Date: Mon, 26 Mar 2018 08:22:07 +0800 Subject: kmsgrab: add category for kmsgrab Makes kmsgrab visible in "ffmpeg -devices". Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net> --- libavdevice/kmsgrab.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavdevice') diff --git a/libavdevice/kmsgrab.c b/libavdevice/kmsgrab.c index 6a6de09c37..d0de774871 100644 --- a/libavdevice/kmsgrab.c +++ b/libavdevice/kmsgrab.c @@ -451,6 +451,7 @@ static const AVClass kmsgrab_class = { .item_name = av_default_item_name, .option = options, .version = LIBAVUTIL_VERSION_INT, + .category = AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT, }; AVInputFormat ff_kmsgrab_demuxer = { -- cgit v1.2.3