mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
libs: remove unused header
Since libgstvaapi is not distributed, there is no need to check for private header inclusion. Thus removing it. https://bugzilla.gnome.org/show_bug.cgi?id=786119
This commit is contained in:
parent
3b8b2ff36c
commit
a07ff9641c
11 changed files with 1 additions and 42 deletions
|
@ -21,7 +21,6 @@ noinst_LTLIBRARIES += libgstvaapi-wayland.la
|
|||
endif
|
||||
|
||||
libgstvaapi_cflags = \
|
||||
-DIN_LIBGSTVAAPI \
|
||||
-DIN_LIBGSTVAAPI_CORE \
|
||||
-DGST_USE_UNSTABLE_API \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
|
@ -146,7 +145,6 @@ libgstvaapi_source_priv_h = \
|
|||
gstvaapivideopool_priv.h \
|
||||
gstvaapiwindow_priv.h \
|
||||
gstvaapiworkarounds.h \
|
||||
libgstvaapi_priv_check.h \
|
||||
sysdeps.h \
|
||||
$(NULL)
|
||||
|
||||
|
@ -358,7 +356,6 @@ libgstvaapi_drm_la_SOURCES = \
|
|||
$(NULL)
|
||||
|
||||
libgstvaapi_drm_la_CFLAGS = \
|
||||
-DIN_LIBGSTVAAPI \
|
||||
-DGST_USE_UNSTABLE_API \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
$(GLIB_CFLAGS) \
|
||||
|
@ -388,7 +385,6 @@ libgstvaapi_x11_la_SOURCES = \
|
|||
$(NULL)
|
||||
|
||||
libgstvaapi_x11_la_CFLAGS = \
|
||||
-DIN_LIBGSTVAAPI \
|
||||
-DGST_USE_UNSTABLE_API \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
$(GLIB_CFLAGS) \
|
||||
|
@ -420,7 +416,6 @@ libgstvaapi_glx_la_SOURCES = \
|
|||
$(NULL)
|
||||
|
||||
libgstvaapi_glx_la_CFLAGS = \
|
||||
-DIN_LIBGSTVAAPI \
|
||||
-DGST_USE_UNSTABLE_API \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
$(GLIB_CFLAGS) \
|
||||
|
@ -452,7 +447,6 @@ libgstvaapi_egl_la_SOURCES = \
|
|||
$(NULL)
|
||||
|
||||
libgstvaapi_egl_la_CFLAGS = \
|
||||
-DIN_LIBGSTVAAPI \
|
||||
-DGST_USE_UNSTABLE_API \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
$(GLIB_CFLAGS) \
|
||||
|
@ -484,7 +478,6 @@ libgstvaapi_wayland_la_SOURCES = \
|
|||
$(NULL)
|
||||
|
||||
libgstvaapi_wayland_la_CFLAGS = \
|
||||
-DIN_LIBGSTVAAPI \
|
||||
-DGST_USE_UNSTABLE_API \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
$(GLIB_CFLAGS) \
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#ifndef GST_VAAPI_DECODER_UNIT_H
|
||||
#define GST_VAAPI_DECODER_UNIT_H
|
||||
|
||||
#include "libgstvaapi_priv_check.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GstVaapiDecoderUnit GstVaapiDecoderUnit;
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#define GST_VAAPI_MINI_OBJECT_H
|
||||
|
||||
#include <glib.h>
|
||||
#include "libgstvaapi_priv_check.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#define GST_VAAPI_UTILS_H
|
||||
|
||||
#include "config.h"
|
||||
#include "libgstvaapi_priv_check.h"
|
||||
#include <glib.h>
|
||||
#include <va/va.h>
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#define GST_VAAPI_UTILS_GLX_H
|
||||
|
||||
#include "config.h"
|
||||
#include "libgstvaapi_priv_check.h"
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glx.h>
|
||||
#include <glib.h>
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#define GST_VAAPI_UTILS_H264_PRIV_H
|
||||
|
||||
#include "gstvaapiutils_h264.h"
|
||||
#include "libgstvaapi_priv_check.h"
|
||||
#include "gstvaapisurface.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#define GST_VAAPI_UTILS_H265_PRIV_H
|
||||
|
||||
#include "gstvaapiutils_h265.h"
|
||||
#include "libgstvaapi_priv_check.h"
|
||||
#include "gstvaapisurface.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#define GST_VAAPI_UTILS_MPEG2_PRIV_H
|
||||
|
||||
#include "gstvaapiutils_mpeg2.h"
|
||||
#include "libgstvaapi_priv_check.h"
|
||||
#include "gstvaapisurface.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#define GST_VAAPI_UTILS_X11_H
|
||||
|
||||
#include "config.h"
|
||||
#include "libgstvaapi_priv_check.h"
|
||||
#include <X11/Xlib.h>
|
||||
#include <glib.h>
|
||||
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
/*
|
||||
* libgstvaapi_priv_check.h - Check file is included from within libgstvaapi
|
||||
*
|
||||
* Copyright (C) 2014 Intel Corporation
|
||||
* Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public License
|
||||
* as published by the Free Software Foundation; either version 2.1
|
||||
* of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef IN_LIBGSTVAAPI
|
||||
# error "This file is only meant to be included from within libgstvaapi"
|
||||
#endif
|
|
@ -217,7 +217,7 @@ endif
|
|||
|
||||
gstlibvaapi = static_library('gstlibvaapi-@0@'.format(api_version),
|
||||
gstlibvaapi_sources,
|
||||
c_args : gstreamer_vaapi_args + ['-DIN_LIBGSTVAAPI', '-DIN_LIBGSTVAAPI_CORE', '-DGST_USE_UNSTABLE_API', '-DGST_VAAPI_VERSION_ID="@0@"'.format(gst_version)],
|
||||
c_args : gstreamer_vaapi_args + ['-DIN_LIBGSTVAAPI_CORE', '-DGST_USE_UNSTABLE_API', '-DGST_VAAPI_VERSION_ID="@0@"'.format(gst_version)],
|
||||
include_directories: [configinc, libsinc],
|
||||
version : libversion,
|
||||
soversion : soversion,
|
||||
|
|
Loading…
Reference in a new issue