libs: decoder: h264: libva 1.0 deprecated baseline
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 11 Jul 2017 15:27:32 +0000 (17:27 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 31 Jul 2017 16:17:06 +0000 (18:17 +0200)
libva 1.0 deprecated H.264 baseline profile and FMO support
(commit b4f332b3).

https://bugzilla.gnome.org/show_bug.cgi?id=784398

gst-libs/gst/vaapi/gstvaapidecoder_h264.c

index e971f75..9c96180 100644 (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);