jpeg: fix build with VA-API < 0.32.0.

This commit is contained in:
Gwenole Beauchesne 2012-06-26 15:18:53 +02:00
parent 251d53fac6
commit 06be1afea6

View 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, }
};