[Bug 784398] Add support for VA-API 1.0

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Aug 17 20:34:44 UTC 2017


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

U. Artie Eoff <ullysses.a.eoff at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ullysses.a.eoff at intel.com

--- Comment #18 from U. Artie Eoff <ullysses.a.eoff at intel.com> ---
(In reply to sreerenj from comment #17)
> Default compilation is failing with "deprecated declarations" warnings.
> 
> We need a couple of things here:
> 
> 1: Use RawData header for VAEncPackedHeader{H264, HEVC}_SEI if using
> VAAPI-1.0
> 
> 2: deprecated declaration in va headers will generate the warnings anyway.
> Find a way to don't treat va specific deprecated declaration warnings as
> errors? 
> Or just use -Wno-deprecated-declarations

For 2: you could use GNU GCC diagnostic pragmas around the "header includes"
(https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html)

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include <va/va.h>
#pragma GCC diagnostic pop

...not sure you'd want these diagnostics around where you "actually use" a
deprecated thing, though.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list