From 3b8b2ff36c9f081a993f7906eae1d8408d881ebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Thu, 10 Aug 2017 13:27:11 +0200 Subject: [PATCH] libs: utils: move gstvaapisurface.h to private headers Since the utils don't expose API defined in gstvaapisource.h, it is moved to their private headers where they are used. https://bugzilla.gnome.org/show_bug.cgi?id=786119 --- gst-libs/gst/vaapi/gstvaapiutils_h264.h | 1 - gst-libs/gst/vaapi/gstvaapiutils_h264_priv.h | 1 + gst-libs/gst/vaapi/gstvaapiutils_h265.h | 1 - gst-libs/gst/vaapi/gstvaapiutils_h265_priv.h | 1 + gst-libs/gst/vaapi/gstvaapiutils_mpeg2.h | 1 - gst-libs/gst/vaapi/gstvaapiutils_mpeg2_priv.h | 1 + 6 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/vaapi/gstvaapiutils_h264.h b/gst-libs/gst/vaapi/gstvaapiutils_h264.h index 8dea3efffb..057705033d 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_h264.h +++ b/gst-libs/gst/vaapi/gstvaapiutils_h264.h @@ -24,7 +24,6 @@ #define GST_VAAPI_UTILS_H264_H #include -#include G_BEGIN_DECLS diff --git a/gst-libs/gst/vaapi/gstvaapiutils_h264_priv.h b/gst-libs/gst/vaapi/gstvaapiutils_h264_priv.h index 8fe0d41c44..6a0c61d03c 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_h264_priv.h +++ b/gst-libs/gst/vaapi/gstvaapiutils_h264_priv.h @@ -25,6 +25,7 @@ #include "gstvaapiutils_h264.h" #include "libgstvaapi_priv_check.h" +#include "gstvaapisurface.h" G_BEGIN_DECLS diff --git a/gst-libs/gst/vaapi/gstvaapiutils_h265.h b/gst-libs/gst/vaapi/gstvaapiutils_h265.h index 373764e990..930da0b61b 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_h265.h +++ b/gst-libs/gst/vaapi/gstvaapiutils_h265.h @@ -24,7 +24,6 @@ #define GST_VAAPI_UTILS_H265_H #include -#include G_BEGIN_DECLS diff --git a/gst-libs/gst/vaapi/gstvaapiutils_h265_priv.h b/gst-libs/gst/vaapi/gstvaapiutils_h265_priv.h index 5e9f53211d..7b5173ed4d 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_h265_priv.h +++ b/gst-libs/gst/vaapi/gstvaapiutils_h265_priv.h @@ -25,6 +25,7 @@ #include "gstvaapiutils_h265.h" #include "libgstvaapi_priv_check.h" +#include "gstvaapisurface.h" G_BEGIN_DECLS diff --git a/gst-libs/gst/vaapi/gstvaapiutils_mpeg2.h b/gst-libs/gst/vaapi/gstvaapiutils_mpeg2.h index d846f86a1f..64e38d1cb2 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_mpeg2.h +++ b/gst-libs/gst/vaapi/gstvaapiutils_mpeg2.h @@ -24,7 +24,6 @@ #define GST_VAAPI_UTILS_MPEG2_H #include -#include G_BEGIN_DECLS diff --git a/gst-libs/gst/vaapi/gstvaapiutils_mpeg2_priv.h b/gst-libs/gst/vaapi/gstvaapiutils_mpeg2_priv.h index e6507faa4b..231a6b4fcd 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_mpeg2_priv.h +++ b/gst-libs/gst/vaapi/gstvaapiutils_mpeg2_priv.h @@ -25,6 +25,7 @@ #include "gstvaapiutils_mpeg2.h" #include "libgstvaapi_priv_check.h" +#include "gstvaapisurface.h" G_BEGIN_DECLS