summaryrefslogtreecommitdiff
path: root/libavcodec/libaomenc.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-03-28 23:28:34 -0300
committerJames Almer <jamrial@gmail.com>2018-03-29 00:05:52 -0300
commitc0f0c9f5318786904bc87f9278868ff3c3a7802d (patch)
tree72bc18a8a082299d3d77b3bf41b6bede93c21689 /libavcodec/libaomenc.c
parent99cc3cf7a26cd4113e5047034577027d8c6f07a2 (diff)
downloadffmpeg-c0f0c9f5318786904bc87f9278868ff3c3a7802d.tar.gz
avcode/profiles: add AV1 profiles
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/libaomenc.c')
-rw-r--r--libavcodec/libaomenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c
index a80bcbf522..e5665cb5fa 100644
--- a/libavcodec/libaomenc.c
+++ b/libavcodec/libaomenc.c
@@ -35,6 +35,7 @@
#include "avcodec.h"
#include "internal.h"
+#include "profiles.h"
/*
* Portion of struct aom_codec_cx_pkt from aom_encoder.h.
@@ -735,6 +736,7 @@ AVCodec ff_libaom_av1_encoder = {
.encode2 = aom_encode,
.close = aom_free,
.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AUTO_THREADS | AV_CODEC_CAP_EXPERIMENTAL,
+ .profiles = NULL_IF_CONFIG_SMALL(ff_av1_profiles),
.priv_class = &class_aom,
.defaults = defaults,
.init_static_data = av1_init_static,