GNOME Bugzilla – Bug 787322
compile failure in gstvaapiencoder_h264_fei.c with libva 2.0 (vaapi 1.0)
Last modified: 2017-09-05 18:23:39 UTC
GCC >= 6.x compile failure: gstvaapiencoder_h264_fei.c: In function ‘add_packed_sei_header’: gstvaapiencoder_h264_fei.c:1618:3: error: ‘VAEncPackedHeaderH264_SEI’ is deprecated [-Werror=deprecated-declarations] packed_sei_param.type = VAEncPackedHeaderH264_SEI; ^~~~~~~~~~~~~~~~ In file included from /home/uartie/Work/workspace/media/install/include/va/va.h:3199:0, from gstvaapiencoder_h264_fei.c:30: /home/uartie/Work/workspace/media/install/include/va/va_enc_h264.h:125:5: note: declared here VAEncPackedHeaderH264_SEI va_deprecated_enum = (0x80000000 | 1), ^~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Makefile:1794: recipe for target 'libgstvaapi_la-gstvaapiencoder_h264_fei.lo' failed make[4]: *** [libgstvaapi_la-gstvaapiencoder_h264_fei.lo] Error 1
Created attachment 359222 [details] [review] use VA_ENC_PACKED_HEADER_H264_SEI
Review of attachment 359222 [details] [review]: Thanks for the fix, pushed as 6e3bfbc014d90c2e22f3aaf7feda1dc569b7e375