gst-python: video: wrap force key unit API
Tim Müller
tpm at kemper.freedesktop.org
Wed Apr 11 02:30:16 PDT 2012
Module: gst-python
Branch: master
Commit: ba5a02b86c21df2c70db4c430c26e00636c5d25d
URL: http://cgit.freedesktop.org/gstreamer/gst-python/commit/?id=ba5a02b86c21df2c70db4c430c26e00636c5d25d
Author: Alessandro Decina <alessandro.d at gmail.com>
Date: Sun Aug 7 19:05:14 2011 +0200
video: wrap force key unit API
---
configure.ac | 9 +++++++
gst/Makefile.am | 1 +
gst/gst-pb-0.10.36.ignore | 8 ++++++
gst/gstversion.override.in | 1 +
gst/video.defs | 54 ++++++++++++++++++++++++++++++++++++++++++++
gst/video.override | 1 +
6 files changed, 74 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index e79deda..3544afb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -239,6 +239,13 @@ then
IGNORE_GST_PB_0_10_32=""
fi
+ if test $GST_PB_MINOR_VERSION -lt "36"
+ then
+ IGNORE_GST_PB_0_10_36="gst-pb-0.10.36.ignore"
+ else
+ IGNORE_GST_PB_0_10_36=""
+ fi
+
else
IGNORE_GST_0_10_18=""
IGNORE_GST_0_10_21=""
@@ -258,6 +265,7 @@ else
IGNORE_GST_PB_0_10_30=""
IGNORE_GST_PB_0_10_31=""
IGNORE_GST_PB_0_10_32=""
+ IGNORE_GST_PB_0_10_36=""
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])
@@ -280,6 +288,7 @@ AC_SUBST(IGNORE_GST_PB_0_10_29)
AC_SUBST(IGNORE_GST_PB_0_10_30)
AC_SUBST(IGNORE_GST_PB_0_10_31)
AC_SUBST(IGNORE_GST_PB_0_10_32)
+AC_SUBST(IGNORE_GST_PB_0_10_36)
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 4426a3a..e43c8ff 100644
--- a/gst/Makefile.am
+++ b/gst/Makefile.am
@@ -45,6 +45,7 @@ versioned_overrides = \
gst-pb-0.10.30.ignore \
gst-pb-0.10.31.ignore \
gst-pb-0.10.32.ignore \
+ gst-pb-0.10.36.ignore \
gst-disable-loadsave.ignore
INCLUDES = $(PYTHON_INCLUDES)
diff --git a/gst/gst-pb-0.10.36.ignore b/gst/gst-pb-0.10.36.ignore
new file mode 100644
index 0000000..f3bb001
--- /dev/null
+++ b/gst/gst-pb-0.10.36.ignore
@@ -0,0 +1,8 @@
+%%
+ignore
+ gst_video_event_new_downstream_force_key_unit
+ gst_video_event_parse_downstream_force_key_unit
+ gst_video_event_new_upstream_force_key_unit
+ gst_video_event_parse_upstream_force_key_unit
+ gst_video_event_is_force_key_unit
+%%
diff --git a/gst/gstversion.override.in b/gst/gstversion.override.in
index fd340aa..e1c449b 100644
--- a/gst/gstversion.override.in
+++ b/gst/gstversion.override.in
@@ -18,4 +18,5 @@ include
@IGNORE_GST_PB_0_10_31@
@IGNORE_GST_0_10_32@
@IGNORE_GST_PB_0_10_32@
+ at IGNORE_GST_PB_0_10_36@
%%
diff --git a/gst/video.defs b/gst/video.defs
index 744721e..b4cf2fd 100644
--- a/gst/video.defs
+++ b/gst/video.defs
@@ -369,3 +369,57 @@
'("GDestroyNotify" "destroy_notify")
)
)
+
+(define-function event_new_downstream_force_key_unit
+ (c-name "gst_video_event_new_downstream_force_key_unit")
+ (return-type "GstEvent*")
+ (parameters
+ '("GstClockTime" "timestamp")
+ '("GstClockTime" "streamtime")
+ '("GstClockTime" "runningtime")
+ '("gboolean" "all_headers")
+ '("guint" "count")
+ )
+)
+
+(define-function event_parse_downstream_force_key_unit
+ (c-name "gst_video_event_parse_downstream_force_key_unit")
+ (return-type "gboolean")
+ (parameters
+ '("GstEvent*" "event")
+ '("GstClockTime*" "timestamp")
+ '("GstClockTime*" "streamtime")
+ '("GstClockTime*" "runningtime")
+ '("gboolean*" "all_headers")
+ '("guint*" "count")
+ )
+)
+
+(define-function event_new_upstream_force_key_unit
+ (c-name "gst_video_event_new_upstream_force_key_unit")
+ (return-type "GstEvent*")
+ (parameters
+ '("GstClockTime" "running_time")
+ '("gboolean" "all_headers")
+ '("guint" "count")
+ )
+)
+
+(define-function event_parse_upstream_force_key_unit
+ (c-name "gst_video_event_parse_upstream_force_key_unit")
+ (return-type "gboolean")
+ (parameters
+ '("GstEvent*" "event")
+ '("GstClockTime*" "running_time")
+ '("gboolean*" "all_headers")
+ '("guint*" "count")
+ )
+)
+
+(define-function event_is_force_key_unit
+ (c-name "gst_video_event_is_force_key_unit")
+ (return-type "gboolean")
+ (parameters
+ '("GstEvent*" "event")
+ )
+)
diff --git a/gst/video.override b/gst/video.override
index ad2acd6..d59d6a7 100644
--- a/gst/video.override
+++ b/gst/video.override
@@ -55,6 +55,7 @@ import gst.Message as PyGstMessage_Type
import gst.SystemClock as PyGstSystemClock_Type
import gst.BaseTransform as PyGstBaseTransform_Type
import gst.BaseSink as PyGstBaseSink_Type
+import gst.Event as PyGstEvent_Type
%%
include
gstversion.override
More information about the gstreamer-commits
mailing list