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
This commit is contained in:
Víctor Manuel Jáquez Leal 2017-07-11 17:27:32 +02:00
parent 8f2eb70803
commit e0e0a47476

View file

@ -3849,9 +3849,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);