summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-06-27 10:35:55 +0200
committerEdward Hervey <bilboed@bilboed.com>2010-06-27 10:35:55 +0200
commit110de36d65b22e991154c6adf982081f9178c189 (patch)
tree78f8583dd9180b0505556d6709edd0fef0518874
parente485bad78b11552672a40c8c3880a72280edd9fc (diff)
Add gst-plugins-base 0.10.29/0.10.30 API additions
-rw-r--r--configure.ac18
-rw-r--r--gst/Makefile.am2
-rw-r--r--gst/gst-pb-0.10.29.ignore9
-rw-r--r--gst/gst-pb-0.10.30.ignore7
-rw-r--r--gst/gstversion.override.in2
-rw-r--r--gst/tag.defs34
-rw-r--r--gst/video.defs32
-rw-r--r--gst/xoverlay.defs12
8 files changed, 116 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b122b5d..6735294 100644
--- a/configure.ac
+++ b/configure.ac
@@ -202,6 +202,20 @@ then
else
IGNORE_GST_PB_0_10_26=""
fi
+
+ if test $GST_PB_MINOR_VERSION -lt "29"
+ then
+ IGNORE_GST_PB_0_10_29="gst-pb-0.10.29.ignore"
+ else
+ IGNORE_GST_PB_0_10_29=""
+ fi
+
+ if test $GST_PB_MINOR_VERSION -lt "30"
+ then
+ IGNORE_GST_PB_0_10_30="gst-pb-0.10.30.ignore"
+ else
+ IGNORE_GST_PB_0_10_30=""
+ fi
else
IGNORE_GST_0_10_18=""
IGNORE_GST_0_10_20=""
@@ -216,6 +230,8 @@ else
IGNORE_GST_PB_0_10_23=""
IGNORE_GST_PB_0_10_25=""
IGNORE_GST_PB_0_10_26=""
+ IGNORE_GST_PB_0_10_29=""
+ IGNORE_GST_PB_0_10_30=""
AC_DEFINE_UNQUOTED(HAVE_GST_AUDIO, 1, [We can use the gst-audio library])
AC_DEFINE_UNQUOTED(HAVE_GST_VIDEO, 1, [We can use the gst-video library])
AC_DEFINE_UNQUOTED(HAVE_GST_TAG, 1, [We can use the gst-tag library])
@@ -233,6 +249,8 @@ AC_SUBST(IGNORE_GST_0_10_30)
AC_SUBST(IGNORE_GST_PB_0_10_23)
AC_SUBST(IGNORE_GST_PB_0_10_25)
AC_SUBST(IGNORE_GST_PB_0_10_26)
+AC_SUBST(IGNORE_GST_PB_0_10_29)
+AC_SUBST(IGNORE_GST_PB_0_10_30)
AM_CONDITIONAL(HAVE_GST_AUDIO, $HAVE_GST_AUDIO)
AM_CONDITIONAL(HAVE_GST_VIDEO, $HAVE_GST_VIDEO)
AM_CONDITIONAL(HAVE_GST_TAG, $HAVE_GST_TAG)
diff --git a/gst/Makefile.am b/gst/Makefile.am
index 13fc41d..a80a59b 100644
--- a/gst/Makefile.am
+++ b/gst/Makefile.am
@@ -37,6 +37,8 @@ versioned_overrides = \
gst-pb-0.10.23.ignore \
gst-pb-0.10.25.ignore \
gst-pb-0.10.26.ignore \
+ gst-pb-0.10.29.ignore \
+ gst-pb-0.10.30.ignore \
gst-disable-loadsave.ignore
INCLUDES = $(PYTHON_INCLUDES)
diff --git a/gst/gst-pb-0.10.29.ignore b/gst/gst-pb-0.10.29.ignore
new file mode 100644
index 0000000..8e39404
--- /dev/null
+++ b/gst/gst-pb-0.10.29.ignore
@@ -0,0 +1,9 @@
+%%
+ignore
+ gst_x_overlay_set_render_rectangle
+ gst_tag_list_from_xmp_buffer
+ gst_tag_list_to_xmp_buffer
+ gst_video_format_is_gray
+ gst_video_parse_caps_chroma_site
+ gst_video_parse_caps_color_matrix
+%% \ No newline at end of file
diff --git a/gst/gst-pb-0.10.30.ignore b/gst/gst-pb-0.10.30.ignore
new file mode 100644
index 0000000..ea1e659
--- /dev/null
+++ b/gst/gst-pb-0.10.30.ignore
@@ -0,0 +1,7 @@
+%%
+ignore
+ gst_tag_list_to_exif_buffer
+ gst_tag_list_to_exif_buffer_with_tiff_header
+ gst_tag_list_from_exif_buffer
+ gst_tag_list_from_exif_buffer_with_tiff_header
+%%
diff --git a/gst/gstversion.override.in b/gst/gstversion.override.in
index d166060..7bd66cd 100644
--- a/gst/gstversion.override.in
+++ b/gst/gstversion.override.in
@@ -12,5 +12,7 @@ include
@IGNORE_GST_PB_0_10_26@
@IGNORE_GST_LOADSAVE@
@IGNORE_GST_0_10_29@
+@IGNORE_GST_PB_0_10_29@
@IGNORE_GST_0_10_30@
+@IGNORE_GST_PB_0_10_30@
%%
diff --git a/gst/tag.defs b/gst/tag.defs
index 3aebd02..a9f4927 100644
--- a/gst/tag.defs
+++ b/gst/tag.defs
@@ -179,6 +179,40 @@
)
)
+(define-method to_exif_buffer
+ (of-object "GstTagList")
+ (c-name "gst_tag_list_to_exif_buffer")
+ (return-type "GstBuffer*")
+ (parameters
+ '("gint" "byte_order")
+ '("guint32" "base_offset")
+ )
+)
+
+(define-method to_exif_buffer_with_tiff_header
+ (of-object "GstTagList")
+ (c-name "gst_tag_list_to_exif_buffer_with_tiff_header")
+ (return-type "GstBuffer*")
+)
+
+(define-function tag_list_from_exif_buffer
+ (c-name "gst_tag_list_from_exif_buffer")
+ (return-type "GstTagList*")
+ (parameters
+ '("const-GstBuffer*" "buffer")
+ '("gint" "byte_order")
+ '("guint32" "base_offset")
+ )
+)
+
+(define-function tag_list_from_exif_buffer_with_tiff_header
+ (c-name "gst_tag_list_from_exif_buffer_with_tiff_header")
+ (return-type "GstTagList*")
+ (parameters
+ '("const-GstBuffer*" "buffer")
+ )
+)
+
(define-function parse_extended_comment
(c-name "gst_tag_parse_extended_comment")
(return-type "gboolean")
diff --git a/gst/video.defs b/gst/video.defs
index 671ecb4..5177979 100644
--- a/gst/video.defs
+++ b/gst/video.defs
@@ -45,6 +45,16 @@
'("v216" "GST_VIDEO_FORMAT_v216")
'("nv12" "GST_VIDEO_FORMAT_NV12")
'("nv21" "GST_VIDEO_FORMAT_NV21")
+ '("gray8" "GST_VIDEO_FORMAT_GRAY8")
+ '("gray16-be" "GST_VIDEO_FORMAT_GRAY16_BE")
+ '("gray16-le" "GST_VIDEO_FORMAT_GRAY16_LE")
+ '("v308" "GST_VIDEO_FORMAT_v308")
+ '("y800" "GST_VIDEO_FORMAT_Y800")
+ '("y16" "GST_VIDEO_FORMAT_Y16")
+ '("rgb16" "GST_VIDEO_FORMAT_RGB16")
+ '("bgr16" "GST_VIDEO_FORMAT_BGR16")
+ '("rgb15" "GST_VIDEO_FORMAT_RGB15")
+ '("bgr15" "GST_VIDEO_FORMAT_BGR15")
)
)
@@ -145,6 +155,22 @@
)
)
+(define-function parse_caps_color_matrix
+ (c-name "gst_video_parse_caps_color_matrix")
+ (return-type "const-char*")
+ (parameters
+ '("GstCaps*" "caps")
+ )
+)
+
+(define-function parse_caps_chroma_site
+ (c-name "gst_video_parse_caps_chroma_site")
+ (return-type "const-char*")
+ (parameters
+ '("GstCaps*" "caps")
+ )
+)
+
(define-method new_caps
(of-object "GstVideoFormat")
(c-name "gst_video_format_new_caps")
@@ -202,6 +228,12 @@
(return-type "gboolean")
)
+(define-method is_gray
+ (of-object "GstVideoFormat")
+ (c-name "gst_video_format_is_gray")
+ (return-type "gboolean")
+)
+
(define-method has_alpha
(of-object "GstVideoFormat")
(c-name "gst_video_format_has_alpha")
diff --git a/gst/xoverlay.defs b/gst/xoverlay.defs
index 1fed492..db7072d 100644
--- a/gst/xoverlay.defs
+++ b/gst/xoverlay.defs
@@ -19,6 +19,18 @@
)
)
+(define-method set_render_rectangle
+ (of-object "GstXOverlay")
+ (c-name "gst_x_overlay_set_render_rectangle")
+ (return-type "gboolean")
+ (parameters
+ '("gint" "x")
+ '("gint" "y")
+ '("gint" "width")
+ '("gint" "height")
+ )
+)
+
(define-method expose
(of-object "GstXOverlay")
(c-name "gst_x_overlay_expose")