GNOME Bugzilla – Bug 786597
vaapi: should include required gstgl headers
Last modified: 2017-08-22 09:57:22 UTC
Created attachment 358122 [details] [review] plugins: include required gstgl headers Currently it only includes <gst/gl/gstglcontext.h> and this header is about to not include all gstgl headers (see https://bugzilla.gnome.org/show_bug.cgi?id=784779). So to anticipate a build error I prefer to fix it before. Since gstreamer-vaapi uses gst_gl_window_get_display, gst_gl_display_* let's include all required headers.
Created attachment 358123 [details] [review] plugins: include main gstgl header Instead including particular gstgl header files in a header file that doesn't export a gstgl symbol, the main gstgl header file is included in gstvaapipluginutil.c where the symbols are used.
my counterproposal :) wdyt?
Comment on attachment 358123 [details] [review] plugins: include main gstgl header Looks good!
pushed attachment 358123 [details] [review] as commit 466c0548 - plugins: include main gstgl header