[FFmpeg-cvslog] kmsgrab: add category for kmsgrab
Jun Zhao
git at videolan.org
Tue Mar 27 01:14:32 EEST 2018
ffmpeg | branch: master | Jun Zhao <mypopydev at gmail.com> | Mon Mar 26 08:22:07 2018 +0800| [ac6e27d74f6a413d400c228b0eb2d3af32c1ea76] | committer: Mark Thompson
kmsgrab: add category for kmsgrab
Makes kmsgrab visible in "ffmpeg -devices".
Signed-off-by: Jun Zhao <mypopydev at gmail.com>
Signed-off-by: Mark Thompson <sw at jkqxz.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ac6e27d74f6a413d400c228b0eb2d3af32c1ea76
---
libavdevice/kmsgrab.c | 1 +
1 file changed, 1 insertion(+)
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 = {
More information about the ffmpeg-cvslog
mailing list