summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2015-05-05 10:04:12 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2015-05-06 15:10:40 -0400
commit01e59d48ed1a41b88107ed1d4d56ae0cbcd1a60e (patch)
treec67f6fdeafd3dfd67061f1c464bda816ee9076f0
parent5c600d74aa4d203db3326eb37efc68abe0b231d9 (diff)
vp9: add profile 2/3 to exported profiles.
-rw-r--r--libavcodec/avcodec.h2
-rw-r--r--libavcodec/vp9.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 3d5e82d691..f1a330e409 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2914,6 +2914,8 @@ typedef struct AVCodecContext {
#define FF_PROFILE_VP9_0 0
#define FF_PROFILE_VP9_1 1
+#define FF_PROFILE_VP9_2 2
+#define FF_PROFILE_VP9_3 3
/**
* level
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 71057f35ba..4ba46f3ab5 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -4089,6 +4089,8 @@ static int vp9_decode_update_thread_context(AVCodecContext *dst, const AVCodecCo
static const AVProfile profiles[] = {
{ FF_PROFILE_VP9_0, "Profile 0" },
{ FF_PROFILE_VP9_1, "Profile 1" },
+ { FF_PROFILE_VP9_2, "Profile 2" },
+ { FF_PROFILE_VP9_3, "Profile 3" },
{ FF_PROFILE_UNKNOWN },
};