mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
gst-libs/gst/video/: Add glib-mkenum for GstVideoFormat enum GTYPE auto-generation.
Original commit message from CVS: * gst-libs/gst/video/Makefile.am: * gst-libs/gst/video/video.h: Add glib-mkenum for GstVideoFormat enum GTYPE auto-generation. This will help bindings to use it.
This commit is contained in:
parent
e2fcc71650
commit
98ad43fcdd
3 changed files with 25 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-12-31 Edward Hervey <edward.hervey@collabora.co.uk>
|
||||
|
||||
* gst-libs/gst/video/Makefile.am:
|
||||
* gst-libs/gst/video/video.h:
|
||||
Add glib-mkenum for GstVideoFormat enum GTYPE auto-generation.
|
||||
This will help bindings to use it.
|
||||
|
||||
2008-12-31 Edward Hervey <edward.hervey@collabora.co.uk>
|
||||
|
||||
* gst-libs/gst/audio/Makefile.am:
|
||||
|
|
|
@ -1,10 +1,26 @@
|
|||
# variables used for enum/marshal generation
|
||||
glib_enum_headers= video.h
|
||||
|
||||
glib_enum_define=GST_VIDEO
|
||||
glib_enum_prefix=gst_video
|
||||
|
||||
built_sources = video-enumtypes.c
|
||||
built_headers = video-enumtypes.h
|
||||
BUILT_SOURCES = $(built_sources) $(built_headers)
|
||||
|
||||
lib_LTLIBRARIES = libgstvideo-@GST_MAJORMINOR@.la
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
libgstvideo_@GST_MAJORMINOR@_la_SOURCES = video.c gstvideosink.c gstvideofilter.c
|
||||
nodist_libgstvideo_@GST_MAJORMINOR@_la_SOURCES = $(BUILT_SOURCES)
|
||||
|
||||
libgstvideoincludedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/video
|
||||
libgstvideoinclude_HEADERS = video.h gstvideosink.h gstvideofilter.h
|
||||
nodist_libgstvideoinclude_HEADERS = $(built_headers)
|
||||
|
||||
libgstvideo_@GST_MAJORMINOR@_la_CFLAGS = $(GST_CFLAGS)
|
||||
libgstvideo_@GST_MAJORMINOR@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS)
|
||||
libgstvideo_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
||||
|
||||
include $(top_srcdir)/common/glib-gen.mak
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#include "video-enumtypes.h"
|
||||
|
||||
/**
|
||||
* GstVideoFormat:
|
||||
* @GST_VIDEO_FORMAT_UNKNOWN: Unknown or unset video format id
|
||||
|
|
Loading…
Reference in a new issue