diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2017-07-11 17:27:32 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-10-19 15:25:05 +0200 |
commit | de014623d60156a734f3f7e5af30c85afe9b0b80 (patch) | |
tree | 8ae6ded4e76d6d4fb7fa586e38607d7227613793 | |
parent | 0d710edb0684c5f461bf7d77814d559114d9179a (diff) |
libs: decoder: h264: libva 1.0 deprecated baseline
libva 1.0 deprecated H.264 baseline profile and FMO support
(commit b4f332b3).
https://bugzilla.gnome.org/show_bug.cgi?id=784398
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidecoder_h264.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_h264.c b/gst-libs/gst/vaapi/gstvaapidecoder_h264.c index d76c3876..ae644c68 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_h264.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_h264.c @@ -3781,9 +3781,12 @@ fill_picture (GstVaapiDecoderH264 * decoder, GstVaapiPictureH264 * picture) COPY_FIELD (sps, bit_depth_luma_minus8); COPY_FIELD (sps, bit_depth_chroma_minus8); COPY_FIELD (sps, num_ref_frames); +#if !VA_CHECK_VERSION(1,0,0) + /* Deprecate H.264 baseline profile and FMO support */ COPY_FIELD (pps, num_slice_groups_minus1); COPY_FIELD (pps, slice_group_map_type); COPY_FIELD (pps, slice_group_change_rate_minus1); +#endif COPY_FIELD (pps, pic_init_qp_minus26); COPY_FIELD (pps, pic_init_qs_minus26); COPY_FIELD (pps, chroma_qp_index_offset); |