[FFmpeg-devel] [PATCH] lavd/avfoundation: Add device category.
Thilo Borgmann
thilo.borgmann at mail.de
Mon Aug 4 22:10:12 CEST 2014
Hi,
as reported by David Favor, the AVFoundation device is not yet listed by "ffmpeg
-devices".
This patch fixes that. Please Apply.
-Thilo
-------------- next part --------------
>From c76b7ce3a2bceb13d273212ec7b5d3142691b24a Mon Sep 17 00:00:00 2001
From: Thilo Borgmann <thilo.borgmann at mail.de>
Date: Mon, 4 Aug 2014 22:06:59 +0200
Subject: [PATCH] lavd/avfoundation: Add device category.
---
libavdevice/avfoundation.m | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m
index 74d7811..4ac50a0 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 = {
--
1.8.3.2
More information about the ffmpeg-devel
mailing list