lavd/avfoundation: Support user selected pixel formats and pixel format autoselection.
[ffmpeg.git] / libavdevice / openal-dec.c
index 6069edc..4c4ba28 100644 (file)
@@ -25,6 +25,7 @@
 #include <AL/alc.h>
 
 #include "libavutil/opt.h"
+#include "libavutil/time.h"
 #include "libavformat/internal.h"
 #include "avdevice.h"
 
@@ -235,7 +236,8 @@ static const AVClass class = {
     .class_name = "openal",
     .item_name = av_default_item_name,
     .option = options,
-    .version = LIBAVUTIL_VERSION_INT
+    .version = LIBAVUTIL_VERSION_INT,
+    .category = AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT,
 };
 
 AVInputFormat ff_openal_demuxer = {