IGNORE_GST_0_10_16=""
fi
+ if test $GST_MINOR_VERSION -lt "18"
+ then
+ IGNORE_GST_0_10_18="gst-0.10.18.ignore"
+ else
+ IGNORE_GST_0_10_18=""
+ fi
+
+ if test $GST_MINOR_VERSION -lt "20"
+ then
+ IGNORE_GST_0_10_20="gst-0.10.20.ignore"
+ else
+ IGNORE_GST_0_10_20=""
+ fi
+
dnl plugins base
if test $GST_PB_MINOR_VERSION -lt "14"
then
AC_DEFINE_UNQUOTED(HAVE_PLUGINS_INSTALL, 1, [We can use the plugins-install methods])
fi
+ if test $GST_PB_MINOR_VERSION -lt "18"
+ then
+ IGNORE_GST_PB_0_10_18="gst-pb-0.10.18.ignore"
+ else
+ IGNORE_GST_PB_0_10_18=""
+ fi
+
else
IGNORE_GST_0_10_13=""
IGNORE_GST_0_10_14=""
IGNORE_GST_0_10_15=""
IGNORE_GST_0_10_16=""
+ IGNORE_GST_0_10_18=""
+ IGNORE_GST_0_10_20=""
IGNORE_GST_PB_0_10_14=""
IGNORE_GST_PB_0_10_16=""
+ IGNORE_GST_PB_0_10_18=""
AC_DEFINE_UNQUOTED(HAVE_PLUGINS_INSTALL, 1, [We can use the plugins-install methods])
fi
AC_DEFINE_UNQUOTED(HAVE_VIDEO_ORIENTATION_INTERFACE, 1, [We can use the videoorientation interface])
AC_SUBST(IGNORE_GST_0_10_14)
AC_SUBST(IGNORE_GST_0_10_15)
AC_SUBST(IGNORE_GST_0_10_16)
+AC_SUBST(IGNORE_GST_0_10_18)
+AC_SUBST(IGNORE_GST_0_10_20)
AC_SUBST(IGNORE_GST_PB_0_10_14)
AC_SUBST(IGNORE_GST_PB_0_10_16)
+AC_SUBST(IGNORE_GST_PB_0_10_18)
AC_SUBST(HAVE_VIDEO_ORIENTATION)
AC_SUBST(HAVE_PLUGINS_INSTALL)
'("demux" "GST_STREAM_ERROR_DEMUX")
'("mux" "GST_STREAM_ERROR_MUX")
'("format" "GST_STREAM_ERROR_FORMAT")
+ '("decrypt" "GST_STREAM_ERROR_DECRYPT")
+ '("decrypt-nokey" "GST_STREAM_ERROR_DECRYPT_NOKEY")
'("num-errors" "GST_STREAM_ERROR_NUM_ERRORS")
)
)
)
)
+(define-flags ParseFlags
+ (in-module "Gst")
+ (c-name "GstParseFlags")
+ (gtype-id "GST_TYPE_PARSE_FLAGS")
+ (values
+ '("none" "GST_PARSE_FLAG_NONE")
+ '("fatal-errors" "GST_PARSE_FLAG_FATAL_ERRORS")
+ )
+)
+
(define-flags PipelineFlags
(in-module "Gst")
(c-name "GstPipelineFlags")
'("segment" "GST_QUERY_SEGMENT")
'("convert" "GST_QUERY_CONVERT")
'("formats" "GST_QUERY_FORMATS")
+ '("buffering" "GST_QUERY_BUFFERING")
+ )
+)
+
+(define-enum BufferingMode
+ (in-module "Gst")
+ (c-name "GstBufferingMode")
+ (gtype-id "GST_TYPE_BUFFERING_MODE")
+ (values
+ '("stream" "GST_BUFFERING_STREAM")
+ '("download" "GST_BUFFERING_DOWNLOAD")
+ '("timeshift" "GST_BUFFERING_TIMESHIFT")
+ '("live" "GST_BUFFERING_LIVE")
)
)
(c-name "gst_caps_set_simple")
(return-type "none")
(parameters
- '("char*" "field")
+ '("const-char*" "field")
)
(varargs #t)
)
(c-name "gst_caps_set_simple_valist")
(return-type "none")
(parameters
- '("char*" "field")
+ '("const-char*" "field")
'("va_list" "varargs")
)
)
(return-type "const-GstStructure*")
)
+(define-method has_name
+ (of-object "GstEvent")
+ (c-name "gst_event_has_name")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "name")
+ )
+)
+
(define-function event_new_flush_start
(c-name "gst_event_new_flush_start")
(return-type "GstEvent*")
)
)
+(define-method set_resolver_full
+ (of-object "GstIndex")
+ (c-name "gst_index_set_resolver_full")
+ (return-type "none")
+ (parameters
+ '("GstIndexResolver" "resolver")
+ '("gpointer" "user_data")
+ '("GDestroyNotify" "user_data_destroy")
+ )
+)
+
(define-method get_writer_id
(of-object "GstIndex")
(c-name "gst_index_get_writer_id")
)
)
+(define-method set_buffering_stats
+ (of-object "GstMessage")
+ (c-name "gst_message_set_buffering_stats")
+ (return-type "none")
+ (parameters
+ '("GstBufferingMode" "mode")
+ '("gint" "avg_in")
+ '("gint" "avg_out")
+ '("gint64" "buffering_left")
+ )
+)
+
+(define-method parse_buffering_stats
+ (of-object "GstMessage")
+ (c-name "gst_message_parse_buffering_stats")
+ (return-type "none")
+ (parameters
+ '("GstBufferingMode*" "mode")
+ '("gint*" "avg_in")
+ '("gint*" "avg_out")
+ '("gint64*" "buffering_left")
+ )
+)
+
(define-method parse_state_changed
(of-object "GstMessage")
(c-name "gst_message_parse_state_changed")
)
)
+(define-function gst_value_dup_mini_object
+ (c-name "gst_value_dup_mini_object")
+ (return-type "GstMiniObject*")
+ (parameters
+ '("const-GValue*" "value")
+ )
+)
;; From ../gstreamer/gst/gstobject.h
(define-function object_get_type
(return-type "GQuark")
)
+(define-function gst_parse_context_new
+ (c-name "gst_parse_context_new")
+ (is-constructor-of "GstParseContext")
+ (return-type "GstParseContext*")
+)
+
+(define-method get_missing_elements
+ (of-object "GstParseContext")
+ (c-name "gst_parse_context_get_missing_elements")
+ (return-type "gchar**")
+)
+
+(define-method free
+ (of-object "GstParseContext")
+ (c-name "gst_parse_context_free")
+ (return-type "none")
+)
+
(define-function parse_launch
(c-name "gst_parse_launch")
(return-type "GstElement*")
)
)
+(define-function parse_launch_full
+ (c-name "gst_parse_launch_full")
+ (return-type "GstElement*")
+ (parameters
+ '("const-gchar*" "pipeline_description")
+ '("GstParseContext*" "context")
+ '("GstParseFlags" "flags")
+ '("GError**" "error")
+ )
+)
+
+(define-function parse_launchv_full
+ (c-name "gst_parse_launchv_full")
+ (return-type "GstElement*")
+ (parameters
+ '("const-gchar**" "argv")
+ '("GstParseContext*" "context")
+ '("GstParseFlags" "flags")
+ '("GError**" "error")
+ )
+)
;; From ../gstreamer/gst/gstpipeline.h
)
)
+;; From gstpoll.h
+
+(define-function gst_poll_new
+ (c-name "gst_poll_new")
+ (is-constructor-of "GstPoll")
+ (return-type "GstPoll*")
+ (parameters
+ '("gboolean" "controllable")
+ )
+)
+
+(define-method free
+ (of-object "GstPoll")
+ (c-name "gst_poll_free")
+ (return-type "none")
+)
+
+(define-method init
+ (of-object "GstPollFD")
+ (c-name "gst_poll_fd_init")
+ (return-type "none")
+)
+
+(define-method add_fd
+ (of-object "GstPoll")
+ (c-name "gst_poll_add_fd")
+ (return-type "gboolean")
+ (parameters
+ '("GstPollFD*" "fd")
+ )
+)
+
+(define-method remove_fd
+ (of-object "GstPoll")
+ (c-name "gst_poll_remove_fd")
+ (return-type "gboolean")
+ (parameters
+ '("GstPollFD*" "fd")
+ )
+)
+
+(define-method fd_ctl_write
+ (of-object "GstPoll")
+ (c-name "gst_poll_fd_ctl_write")
+ (return-type "gboolean")
+ (parameters
+ '("GstPollFD*" "fd")
+ '("gboolean" "active")
+ )
+)
+
+(define-method fd_ctl_read
+ (of-object "GstPoll")
+ (c-name "gst_poll_fd_ctl_read")
+ (return-type "gboolean")
+ (parameters
+ '("GstPollFD*" "fd")
+ '("gboolean" "active")
+ )
+)
+
+(define-method fd_ignored
+ (of-object "GstPoll")
+ (c-name "gst_poll_fd_ignored")
+ (return-type "none")
+ (parameters
+ '("GstPollFD*" "fd")
+ )
+)
+
+(define-method fd_has_closed
+ (of-object "GstPoll")
+ (c-name "gst_poll_fd_has_closed")
+ (return-type "gboolean")
+ (parameters
+ '("GstPollFD*" "fd")
+ )
+)
+
+(define-method fd_has_error
+ (of-object "GstPoll")
+ (c-name "gst_poll_fd_has_error")
+ (return-type "gboolean")
+ (parameters
+ '("GstPollFD*" "fd")
+ )
+)
+
+(define-method fd_can_read
+ (of-object "GstPoll")
+ (c-name "gst_poll_fd_can_read")
+ (return-type "gboolean")
+ (parameters
+ '("GstPollFD*" "fd")
+ )
+)
+
+(define-method fd_can_write
+ (of-object "GstPoll")
+ (c-name "gst_poll_fd_can_write")
+ (return-type "gboolean")
+ (parameters
+ '("GstPollFD*" "fd")
+ )
+)
+
+(define-method wait
+ (of-object "GstPoll")
+ (c-name "gst_poll_wait")
+ (return-type "gint")
+ (parameters
+ '("GstClockTime" "timeout")
+ )
+)
+
+(define-method set_controllable
+ (of-object "GstPoll")
+ (c-name "gst_poll_set_controllable")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean" "controllable")
+ )
+)
+
+(define-method restart
+ (of-object "GstPoll")
+ (c-name "gst_poll_restart")
+ (return-type "none")
+)
+
+(define-method set_flushing
+ (of-object "GstPoll")
+ (c-name "gst_poll_set_flushing")
+ (return-type "none")
+ (parameters
+ '("gboolean" "flushing")
+ )
+)
+
+
+
;; From ../gstreamer/gst/gstquery.h
(define-method get_name