mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
jpeg: fix build with VA-API < 0.32.0.
This commit is contained in:
parent
251d53fac6
commit
06be1afea6
1 changed files with 2 additions and 0 deletions
|
@ -92,9 +92,11 @@ static const GstVaapiProfileMap gst_vaapi_profiles[] = {
|
||||||
{ GST_VAAPI_PROFILE_VC1_ADVANCED, VAProfileVC1Advanced,
|
{ GST_VAAPI_PROFILE_VC1_ADVANCED, VAProfileVC1Advanced,
|
||||||
"video/x-wmv, wmvversion=3, format=(fourcc)WVC1", "advanced"
|
"video/x-wmv, wmvversion=3, format=(fourcc)WVC1", "advanced"
|
||||||
},
|
},
|
||||||
|
#if VA_CHECK_VERSION(0,32,0)
|
||||||
{ GST_VAAPI_PROFILE_JPEG_BASELINE, VAProfileJPEGBaseline,
|
{ GST_VAAPI_PROFILE_JPEG_BASELINE, VAProfileJPEGBaseline,
|
||||||
"image/jpeg", "baseline"
|
"image/jpeg", "baseline"
|
||||||
},
|
},
|
||||||
|
#endif
|
||||||
{ 0, }
|
{ 0, }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue