]> git.sesse.net Git - ffmpeg/commitdiff
vp9: add profile 2/3 to exported profiles.
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 5 May 2015 14:04:12 +0000 (10:04 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 6 May 2015 19:10:40 +0000 (15:10 -0400)
libavcodec/avcodec.h
libavcodec/vp9.c

index 3d5e82d691b60b96e9174e90309f4ad9619ae216..f1a330e409071e8f36aad74ce91419171a99c1aa 100644 (file)
@@ -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
index 71057f35ba41bad698d7f35baa24897302eea1ae..4ba46f3ab502584e3dad40dc73523e9003e2746e 100644 (file)
@@ -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 },
 };