[FFmpeg-devel] [PATCH 4/9] vp9: add profile 2/3 to exported profiles.
Ronald S. Bultje
rsbultje at gmail.com
Wed May 6 18:05:17 CEST 2015
---
libavcodec/avcodec.h | 2 ++
libavcodec/vp9.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 3d5e82d..f1a330e 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 71057f3..4ba46f3 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 },
};
--
2.1.2
More information about the ffmpeg-devel
mailing list