summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Halley <halley.zhao@intel.com>2012-01-06 17:51:59 +0100
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-01-16 13:45:21 +0100
commitd30d3c53ad248b4221e363551d1d2e8c28ccba2a (patch)
treea10d047ace4d87f35be9ec9f031bf7463e1a09e6
parent6568cc85c9f370216d934e3b2e138d3c703a9e63 (diff)
downloadgstreamer-vaapi-d30d3c53ad248b4221e363551d1d2e8c28ccba2a.tar.gz
Add missing profiles from VA-API 0.32.0.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
-rw-r--r--gst-libs/gst/vaapi/gstvaapiutils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiutils.c b/gst-libs/gst/vaapi/gstvaapiutils.c
index 1530c9ea..a99d7e82 100644
--- a/gst-libs/gst/vaapi/gstvaapiutils.c
+++ b/gst-libs/gst/vaapi/gstvaapiutils.c
@@ -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);