libs: encoder: h264: handle deprecated enum
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 25 Aug 2017 14:22:59 +0000 (16:22 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 25 Aug 2017 14:44:27 +0000 (16:44 +0200)
commitb942f9e17f8c9aa82d817749970544dd6d303d74
tree16e98051dc055f0e9482f2bf4b9865c7a252cdab
parent585628d2a218263613418c55ba51dab2d3c4d9f6
libs: encoder: h264: handle deprecated enum

In VA-API 1.0 the enum VAEncPackedHeaderH264_SEI is deprecated, and
instead VAEncPackedHeaderRawData should be used.

This patch creates a compatibility symbol,
VA_ENC_PACKED_HEADER_H264_SEI, to expose the used enum according the
VA-API version.

https://bugzilla.gnome.org/show_bug.cgi?id=784398
gst-libs/gst/vaapi/gstvaapicompat.h
gst-libs/gst/vaapi/gstvaapiencoder_h264.c