mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
libs: guard deprecated symbols
In VA-API 1.0 the H.264 baseline profile is deprecated. This patch
guards the H.264 baseline usage. Consider this commit as a
continuation of commit e0e0a474
https://bugzilla.gnome.org/show_bug.cgi?id=784398
This commit is contained in:
parent
3c345e3a43
commit
585628d2a2
2 changed files with 4 additions and 0 deletions
|
@ -94,8 +94,10 @@ static const GstVaapiProfileMap gst_vaapi_profiles[] = {
|
|||
{GST_VAAPI_PROFILE_H263_BASELINE, VAProfileH263Baseline,
|
||||
"video/x-h263, variant=itu, h263version=h263", "baseline"},
|
||||
#endif
|
||||
#if !VA_CHECK_VERSION(1,0,0)
|
||||
{GST_VAAPI_PROFILE_H264_BASELINE, VAProfileH264Baseline,
|
||||
"video/x-h264", "baseline"},
|
||||
#endif
|
||||
#if VA_CHECK_VERSION(0,31,1)
|
||||
{GST_VAAPI_PROFILE_H264_CONSTRAINED_BASELINE,
|
||||
VAProfileH264ConstrainedBaseline,
|
||||
|
|
|
@ -202,7 +202,9 @@ string_of_VAProfile (VAProfile profile)
|
|||
MAP (H263Baseline);
|
||||
MAP (H264ConstrainedBaseline);
|
||||
#endif
|
||||
#if !VA_CHECK_VERSION(1,0,0)
|
||||
MAP (H264Baseline);
|
||||
#endif
|
||||
MAP (H264Main);
|
||||
MAP (H264High);
|
||||
#if VA_CHECK_VERSION(0,35,2)
|
||||
|
|
Loading…
Reference in a new issue