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>
This commit is contained in:
Jun Zhao 2018-03-26 08:22:07 +08:00 committed by Mark Thompson
parent 29c663d50c
commit ac6e27d74f

View File

@ -451,6 +451,7 @@ static const AVClass kmsgrab_class = {
.item_name = av_default_item_name, .item_name = av_default_item_name,
.option = options, .option = options,
.version = LIBAVUTIL_VERSION_INT, .version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT,
}; };
AVInputFormat ff_kmsgrab_demuxer = { AVInputFormat ff_kmsgrab_demuxer = {