mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 09:00:54 +00:00
video: wrap force key unit API
This commit is contained in:
parent
0a2596c68c
commit
ba5a02b86c
6 changed files with 74 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
8
gst/gst-pb-0.10.36.ignore
Normal file
8
gst/gst-pb-0.10.36.ignore
Normal file
|
@ -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
|
||||
%%
|
|
@ -18,4 +18,5 @@ include
|
|||
@IGNORE_GST_PB_0_10_31@
|
||||
@IGNORE_GST_0_10_32@
|
||||
@IGNORE_GST_PB_0_10_32@
|
||||
@IGNORE_GST_PB_0_10_36@
|
||||
%%
|
||||
|
|
|
@ -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")
|
||||
)
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue