diff options
author | Jun Zhao | 2018-03-26 08:22:07 +0800 |
---|---|---|
committer | Mark Thompson | 2018-03-26 22:39:12 +0100 |
commit | ac6e27d74f6a413d400c228b0eb2d3af32c1ea76 (patch) | |
tree | 28898d619b21d8de14255a8cc552c398ec0b79af /libavdevice/kmsgrab.c | |
parent | 29c663d50cbf590e9d225ace2d36a80fb8cbd8d3 (diff) |
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>
Diffstat (limited to 'libavdevice/kmsgrab.c')
-rw-r--r-- | libavdevice/kmsgrab.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 = { |