video: hide private video-blend.[ch] from gobject-introspection
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 23 Nov 2011 00:31:18 +0000 (00:31 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 5 Dec 2011 15:37:02 +0000 (15:37 +0000)
And remove unused fields from helper structure.

gst-libs/gst/video/Makefile.am
gst-libs/gst/video/video-blend.h

index 5ab524f..f5a12ba 100644 (file)
@@ -51,8 +51,9 @@ BUILT_GIRSOURCES = GstVideo-@GST_MAJORMINOR@.gir
 
 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstvideo_@GST_MAJORMINOR@include_HEADERS))
 gir_headers+=$(patsubst %,$(builddir)/%, $(built_headers))
-gir_sources=$(patsubst %,$(srcdir)/%, $(libgstvideo_@GST_MAJORMINOR@_la_SOURCES))
-gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources))
+video_gir_sources=$(patsubst %,$(srcdir)/%, $(libgstvideo_@GST_MAJORMINOR@_la_SOURCES))
+video_gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources))
+gir_sources=$(subst $(srcdir)/video-blend.h,,$(subst $(srcdir)/video-blend.c,,$(video_gir_sources)))
 gir_cincludes=$(patsubst %,--c-include='gst/video/%',$(libgstvideo_@GST_MAJORMINOR@include_HEADERS))
 gir_cincludes+=$(patsubst %,--c-include='gst/video/%',$(nodist_libgstvideo_@GST_MAJORMINOR@include_HEADERS))
 
index 3d9402e..3f5e0cd 100644 (file)
@@ -31,8 +31,7 @@
 
 typedef struct _GstBlendVideoFormatInfo GstBlendVideoFormatInfo;
 
-/**
- * GstBlendVideoFormatInfo:
+/* GstBlendVideoFormatInfo:
  * @fmt: The #GstVideoFormat describing the video format
  * @width: The width of the video
  * @height: The height of the video
@@ -51,9 +50,6 @@ struct _GstBlendVideoFormatInfo
     gint            width;
     gint            height;
 
-    gint            dest_width;
-    gint            dest_height;
-
     guint8        * pixels;
     gsize           size;