From 86b7821e29b426a52a93e1b71ef00bbed4c26cbf Mon Sep 17 00:00:00 2001
From: Thilo Borgmann <thilo.borgmann@mail.de>
Date: Mon, 4 Aug 2014 22:06:59 +0200
Subject: [PATCH] lavd/avfoundation: Add device category.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 libavdevice/avfoundation.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m
index 74d781134e4..4ac50a0ef2f 100644
--- a/libavdevice/avfoundation.m
+++ b/libavdevice/avfoundation.m
@@ -451,6 +451,7 @@ static const AVClass avf_class = {
     .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
+    .category   = AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT,
 };
 
 AVInputFormat ff_avfoundation_demuxer = {
-- 
GitLab