aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-03-26 08:22:07 +0800
committerMark Thompson <sw@jkqxz.net>2018-03-26 22:39:12 +0100
commitac6e27d74f6a413d400c228b0eb2d3af32c1ea76 (patch)
tree28898d619b21d8de14255a8cc552c398ec0b79af
parent29c663d50cbf590e9d225ace2d36a80fb8cbd8d3 (diff)
downloadffmpeg-ac6e27d74f6a413d400c228b0eb2d3af32c1ea76.tar.gz
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>
-rw-r--r--libavdevice/kmsgrab.c1
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 = {