After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787322 - compile failure in gstvaapiencoder_h264_fei.c with libva 2.0 (vaapi 1.0)
compile failure in gstvaapiencoder_h264_fei.c with libva 2.0 (vaapi 1.0)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
git master
Other Linux
: Normal normal
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-05 17:29 UTC by U. Artie Eoff
Modified: 2017-09-05 18:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use VA_ENC_PACKED_HEADER_H264_SEI (1.12 KB, patch)
2017-09-05 17:41 UTC, U. Artie Eoff
committed Details | Review

Description U. Artie Eoff 2017-09-05 17:29:58 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
Comment 1 U. Artie Eoff 2017-09-05 17:41:04 UTC
Created attachment 359222 [details] [review]
use VA_ENC_PACKED_HEADER_H264_SEI
Comment 2 sreerenj 2017-09-05 18:23:00 UTC
Review of attachment 359222 [details] [review]:

Thanks for the fix,
pushed as 6e3bfbc014d90c2e22f3aaf7feda1dc569b7e375