From 280da99a8fdd0533a1507643f24ee070a65785d3 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Tue, 28 Oct 2014 12:07:20 +0100
Subject: [PATCH] avdevice/xcbgrab: set avclass category

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

diff --git a/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c
index 1b4830a730c..4909588ea56 100644
--- a/libavdevice/xcbgrab.c
+++ b/libavdevice/xcbgrab.c
@@ -92,6 +92,7 @@ static const AVClass xcbgrab_class = {
     .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
+    .category   = AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT,
 };
 
 static int xcbgrab_reposition(AVFormatContext *s,
-- 
GitLab