Add missing profiles from VA-API 0.32.0.
authorZhao Halley <halley.zhao@intel.com>
Fri, 6 Jan 2012 16:51:59 +0000 (17:51 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 6 Jan 2012 16:58:12 +0000 (17:58 +0100)
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/vaapi/gstvaapiutils.c

index 1530c9e..a99d7e8 100644 (file)
@@ -66,6 +66,11 @@ const char *string_of_VAProfile(VAProfile profile)
         PROFILE(MPEG4Simple);
         PROFILE(MPEG4AdvancedSimple);
         PROFILE(MPEG4Main);
+#if VA_CHECK_VERSION(0,32,0)
+        PROFILE(JPEGBaseline);
+        PROFILE(H263Baseline);
+        PROFILE(H264ConstrainedBaseline);
+#endif
         PROFILE(H264Baseline);
         PROFILE(H264Main);
         PROFILE(H264High);