mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 16:08:51 +00:00
libs: use generic g_cclosure_marshal_VOID__VOID().
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
parent
27c8269b43
commit
c415868f26
6 changed files with 1 additions and 43 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -55,9 +55,6 @@ docs/reference/plugins/tmpl*
|
||||||
docs/reference/plugins/xml*
|
docs/reference/plugins/xml*
|
||||||
docs/reference/plugins/*.stamp
|
docs/reference/plugins/*.stamp
|
||||||
gst-libs/gst/gstutils_version.h
|
gst-libs/gst/gstutils_version.h
|
||||||
gst-libs/gst/vaapi/gstvaapimarshal.c
|
|
||||||
gst-libs/gst/vaapi/gstvaapimarshal.h
|
|
||||||
gst-libs/gst/vaapi/stamp-marshal
|
|
||||||
gtk-doc.make
|
gtk-doc.make
|
||||||
pkgconfig/gstreamer-vaapi-0.10.pc
|
pkgconfig/gstreamer-vaapi-0.10.pc
|
||||||
pkgconfig/gstreamer-vaapi-glx-0.10.pc
|
pkgconfig/gstreamer-vaapi-glx-0.10.pc
|
||||||
|
|
|
@ -161,7 +161,6 @@ AM_CONDITIONAL([ENABLE_GTK_DOC], [false])])
|
||||||
AC_SUBST(GTKDOC_VERSION)
|
AC_SUBST(GTKDOC_VERSION)
|
||||||
|
|
||||||
dnl Check for GLib
|
dnl Check for GLib
|
||||||
AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
|
|
||||||
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= glib_version])
|
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= glib_version])
|
||||||
|
|
||||||
dnl Check for GStreamer
|
dnl Check for GStreamer
|
||||||
|
|
|
@ -66,7 +66,6 @@ IGNORE_HFILES = \
|
||||||
gstvaapidisplay_priv.h \
|
gstvaapidisplay_priv.h \
|
||||||
gstvaapidisplay_glx_priv.h \
|
gstvaapidisplay_glx_priv.h \
|
||||||
gstvaapidisplay_x11_priv.h \
|
gstvaapidisplay_x11_priv.h \
|
||||||
gstvaapimarshal.h \
|
|
||||||
gstvaapiobject_priv.h \
|
gstvaapiobject_priv.h \
|
||||||
gstvaapiutils.h \
|
gstvaapiutils.h \
|
||||||
gstvaapiutils_glx.h \
|
gstvaapiutils_glx.h \
|
||||||
|
@ -75,7 +74,6 @@ IGNORE_HFILES = \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
EXTRA_HFILES = \
|
EXTRA_HFILES = \
|
||||||
gstvaapimarshal.c \
|
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
# Images to copy into HTML directory.
|
# Images to copy into HTML directory.
|
||||||
|
|
|
@ -36,7 +36,6 @@ libgstvaapi_source_c = \
|
||||||
gstvaapiimage.c \
|
gstvaapiimage.c \
|
||||||
gstvaapiimageformat.c \
|
gstvaapiimageformat.c \
|
||||||
gstvaapiimagepool.c \
|
gstvaapiimagepool.c \
|
||||||
gstvaapimarshal.c \
|
|
||||||
gstvaapiobject.c \
|
gstvaapiobject.c \
|
||||||
gstvaapiparamspecs.c \
|
gstvaapiparamspecs.c \
|
||||||
gstvaapiprofile.c \
|
gstvaapiprofile.c \
|
||||||
|
@ -271,36 +270,3 @@ libgstvaapi_glx_@GST_MAJORMINOR@_la_LDFLAGS = \
|
||||||
|
|
||||||
# Extra clean files so that maintainer-clean removes *everything*
|
# Extra clean files so that maintainer-clean removes *everything*
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
# glib-genmarshal rules
|
|
||||||
glib_marshal_list = gstvaapimarshal.list
|
|
||||||
glib_marshal_prefix = gst_vaapi_marshal
|
|
||||||
|
|
||||||
marshal_h = $(glib_marshal_list:.list=.h)
|
|
||||||
marshal_c = $(glib_marshal_list:.list=.c)
|
|
||||||
|
|
||||||
CLEANFILES = stamp-marshal
|
|
||||||
DISTCLEANFILES = $(marshal_h) $(marshal_c)
|
|
||||||
BUILT_SOURCES = $(marshal_h) $(marshal_c)
|
|
||||||
EXTRA_DIST = $(srcdir)/$(glib_marshal_list)
|
|
||||||
|
|
||||||
stamp-marshal: $(glib_marshal_list)
|
|
||||||
$(GLIB_GENMARSHAL) \
|
|
||||||
--prefix=$(glib_marshal_prefix) \
|
|
||||||
--header \
|
|
||||||
$(srcdir)/$(glib_marshal_list) > xgen-mh \
|
|
||||||
&& (cmp -s xgen-mh $(marshal_h) || cp -f xgen-mh $(marshal_h)) \
|
|
||||||
&& rm -f xgen-mh \
|
|
||||||
&& echo timestamp > $(@F)
|
|
||||||
|
|
||||||
$(marshal_h): stamp-marshal
|
|
||||||
@true
|
|
||||||
|
|
||||||
$(marshal_c): $(marshal_h)
|
|
||||||
(echo "#include \"$(marshal_h)\"" ; \
|
|
||||||
$(GLIB_GENMARSHAL) \
|
|
||||||
--prefix=$(glib_marshal_prefix) \
|
|
||||||
--body \
|
|
||||||
$(srcdir)/$(glib_marshal_list)) > xgen-mc \
|
|
||||||
&& cp xgen-mc $(marshal_c) \
|
|
||||||
&& rm -f xgen-mc
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
VOID:VOID
|
|
|
@ -29,7 +29,6 @@
|
||||||
#include "gstvaapi_priv.h"
|
#include "gstvaapi_priv.h"
|
||||||
#include "gstvaapiparamspecs.h"
|
#include "gstvaapiparamspecs.h"
|
||||||
#include "gstvaapivalue.h"
|
#include "gstvaapivalue.h"
|
||||||
#include "gstvaapimarshal.h"
|
|
||||||
|
|
||||||
#define DEBUG 1
|
#define DEBUG 1
|
||||||
#include "gstvaapidebug.h"
|
#include "gstvaapidebug.h"
|
||||||
|
@ -179,7 +178,7 @@ gst_vaapi_object_class_init(GstVaapiObjectClass *klass)
|
||||||
G_SIGNAL_RUN_CLEANUP | G_SIGNAL_NO_RECURSE | G_SIGNAL_NO_HOOKS,
|
G_SIGNAL_RUN_CLEANUP | G_SIGNAL_NO_RECURSE | G_SIGNAL_NO_HOOKS,
|
||||||
G_STRUCT_OFFSET(GstVaapiObjectClass, destroy),
|
G_STRUCT_OFFSET(GstVaapiObjectClass, destroy),
|
||||||
NULL, NULL,
|
NULL, NULL,
|
||||||
gst_vaapi_marshal_VOID__VOID,
|
g_cclosure_marshal_VOID__VOID,
|
||||||
G_TYPE_NONE, 0
|
G_TYPE_NONE, 0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue