jpeg: fix build with VA-API < 0.32.0.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 26 Jun 2012 13:18:53 +0000 (15:18 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 26 Jun 2012 13:18:53 +0000 (15:18 +0200)
gst-libs/gst/vaapi/gstvaapiprofile.c

index f93e628..7536c44 100644 (file)
@@ -92,9 +92,11 @@ static const GstVaapiProfileMap gst_vaapi_profiles[] = {
     { GST_VAAPI_PROFILE_VC1_ADVANCED, VAProfileVC1Advanced,
       "video/x-wmv, wmvversion=3, format=(fourcc)WVC1", "advanced"
     },
+#if VA_CHECK_VERSION(0,32,0)
     { GST_VAAPI_PROFILE_JPEG_BASELINE, VAProfileJPEGBaseline,
       "image/jpeg", "baseline"
     },
+#endif
     { 0, }
 };