2004-02-25 12:12:58 +00:00
|
|
|
;; -*- scheme -*-
|
|
|
|
|
|
|
|
; object definitions ...
|
2005-06-20 21:39:34 +00:00
|
|
|
|
2004-02-25 12:12:58 +00:00
|
|
|
(define-object Object
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GObject")
|
|
|
|
(c-name "GstObject")
|
|
|
|
(gtype-id "GST_TYPE_OBJECT")
|
2005-09-28 12:17:29 +00:00
|
|
|
(fields
|
|
|
|
'("int" "__gstrefcount__")
|
|
|
|
)
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-object Index
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstObject")
|
|
|
|
(c-name "GstIndex")
|
|
|
|
(gtype-id "GST_TYPE_INDEX")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object Element
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstObject")
|
|
|
|
(c-name "GstElement")
|
|
|
|
(gtype-id "GST_TYPE_ELEMENT")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object Bin
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstElement")
|
|
|
|
(c-name "GstBin")
|
|
|
|
(gtype-id "GST_TYPE_BIN")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object Clock
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstObject")
|
|
|
|
(c-name "GstClock")
|
|
|
|
(gtype-id "GST_TYPE_CLOCK")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-object Bus
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstObject")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "GstBus")
|
|
|
|
(gtype-id "GST_TYPE_BUS")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-object Pad
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parent "GstObject")
|
|
|
|
(c-name "GstPad")
|
|
|
|
(gtype-id "GST_TYPE_PAD")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
|
2005-07-25 11:29:47 +00:00
|
|
|
(define-object GhostPad
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstPad")
|
|
|
|
(c-name "GstGhostPad")
|
|
|
|
(gtype-id "GST_TYPE_GHOST_PAD")
|
|
|
|
)
|
|
|
|
|
2004-02-25 12:12:58 +00:00
|
|
|
(define-object PadTemplate
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstObject")
|
|
|
|
(c-name "GstPadTemplate")
|
|
|
|
(gtype-id "GST_TYPE_PAD_TEMPLATE")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object Pipeline
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstBin")
|
|
|
|
(c-name "GstPipeline")
|
|
|
|
(gtype-id "GST_TYPE_PIPELINE")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object PluginFeature
|
|
|
|
(in-module "Gst")
|
2005-09-28 10:58:50 +00:00
|
|
|
(parent "GstObject")
|
2004-02-25 12:12:58 +00:00
|
|
|
(c-name "GstPluginFeature")
|
|
|
|
(gtype-id "GST_TYPE_PLUGIN_FEATURE")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object IndexFactory
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstPluginFeature")
|
|
|
|
(c-name "GstIndexFactory")
|
|
|
|
(gtype-id "GST_TYPE_INDEX_FACTORY")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object ElementFactory
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstPluginFeature")
|
|
|
|
(c-name "GstElementFactory")
|
|
|
|
(gtype-id "GST_TYPE_ELEMENT_FACTORY")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object Registry
|
|
|
|
(in-module "Gst")
|
2005-09-28 10:58:50 +00:00
|
|
|
(parent "GstObject")
|
2004-02-25 12:12:58 +00:00
|
|
|
(c-name "GstRegistry")
|
|
|
|
(gtype-id "GST_TYPE_REGISTRY")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object SystemClock
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstClock")
|
|
|
|
(c-name "GstSystemClock")
|
|
|
|
(gtype-id "GST_TYPE_SYSTEM_CLOCK")
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-object Task
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parent "GstObject")
|
|
|
|
(c-name "GstTask")
|
|
|
|
(gtype-id "GST_TYPE_TASK")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-object TypeFindFactory
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstPluginFeature")
|
|
|
|
(c-name "GstTypeFindFactory")
|
|
|
|
(gtype-id "GST_TYPE_TYPE_FIND_FACTORY")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object XML
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstObject")
|
|
|
|
(c-name "GstXML")
|
|
|
|
(gtype-id "GST_TYPE_XML")
|
|
|
|
)
|
|
|
|
|
2005-11-18 16:26:05 +00:00
|
|
|
(define-object NetClientClock
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstSystemClock")
|
|
|
|
(c-name "GstNetClientClock")
|
|
|
|
(gtype-id "GST_TYPE_NET_CLIENT_CLOCK")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-object NetTimeProvider
|
|
|
|
(in-module "Gst")
|
|
|
|
(parent "GstObject")
|
|
|
|
(c-name "GstNetTimeProvider")
|
|
|
|
(gtype-id "GST_TYPE_NET_TIME_PROVIDER")
|
|
|
|
)
|
|
|
|
|
2005-06-20 21:39:34 +00:00
|
|
|
;;
|
|
|
|
;; MiniObject types
|
|
|
|
;;
|
|
|
|
|
2005-06-26 12:35:07 +00:00
|
|
|
(define-miniobject Buffer
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parent "GstMiniObject")
|
2004-02-25 12:12:58 +00:00
|
|
|
(c-name "GstBuffer")
|
|
|
|
(gtype-id "GST_TYPE_BUFFER")
|
2005-06-26 13:59:34 +00:00
|
|
|
(fields
|
2005-09-01 14:50:01 +00:00
|
|
|
'("guint8" "data")
|
2005-06-26 13:59:34 +00:00
|
|
|
'("guint" "size")
|
|
|
|
'("GstClockTime" "timestamp")
|
|
|
|
'("GstClockTime" "duration")
|
|
|
|
'("guint64" "offset")
|
|
|
|
'("guint64" "offset_end")
|
2005-09-01 14:50:01 +00:00
|
|
|
'("GstCaps*" "caps")
|
2005-06-26 13:59:34 +00:00
|
|
|
)
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
|
2005-06-26 12:35:07 +00:00
|
|
|
(define-miniobject Event
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parent "GstMiniObject")
|
|
|
|
(c-name "GstEvent")
|
|
|
|
(gtype-id "GST_TYPE_EVENT")
|
2005-06-26 13:59:34 +00:00
|
|
|
(fields
|
|
|
|
'("GstEventType" "type")
|
|
|
|
'("guint64" "timestamp")
|
|
|
|
'("GstObject*" "src")
|
|
|
|
)
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
|
2005-06-26 12:35:07 +00:00
|
|
|
(define-miniobject Message
|
2005-01-10 17:29:47 +00:00
|
|
|
(in-module "Gst")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parent "GstMiniObject")
|
|
|
|
(c-name "GstMessage")
|
|
|
|
(gtype-id "GST_TYPE_MESSAGE")
|
2005-06-26 13:59:34 +00:00
|
|
|
(fields
|
|
|
|
'("GstMessageType" "type")
|
|
|
|
'("guint64" "timestamp")
|
|
|
|
'("GstObject*" "src")
|
|
|
|
'("GstStructure*" "structure")
|
|
|
|
)
|
2005-01-10 17:29:47 +00:00
|
|
|
)
|
|
|
|
|
2005-06-26 12:35:07 +00:00
|
|
|
(define-miniobject Query
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
2005-06-17 10:59:47 +00:00
|
|
|
(parent "GstMiniObject")
|
|
|
|
(c-name "GstQuery")
|
|
|
|
(gtype-id "GST_TYPE_QUERY")
|
2005-06-26 13:59:34 +00:00
|
|
|
(fields
|
|
|
|
'("GstQueryType" "type")
|
|
|
|
'("GstStructure*" "structure")
|
|
|
|
)
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
|
|
|
|
;;
|
|
|
|
;; Boxed types
|
|
|
|
;;
|
|
|
|
|
|
|
|
(define-boxed Caps
|
2004-03-09 14:54:57 +00:00
|
|
|
(in-module "Gst")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "GstCaps")
|
|
|
|
(gtype-id "GST_TYPE_CAPS")
|
2005-10-05 17:18:32 +00:00
|
|
|
(fields
|
|
|
|
'("int" "__refcount__")
|
|
|
|
)
|
2004-03-09 14:54:57 +00:00
|
|
|
)
|
|
|
|
|
2005-09-18 11:06:42 +00:00
|
|
|
(define-object Plugin
|
2004-07-15 10:15:18 +00:00
|
|
|
(in-module "Gst")
|
2005-09-18 11:06:42 +00:00
|
|
|
(parent "GstObject")
|
2004-07-15 10:15:18 +00:00
|
|
|
(c-name "GstPlugin")
|
|
|
|
(gtype-id "GST_TYPE_PLUGIN")
|
|
|
|
)
|
2004-02-25 12:12:58 +00:00
|
|
|
|
|
|
|
(define-boxed Structure
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstStructure")
|
|
|
|
(gtype-id "GST_TYPE_STRUCTURE")
|
2004-03-24 10:31:35 +00:00
|
|
|
(copy-func "gst_structure_copy")
|
|
|
|
(release-func "gst_structure_unref")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(define-boxed TagList
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstTagList")
|
|
|
|
(gtype-id "GST_TYPE_TAG_LIST")
|
|
|
|
)
|
|
|
|
|
gst/: Added GError wrapping,
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
Added GError wrapping,
Removed data field from Buffer,
Added virtual methods to object
Updated to latest API
* gst/gst.override:
wrapped gst_plugin_get_feature_list(), gst_uri_handler_get_protocols(),
gst_registry_pool_list()
* gst/gstbuffer.override:
gst.Buffer() works
get/setters fixed
wrapped gst_buffer_stamp()
* gst/gstbus.override:
wrapped gst_bus_set_sync_handler() and gst_bus_add_watch()
* gst/gstelement.override:
wrapped gst_element_send_event(), gst_element_factory_get_pad_templates()
gst_element_query_convert(), gst_element_get_query_types()
* gst/gstevent.override:
wrapped gst_event_discont_get_value()
* gst/gstmessage.override:
wrapped gst_message_parse_state_changed(), gst_message_parse_error(),
gst_message_parse_warning(), gst_message_parse_tag()
* gst/gstmodule.c:
Added registration of new fundamental type with pygtk
* gst/gstpad.override:
wrapped gst_pad_query(), gst_pad_[add|remove]_[data|event|buffer]_probe(),
gst_pad_query_position(), gst_pad_query_convert()
* gst/gstquery.override:
wrapped gst_query_parse_position(), gst_query_parse_convert(),
gst_query_parse_seeking_query(), gst_query_parse_seeking_reponse()
* gst/pygstminiobject.c:
fixes
* gst/Makefile.am:
added gstbus.override, gstmessage.override, gstquery.override
* testsuite/test_buffer.py:
* testsuite/test_element.py:
* testsuite/test_event.py:
* testsuite/test_pipeline.py:
Updating testsuites
2005-07-12 09:45:58 +00:00
|
|
|
(define-boxed GError
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GError")
|
|
|
|
(gtype-id "GST_TYPE_G_ERROR")
|
|
|
|
(copy-func "g_error_copy")
|
|
|
|
(release-func "g_error_free")
|
|
|
|
(fields
|
|
|
|
'("GQuark" "domain")
|
|
|
|
'("gint" "code")
|
|
|
|
'("gchar*" "message"))
|
|
|
|
)
|
|
|
|
|
2005-10-14 17:13:08 +00:00
|
|
|
(define-boxed Date
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstDate")
|
|
|
|
(gtype-id "GST_TYPE_DATE")
|
|
|
|
(fields
|
|
|
|
'("gint" "day")
|
|
|
|
'("gint" "month")
|
|
|
|
'("gint" "year")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 19:13:57 +00:00
|
|
|
(define-boxed Segment
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstSegment")
|
|
|
|
(gtype-id "GST_TYPE_SEGMENT")
|
|
|
|
(fields
|
|
|
|
'("gdouble" "rate")
|
|
|
|
'("gdouble" "abs_rate")
|
|
|
|
'("GstFormat" "format")
|
|
|
|
'("GstSeekFlags" "flags")
|
|
|
|
'("gint64" "start")
|
|
|
|
'("gint64" "stop")
|
|
|
|
'("gint64" "time")
|
|
|
|
'("gint64" "accum")
|
|
|
|
'("gint64" "last_stop")
|
|
|
|
'("gint64" "duration")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2006-04-10 09:21:09 +00:00
|
|
|
(define-boxed IndexEntry
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstIndexEntry")
|
|
|
|
(gtype-id "GST_TYPE_INDEX_ENTRY")
|
|
|
|
)
|
|
|
|
|
2005-12-20 11:15:50 +00:00
|
|
|
(define-pointer StaticPadTemplate
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstStaticPadTemplate")
|
|
|
|
(gtype-id "GST_TYPE_STATIC_PAD_TEMPLATE")
|
|
|
|
(fields
|
|
|
|
'("gchar*" "name_template")
|
|
|
|
'("GstPadDirection" "direction")
|
|
|
|
'("GstPadPresence" "presence")
|
|
|
|
'("GstStaticCaps" "static_caps")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-pointer StaticCaps
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstStaticCaps")
|
|
|
|
(gtype-id "GST_TYPE_STATIC_CAPS")
|
|
|
|
(fields
|
|
|
|
'("GstCaps" "caps")
|
|
|
|
'("const-gchar*" "string")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-25 12:12:58 +00:00
|
|
|
;; Enumerations and flags ...
|
|
|
|
|
2005-10-12 16:26:25 +00:00
|
|
|
(define-flags BinFlags
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstBinFlags")
|
|
|
|
(gtype-id "GST_TYPE_BIN_FLAGS")
|
|
|
|
(values
|
2005-10-12 16:26:25 +00:00
|
|
|
'("last" "GST_BIN_FLAG_LAST")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-flags BufferFlag
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstBufferFlag")
|
|
|
|
(gtype-id "GST_TYPE_BUFFER_FLAG")
|
|
|
|
(values
|
2005-06-17 10:59:47 +00:00
|
|
|
'("readonly" "GST_BUFFER_FLAG_READONLY")
|
|
|
|
'("preroll" "GST_BUFFER_FLAG_PREROLL")
|
|
|
|
'("discont" "GST_BUFFER_FLAG_DISCONT")
|
|
|
|
'("in-caps" "GST_BUFFER_FLAG_IN_CAPS")
|
|
|
|
'("gap" "GST_BUFFER_FLAG_GAP")
|
|
|
|
'("delta-unit" "GST_BUFFER_FLAG_DELTA_UNIT")
|
|
|
|
'("last" "GST_BUFFER_FLAG_LAST")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-12 16:26:25 +00:00
|
|
|
(define-flags BusFlags
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "GstBusFlags")
|
|
|
|
(gtype-id "GST_TYPE_BUS_FLAGS")
|
2004-02-25 12:12:58 +00:00
|
|
|
(values
|
2005-10-12 16:26:25 +00:00
|
|
|
'("flushing" "GST_BUS_FLUSHING")
|
|
|
|
'("flag-last" "GST_BUS_FLAG_LAST")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-enum BusSyncReply
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "GstBusSyncReply")
|
|
|
|
(gtype-id "GST_TYPE_BUS_SYNC_REPLY")
|
2004-02-25 12:12:58 +00:00
|
|
|
(values
|
2005-06-17 10:59:47 +00:00
|
|
|
'("drop" "GST_BUS_DROP")
|
|
|
|
'("pass" "GST_BUS_PASS")
|
|
|
|
'("async" "GST_BUS_ASYNC")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 11:05:33 +00:00
|
|
|
(define-flags CapsFlags
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstCapsFlags")
|
|
|
|
(gtype-id "GST_TYPE_CAPS_FLAGS")
|
|
|
|
(values
|
|
|
|
'("y" "GST_CAPS_FLAGS_ANY")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-25 12:12:58 +00:00
|
|
|
(define-enum ClockReturn
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstClockReturn")
|
|
|
|
(gtype-id "GST_TYPE_CLOCK_RETURN")
|
|
|
|
(values
|
2005-06-17 10:59:47 +00:00
|
|
|
'("ok" "GST_CLOCK_OK")
|
2004-02-25 12:12:58 +00:00
|
|
|
'("early" "GST_CLOCK_EARLY")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("unscheduled" "GST_CLOCK_UNSCHEDULED")
|
|
|
|
'("busy" "GST_CLOCK_BUSY")
|
|
|
|
'("badtime" "GST_CLOCK_BADTIME")
|
2004-02-25 12:12:58 +00:00
|
|
|
'("error" "GST_CLOCK_ERROR")
|
|
|
|
'("unsupported" "GST_CLOCK_UNSUPPORTED")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-enum ClockEntryType
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstClockEntryType")
|
|
|
|
(gtype-id "GST_TYPE_CLOCK_ENTRY_TYPE")
|
|
|
|
(values
|
|
|
|
'("single" "GST_CLOCK_ENTRY_SINGLE")
|
|
|
|
'("periodic" "GST_CLOCK_ENTRY_PERIODIC")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-25 12:12:58 +00:00
|
|
|
(define-flags ClockFlags
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstClockFlags")
|
|
|
|
(gtype-id "GST_TYPE_CLOCK_FLAGS")
|
|
|
|
(values
|
2005-11-21 18:48:19 +00:00
|
|
|
'("can-do-single-sync" "GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC")
|
|
|
|
'("can-do-single-async" "GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC")
|
|
|
|
'("can-do-periodic-sync" "GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC")
|
|
|
|
'("can-do-periodic-async" "GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC")
|
|
|
|
'("can-set-resolution" "GST_CLOCK_FLAG_CAN_SET_RESOLUTION")
|
2005-11-23 09:53:52 +00:00
|
|
|
'("can-set-master" "GST_CLOCK_FLAG_CAN_SET_MASTER")
|
2005-11-21 18:48:19 +00:00
|
|
|
'("last" "GST_CLOCK_FLAG_LAST")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-12 16:26:25 +00:00
|
|
|
(define-flags ElementFlags
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstElementFlags")
|
|
|
|
(gtype-id "GST_TYPE_ELEMENT_FLAGS")
|
|
|
|
(values
|
|
|
|
'("locked-state" "GST_ELEMENT_LOCKED_STATE")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("is-sink" "GST_ELEMENT_IS_SINK")
|
2005-10-11 12:42:53 +00:00
|
|
|
'("unparenting" "GST_ELEMENT_UNPARENTING")
|
2004-02-25 12:12:58 +00:00
|
|
|
'("flag-last" "GST_ELEMENT_FLAG_LAST")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum CoreError
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstCoreError")
|
|
|
|
(gtype-id "GST_TYPE_CORE_ERROR")
|
|
|
|
(values
|
|
|
|
'("failed" "GST_CORE_ERROR_FAILED")
|
|
|
|
'("too-lazy" "GST_CORE_ERROR_TOO_LAZY")
|
|
|
|
'("not-implemented" "GST_CORE_ERROR_NOT_IMPLEMENTED")
|
|
|
|
'("state-change" "GST_CORE_ERROR_STATE_CHANGE")
|
|
|
|
'("pad" "GST_CORE_ERROR_PAD")
|
|
|
|
'("thread" "GST_CORE_ERROR_THREAD")
|
|
|
|
'("negotiation" "GST_CORE_ERROR_NEGOTIATION")
|
|
|
|
'("event" "GST_CORE_ERROR_EVENT")
|
|
|
|
'("seek" "GST_CORE_ERROR_SEEK")
|
|
|
|
'("caps" "GST_CORE_ERROR_CAPS")
|
|
|
|
'("tag" "GST_CORE_ERROR_TAG")
|
2005-11-22 14:15:03 +00:00
|
|
|
'("missing-plugin" "GST_CORE_ERROR_MISSING_PLUGIN")
|
2005-11-23 14:43:26 +00:00
|
|
|
'("clock" "GST_CORE_ERROR_CLOCK")
|
2004-02-25 12:12:58 +00:00
|
|
|
'("num-errors" "GST_CORE_ERROR_NUM_ERRORS")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum LibraryError
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstLibraryError")
|
|
|
|
(gtype-id "GST_TYPE_LIBRARY_ERROR")
|
|
|
|
(values
|
|
|
|
'("failed" "GST_LIBRARY_ERROR_FAILED")
|
|
|
|
'("too-lazy" "GST_LIBRARY_ERROR_TOO_LAZY")
|
|
|
|
'("init" "GST_LIBRARY_ERROR_INIT")
|
|
|
|
'("shutdown" "GST_LIBRARY_ERROR_SHUTDOWN")
|
|
|
|
'("settings" "GST_LIBRARY_ERROR_SETTINGS")
|
|
|
|
'("encode" "GST_LIBRARY_ERROR_ENCODE")
|
|
|
|
'("num-errors" "GST_LIBRARY_ERROR_NUM_ERRORS")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum ResourceError
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstResourceError")
|
|
|
|
(gtype-id "GST_TYPE_RESOURCE_ERROR")
|
|
|
|
(values
|
|
|
|
'("failed" "GST_RESOURCE_ERROR_FAILED")
|
|
|
|
'("too-lazy" "GST_RESOURCE_ERROR_TOO_LAZY")
|
|
|
|
'("not-found" "GST_RESOURCE_ERROR_NOT_FOUND")
|
|
|
|
'("busy" "GST_RESOURCE_ERROR_BUSY")
|
|
|
|
'("open-read" "GST_RESOURCE_ERROR_OPEN_READ")
|
|
|
|
'("open-write" "GST_RESOURCE_ERROR_OPEN_WRITE")
|
|
|
|
'("open-read-write" "GST_RESOURCE_ERROR_OPEN_READ_WRITE")
|
|
|
|
'("close" "GST_RESOURCE_ERROR_CLOSE")
|
|
|
|
'("read" "GST_RESOURCE_ERROR_READ")
|
|
|
|
'("write" "GST_RESOURCE_ERROR_WRITE")
|
|
|
|
'("seek" "GST_RESOURCE_ERROR_SEEK")
|
|
|
|
'("sync" "GST_RESOURCE_ERROR_SYNC")
|
|
|
|
'("settings" "GST_RESOURCE_ERROR_SETTINGS")
|
2006-03-10 10:54:40 +00:00
|
|
|
'("no-space-left" "GST_RESOURCE_ERROR_NO_SPACE_LEFT")
|
2004-02-25 12:12:58 +00:00
|
|
|
'("num-errors" "GST_RESOURCE_ERROR_NUM_ERRORS")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum StreamError
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstStreamError")
|
|
|
|
(gtype-id "GST_TYPE_STREAM_ERROR")
|
|
|
|
(values
|
|
|
|
'("failed" "GST_STREAM_ERROR_FAILED")
|
|
|
|
'("too-lazy" "GST_STREAM_ERROR_TOO_LAZY")
|
|
|
|
'("not-implemented" "GST_STREAM_ERROR_NOT_IMPLEMENTED")
|
|
|
|
'("type-not-found" "GST_STREAM_ERROR_TYPE_NOT_FOUND")
|
|
|
|
'("wrong-type" "GST_STREAM_ERROR_WRONG_TYPE")
|
|
|
|
'("codec-not-found" "GST_STREAM_ERROR_CODEC_NOT_FOUND")
|
|
|
|
'("decode" "GST_STREAM_ERROR_DECODE")
|
|
|
|
'("encode" "GST_STREAM_ERROR_ENCODE")
|
|
|
|
'("demux" "GST_STREAM_ERROR_DEMUX")
|
|
|
|
'("mux" "GST_STREAM_ERROR_MUX")
|
|
|
|
'("format" "GST_STREAM_ERROR_FORMAT")
|
|
|
|
'("num-errors" "GST_STREAM_ERROR_NUM_ERRORS")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-11-21 15:38:03 +00:00
|
|
|
(define-flags EventTypeFlags
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstEventTypeFlags")
|
|
|
|
(gtype-id "GST_TYPE_EVENT_TYPE_FLAGS")
|
|
|
|
(values
|
|
|
|
'("upstream" "GST_EVENT_TYPE_UPSTREAM")
|
|
|
|
'("downstream" "GST_EVENT_TYPE_DOWNSTREAM")
|
|
|
|
'("serialized" "GST_EVENT_TYPE_SERIALIZED")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-25 12:12:58 +00:00
|
|
|
(define-enum EventType
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstEventType")
|
|
|
|
(gtype-id "GST_TYPE_EVENT_TYPE")
|
|
|
|
(values
|
|
|
|
'("unknown" "GST_EVENT_UNKNOWN")
|
2005-10-11 12:42:53 +00:00
|
|
|
'("flush-start" "GST_EVENT_FLUSH_START")
|
|
|
|
'("flush-stop" "GST_EVENT_FLUSH_STOP")
|
2004-02-25 12:12:58 +00:00
|
|
|
'("eos" "GST_EVENT_EOS")
|
2005-10-11 12:42:53 +00:00
|
|
|
'("newsegment" "GST_EVENT_NEWSEGMENT")
|
|
|
|
'("tag" "GST_EVENT_TAG")
|
|
|
|
'("filler" "GST_EVENT_FILLER")
|
|
|
|
'("buffersize" "GST_EVENT_BUFFERSIZE")
|
2004-02-25 12:12:58 +00:00
|
|
|
'("qos" "GST_EVENT_QOS")
|
|
|
|
'("seek" "GST_EVENT_SEEK")
|
|
|
|
'("navigation" "GST_EVENT_NAVIGATION")
|
2005-11-21 15:38:03 +00:00
|
|
|
'("custom-upstream" "GST_EVENT_CUSTOM_UPSTREAM")
|
|
|
|
'("custom-downstream" "GST_EVENT_CUSTOM_DOWNSTREAM")
|
|
|
|
'("custom-downstream-oob" "GST_EVENT_CUSTOM_DOWNSTREAM_OOB")
|
2005-10-11 12:42:53 +00:00
|
|
|
'("custom-both" "GST_EVENT_CUSTOM_BOTH")
|
|
|
|
'("custom-both-oob" "GST_EVENT_CUSTOM_BOTH_OOB")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-08-01 09:59:55 +00:00
|
|
|
(define-enum SeekType
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstSeekType")
|
|
|
|
(gtype-id "GST_TYPE_SEEK_TYPE")
|
|
|
|
(values
|
2005-08-01 09:59:55 +00:00
|
|
|
'("none" "GST_SEEK_TYPE_NONE")
|
|
|
|
'("cur" "GST_SEEK_TYPE_CUR")
|
|
|
|
'("set" "GST_SEEK_TYPE_SET")
|
|
|
|
'("end" "GST_SEEK_TYPE_END")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-08-01 09:59:55 +00:00
|
|
|
(define-flags SeekFlags
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
2005-08-01 09:59:55 +00:00
|
|
|
(c-name "GstSeekFlags")
|
|
|
|
(gtype-id "GST_TYPE_SEEK_FLAGS")
|
2004-02-25 12:12:58 +00:00
|
|
|
(values
|
2005-08-01 09:59:55 +00:00
|
|
|
'("none" "GST_SEEK_FLAG_NONE")
|
|
|
|
'("flush" "GST_SEEK_FLAG_FLUSH")
|
|
|
|
'("accurate" "GST_SEEK_FLAG_ACCURATE")
|
|
|
|
'("key-unit" "GST_SEEK_FLAG_KEY_UNIT")
|
|
|
|
'("segment" "GST_SEEK_FLAG_SEGMENT")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum Format
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstFormat")
|
|
|
|
(gtype-id "GST_TYPE_FORMAT")
|
|
|
|
(values
|
|
|
|
'("undefined" "GST_FORMAT_UNDEFINED")
|
|
|
|
'("default" "GST_FORMAT_DEFAULT")
|
|
|
|
'("bytes" "GST_FORMAT_BYTES")
|
|
|
|
'("time" "GST_FORMAT_TIME")
|
|
|
|
'("buffers" "GST_FORMAT_BUFFERS")
|
|
|
|
'("percent" "GST_FORMAT_PERCENT")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum IndexCertainty
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstIndexCertainty")
|
|
|
|
(gtype-id "GST_TYPE_INDEX_CERTAINTY")
|
|
|
|
(values
|
|
|
|
'("unknown" "GST_INDEX_UNKNOWN")
|
|
|
|
'("certain" "GST_INDEX_CERTAIN")
|
|
|
|
'("fuzzy" "GST_INDEX_FUZZY")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum IndexEntryType
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstIndexEntryType")
|
|
|
|
(gtype-id "GST_TYPE_INDEX_ENTRY_TYPE")
|
|
|
|
(values
|
|
|
|
'("id" "GST_INDEX_ENTRY_ID")
|
|
|
|
'("association" "GST_INDEX_ENTRY_ASSOCIATION")
|
|
|
|
'("object" "GST_INDEX_ENTRY_OBJECT")
|
|
|
|
'("format" "GST_INDEX_ENTRY_FORMAT")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum IndexLookupMethod
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstIndexLookupMethod")
|
|
|
|
(gtype-id "GST_TYPE_INDEX_LOOKUP_METHOD")
|
|
|
|
(values
|
|
|
|
'("exact" "GST_INDEX_LOOKUP_EXACT")
|
|
|
|
'("before" "GST_INDEX_LOOKUP_BEFORE")
|
|
|
|
'("after" "GST_INDEX_LOOKUP_AFTER")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-flags AssocFlags
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstAssocFlags")
|
|
|
|
(gtype-id "GST_TYPE_ASSOC_FLAGS")
|
|
|
|
(values
|
|
|
|
'("none" "GST_ASSOCIATION_FLAG_NONE")
|
|
|
|
'("key-unit" "GST_ASSOCIATION_FLAG_KEY_UNIT")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("delta-unit" "GST_ASSOCIATION_FLAG_DELTA_UNIT")
|
2004-02-25 12:12:58 +00:00
|
|
|
'("last" "GST_ASSOCIATION_FLAG_LAST")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum IndexResolverMethod
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstIndexResolverMethod")
|
|
|
|
(gtype-id "GST_TYPE_INDEX_RESOLVER_METHOD")
|
|
|
|
(values
|
|
|
|
'("custom" "GST_INDEX_RESOLVER_CUSTOM")
|
|
|
|
'("gtype" "GST_INDEX_RESOLVER_GTYPE")
|
|
|
|
'("path" "GST_INDEX_RESOLVER_PATH")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-12 16:26:25 +00:00
|
|
|
(define-flags IndexFlags
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstIndexFlags")
|
|
|
|
(gtype-id "GST_TYPE_INDEX_FLAGS")
|
|
|
|
(values
|
|
|
|
'("writable" "GST_INDEX_WRITABLE")
|
|
|
|
'("readable" "GST_INDEX_READABLE")
|
|
|
|
'("flag-last" "GST_INDEX_FLAG_LAST")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum DebugLevel
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstDebugLevel")
|
|
|
|
(gtype-id "GST_TYPE_DEBUG_LEVEL")
|
|
|
|
(values
|
|
|
|
'("none" "GST_LEVEL_NONE")
|
|
|
|
'("error" "GST_LEVEL_ERROR")
|
|
|
|
'("warning" "GST_LEVEL_WARNING")
|
|
|
|
'("info" "GST_LEVEL_INFO")
|
|
|
|
'("debug" "GST_LEVEL_DEBUG")
|
|
|
|
'("log" "GST_LEVEL_LOG")
|
|
|
|
'("count" "GST_LEVEL_COUNT")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum DebugColorFlags
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstDebugColorFlags")
|
|
|
|
(gtype-id "GST_TYPE_DEBUG_COLOR_FLAGS")
|
|
|
|
(values
|
|
|
|
'("fg-black" "GST_DEBUG_FG_BLACK")
|
|
|
|
'("fg-red" "GST_DEBUG_FG_RED")
|
|
|
|
'("fg-green" "GST_DEBUG_FG_GREEN")
|
|
|
|
'("fg-yellow" "GST_DEBUG_FG_YELLOW")
|
|
|
|
'("fg-blue" "GST_DEBUG_FG_BLUE")
|
|
|
|
'("fg-magenta" "GST_DEBUG_FG_MAGENTA")
|
|
|
|
'("fg-cyan" "GST_DEBUG_FG_CYAN")
|
|
|
|
'("fg-white" "GST_DEBUG_FG_WHITE")
|
|
|
|
'("bg-black" "GST_DEBUG_BG_BLACK")
|
|
|
|
'("bg-red" "GST_DEBUG_BG_RED")
|
|
|
|
'("bg-green" "GST_DEBUG_BG_GREEN")
|
|
|
|
'("bg-yellow" "GST_DEBUG_BG_YELLOW")
|
|
|
|
'("bg-blue" "GST_DEBUG_BG_BLUE")
|
|
|
|
'("bg-magenta" "GST_DEBUG_BG_MAGENTA")
|
|
|
|
'("bg-cyan" "GST_DEBUG_BG_CYAN")
|
|
|
|
'("bg-white" "GST_DEBUG_BG_WHITE")
|
|
|
|
'("bold" "GST_DEBUG_BOLD")
|
|
|
|
'("underline" "GST_DEBUG_UNDERLINE")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-enum IteratorResult
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstIteratorResult")
|
|
|
|
(gtype-id "GST_TYPE_ITERATOR_RESULT")
|
|
|
|
(values
|
|
|
|
'("done" "GST_ITERATOR_DONE")
|
|
|
|
'("ok" "GST_ITERATOR_OK")
|
|
|
|
'("resync" "GST_ITERATOR_RESYNC")
|
|
|
|
'("error" "GST_ITERATOR_ERROR")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum IteratorItem
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstIteratorItem")
|
|
|
|
(gtype-id "GST_TYPE_ITERATOR_ITEM")
|
|
|
|
(values
|
|
|
|
'("skip" "GST_ITERATOR_ITEM_SKIP")
|
|
|
|
'("pass" "GST_ITERATOR_ITEM_PASS")
|
|
|
|
'("end" "GST_ITERATOR_ITEM_END")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-flags MessageType
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstMessageType")
|
|
|
|
(gtype-id "GST_TYPE_MESSAGE_TYPE")
|
|
|
|
(values
|
|
|
|
'("unknown" "GST_MESSAGE_UNKNOWN")
|
|
|
|
'("eos" "GST_MESSAGE_EOS")
|
|
|
|
'("error" "GST_MESSAGE_ERROR")
|
|
|
|
'("warning" "GST_MESSAGE_WARNING")
|
|
|
|
'("info" "GST_MESSAGE_INFO")
|
|
|
|
'("tag" "GST_MESSAGE_TAG")
|
|
|
|
'("buffering" "GST_MESSAGE_BUFFERING")
|
|
|
|
'("state-changed" "GST_MESSAGE_STATE_CHANGED")
|
2005-10-19 15:04:25 +00:00
|
|
|
'("state-dirty" "GST_MESSAGE_STATE_DIRTY")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("step-done" "GST_MESSAGE_STEP_DONE")
|
2005-10-11 12:42:53 +00:00
|
|
|
'("clock-provide" "GST_MESSAGE_CLOCK_PROVIDE")
|
|
|
|
'("clock-lost" "GST_MESSAGE_CLOCK_LOST")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("new-clock" "GST_MESSAGE_NEW_CLOCK")
|
|
|
|
'("structure-change" "GST_MESSAGE_STRUCTURE_CHANGE")
|
|
|
|
'("stream-status" "GST_MESSAGE_STREAM_STATUS")
|
|
|
|
'("application" "GST_MESSAGE_APPLICATION")
|
2005-10-11 12:42:53 +00:00
|
|
|
'("element" "GST_MESSAGE_ELEMENT")
|
2005-07-13 16:29:06 +00:00
|
|
|
'("segment-start" "GST_MESSAGE_SEGMENT_START")
|
|
|
|
'("segment-done" "GST_MESSAGE_SEGMENT_DONE")
|
2005-10-19 15:04:25 +00:00
|
|
|
'("duration" "GST_MESSAGE_DURATION")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("any" "GST_MESSAGE_ANY")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-flags MiniObjectFlags
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstMiniObjectFlags")
|
|
|
|
(gtype-id "GST_TYPE_MINI_OBJECT_FLAGS")
|
|
|
|
(values
|
|
|
|
'("readonly" "GST_MINI_OBJECT_FLAG_READONLY")
|
|
|
|
'("last" "GST_MINI_OBJECT_FLAG_LAST")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-12 16:26:25 +00:00
|
|
|
(define-flags ObjectFlags
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstObjectFlags")
|
|
|
|
(gtype-id "GST_TYPE_OBJECT_FLAGS")
|
|
|
|
(values
|
2005-06-17 10:59:47 +00:00
|
|
|
'("disposing" "GST_OBJECT_DISPOSING")
|
|
|
|
'("floating" "GST_OBJECT_FLOATING")
|
|
|
|
'("flag-last" "GST_OBJECT_FLAG_LAST")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum PadLinkReturn
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstPadLinkReturn")
|
|
|
|
(gtype-id "GST_TYPE_PAD_LINK_RETURN")
|
|
|
|
(values
|
2005-08-01 09:59:55 +00:00
|
|
|
'("ok" "GST_PAD_LINK_OK")
|
|
|
|
'("wrong-hierarchy" "GST_PAD_LINK_WRONG_HIERARCHY")
|
|
|
|
'("was-linked" "GST_PAD_LINK_WAS_LINKED")
|
|
|
|
'("wrong-direction" "GST_PAD_LINK_WRONG_DIRECTION")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("noformat" "GST_PAD_LINK_NOFORMAT")
|
2005-08-01 09:59:55 +00:00
|
|
|
'("nosched" "GST_PAD_LINK_NOSCHED")
|
2004-02-25 12:12:58 +00:00
|
|
|
'("refused" "GST_PAD_LINK_REFUSED")
|
2005-06-17 10:59:47 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum FlowReturn
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstFlowReturn")
|
|
|
|
(gtype-id "GST_TYPE_FLOW_RETURN")
|
|
|
|
(values
|
|
|
|
'("resend" "GST_FLOW_RESEND")
|
2005-07-18 17:13:32 +00:00
|
|
|
'("ok" "GST_FLOW_OK")
|
2005-06-28 16:13:53 +00:00
|
|
|
'("not-linked" "GST_FLOW_NOT_LINKED")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("wrong-state" "GST_FLOW_WRONG_STATE")
|
|
|
|
'("unexpected" "GST_FLOW_UNEXPECTED")
|
2005-07-18 17:13:32 +00:00
|
|
|
'("not-negotiated" "GST_FLOW_NOT_NEGOTIATED")
|
|
|
|
'("error" "GST_FLOW_ERROR")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("not-supported" "GST_FLOW_NOT_SUPPORTED")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum ActivateMode
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstActivateMode")
|
|
|
|
(gtype-id "GST_TYPE_ACTIVATE_MODE")
|
|
|
|
(values
|
|
|
|
'("none" "GST_ACTIVATE_NONE")
|
|
|
|
'("push" "GST_ACTIVATE_PUSH")
|
|
|
|
'("pull" "GST_ACTIVATE_PULL")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum PadDirection
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstPadDirection")
|
|
|
|
(gtype-id "GST_TYPE_PAD_DIRECTION")
|
|
|
|
(values
|
|
|
|
'("unknown" "GST_PAD_UNKNOWN")
|
|
|
|
'("src" "GST_PAD_SRC")
|
|
|
|
'("sink" "GST_PAD_SINK")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-12 16:26:25 +00:00
|
|
|
(define-flags PadFlags
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstPadFlags")
|
|
|
|
(gtype-id "GST_TYPE_PAD_FLAGS")
|
|
|
|
(values
|
2005-06-17 10:59:47 +00:00
|
|
|
'("blocked" "GST_PAD_BLOCKED")
|
|
|
|
'("flushing" "GST_PAD_FLUSHING")
|
|
|
|
'("in-getcaps" "GST_PAD_IN_GETCAPS")
|
|
|
|
'("in-setcaps" "GST_PAD_IN_SETCAPS")
|
2004-02-25 12:12:58 +00:00
|
|
|
'("flag-last" "GST_PAD_FLAG_LAST")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum PadPresence
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstPadPresence")
|
|
|
|
(gtype-id "GST_TYPE_PAD_PRESENCE")
|
|
|
|
(values
|
|
|
|
'("always" "GST_PAD_ALWAYS")
|
|
|
|
'("sometimes" "GST_PAD_SOMETIMES")
|
|
|
|
'("request" "GST_PAD_REQUEST")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-12 16:26:25 +00:00
|
|
|
(define-flags PadTemplateFlags
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstPadTemplateFlags")
|
|
|
|
(gtype-id "GST_TYPE_PAD_TEMPLATE_FLAGS")
|
|
|
|
(values
|
2005-10-12 16:26:25 +00:00
|
|
|
'("fixed" "GST_PAD_TEMPLATE_FIXED")
|
|
|
|
'("flag-last" "GST_PAD_TEMPLATE_FLAG_LAST")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum ParseError
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstParseError")
|
|
|
|
(gtype-id "GST_TYPE_PARSE_ERROR")
|
|
|
|
(values
|
|
|
|
'("syntax" "GST_PARSE_ERROR_SYNTAX")
|
|
|
|
'("no-such-element" "GST_PARSE_ERROR_NO_SUCH_ELEMENT")
|
|
|
|
'("no-such-property" "GST_PARSE_ERROR_NO_SUCH_PROPERTY")
|
|
|
|
'("link" "GST_PARSE_ERROR_LINK")
|
|
|
|
'("could-not-set-property" "GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY")
|
|
|
|
'("empty-bin" "GST_PARSE_ERROR_EMPTY_BIN")
|
|
|
|
'("empty" "GST_PARSE_ERROR_EMPTY")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-10-12 16:26:25 +00:00
|
|
|
(define-flags PipelineFlags
|
2005-06-17 10:59:47 +00:00
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstPipelineFlags")
|
|
|
|
(gtype-id "GST_TYPE_PIPELINE_FLAGS")
|
|
|
|
(values
|
|
|
|
'("fixed-clock" "GST_PIPELINE_FLAG_FIXED_CLOCK")
|
|
|
|
'("last" "GST_PIPELINE_FLAG_LAST")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-25 12:12:58 +00:00
|
|
|
(define-enum PluginError
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstPluginError")
|
|
|
|
(gtype-id "GST_TYPE_PLUGIN_ERROR")
|
|
|
|
(values
|
|
|
|
'("module" "GST_PLUGIN_ERROR_MODULE")
|
|
|
|
'("dependencies" "GST_PLUGIN_ERROR_DEPENDENCIES")
|
|
|
|
'("name-mismatch" "GST_PLUGIN_ERROR_NAME_MISMATCH")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-28 10:58:50 +00:00
|
|
|
(define-flags PluginFlags
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstPluginFlags")
|
|
|
|
(gtype-id "GST_TYPE_PLUGIN_FLAGS")
|
|
|
|
(values
|
|
|
|
'("d" "GST_PLUGIN_FLAG_CACHED")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-02-25 12:12:58 +00:00
|
|
|
(define-enum QueryType
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstQueryType")
|
|
|
|
(gtype-id "GST_TYPE_QUERY_TYPE")
|
|
|
|
(values
|
|
|
|
'("none" "GST_QUERY_NONE")
|
|
|
|
'("position" "GST_QUERY_POSITION")
|
2005-10-19 17:32:29 +00:00
|
|
|
'("duration" "GST_QUERY_DURATION")
|
2004-02-25 12:12:58 +00:00
|
|
|
'("latency" "GST_QUERY_LATENCY")
|
|
|
|
'("jitter" "GST_QUERY_JITTER")
|
|
|
|
'("rate" "GST_QUERY_RATE")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("seeking" "GST_QUERY_SEEKING")
|
2005-09-28 10:58:50 +00:00
|
|
|
'("segment" "GST_QUERY_SEGMENT")
|
2005-06-17 10:59:47 +00:00
|
|
|
'("convert" "GST_QUERY_CONVERT")
|
|
|
|
'("formats" "GST_QUERY_FORMATS")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum TagMergeMode
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstTagMergeMode")
|
|
|
|
(gtype-id "GST_TYPE_TAG_MERGE_MODE")
|
|
|
|
(values
|
|
|
|
'("undefined" "GST_TAG_MERGE_UNDEFINED")
|
|
|
|
'("replace-all" "GST_TAG_MERGE_REPLACE_ALL")
|
|
|
|
'("replace" "GST_TAG_MERGE_REPLACE")
|
|
|
|
'("append" "GST_TAG_MERGE_APPEND")
|
|
|
|
'("prepend" "GST_TAG_MERGE_PREPEND")
|
|
|
|
'("keep" "GST_TAG_MERGE_KEEP")
|
|
|
|
'("keep-all" "GST_TAG_MERGE_KEEP_ALL")
|
|
|
|
'("count" "GST_TAG_MERGE_COUNT")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum TagFlag
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstTagFlag")
|
|
|
|
(gtype-id "GST_TYPE_TAG_FLAG")
|
|
|
|
(values
|
|
|
|
'("undefined" "GST_TAG_FLAG_UNDEFINED")
|
|
|
|
'("meta" "GST_TAG_FLAG_META")
|
|
|
|
'("encoded" "GST_TAG_FLAG_ENCODED")
|
|
|
|
'("decoded" "GST_TAG_FLAG_DECODED")
|
|
|
|
'("count" "GST_TAG_FLAG_COUNT")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-enum TaskState
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "GstTaskState")
|
|
|
|
(gtype-id "GST_TYPE_TASK_STATE")
|
2004-02-25 12:12:58 +00:00
|
|
|
(values
|
2005-06-17 10:59:47 +00:00
|
|
|
'("started" "GST_TASK_STARTED")
|
|
|
|
'("stopped" "GST_TASK_STOPPED")
|
|
|
|
'("paused" "GST_TASK_PAUSED")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-flags AllocTraceFlags
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstAllocTraceFlags")
|
|
|
|
(gtype-id "GST_TYPE_ALLOC_TRACE_FLAGS")
|
|
|
|
(values
|
|
|
|
'("live" "GST_ALLOC_TRACE_LIVE")
|
|
|
|
'("mem-live" "GST_ALLOC_TRACE_MEM_LIVE")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum TypeFindProbability
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstTypeFindProbability")
|
|
|
|
(gtype-id "GST_TYPE_TYPE_FIND_PROBABILITY")
|
|
|
|
(values
|
|
|
|
'("minimum" "GST_TYPE_FIND_MINIMUM")
|
|
|
|
'("possible" "GST_TYPE_FIND_POSSIBLE")
|
|
|
|
'("likely" "GST_TYPE_FIND_LIKELY")
|
|
|
|
'("nearly-certain" "GST_TYPE_FIND_NEARLY_CERTAIN")
|
|
|
|
'("maximum" "GST_TYPE_FIND_MAXIMUM")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-02 16:21:45 +00:00
|
|
|
(define-enum State
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
2005-09-02 16:21:45 +00:00
|
|
|
(c-name "GstState")
|
|
|
|
(gtype-id "GST_TYPE_STATE")
|
2004-02-25 12:12:58 +00:00
|
|
|
(values
|
|
|
|
'("void-pending" "GST_STATE_VOID_PENDING")
|
|
|
|
'("null" "GST_STATE_NULL")
|
|
|
|
'("ready" "GST_STATE_READY")
|
|
|
|
'("paused" "GST_STATE_PAUSED")
|
|
|
|
'("playing" "GST_STATE_PLAYING")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-09-02 16:21:45 +00:00
|
|
|
(define-enum StateChangeReturn
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
2005-09-02 16:21:45 +00:00
|
|
|
(c-name "GstStateChangeReturn")
|
|
|
|
(gtype-id "GST_TYPE_STATE_CHANGE_RETURN")
|
2004-02-25 12:12:58 +00:00
|
|
|
(values
|
2005-09-02 16:21:45 +00:00
|
|
|
'("failure" "GST_STATE_CHANGE_FAILURE")
|
|
|
|
'("success" "GST_STATE_CHANGE_SUCCESS")
|
|
|
|
'("async" "GST_STATE_CHANGE_ASYNC")
|
|
|
|
'("no-preroll" "GST_STATE_CHANGE_NO_PREROLL")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum StateChange
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstStateChange")
|
|
|
|
(gtype-id "GST_TYPE_STATE_CHANGE")
|
|
|
|
(values
|
|
|
|
'("null-to-ready" "GST_STATE_CHANGE_NULL_TO_READY")
|
|
|
|
'("ready-to-paused" "GST_STATE_CHANGE_READY_TO_PAUSED")
|
|
|
|
'("paused-to-playing" "GST_STATE_CHANGE_PAUSED_TO_PLAYING")
|
|
|
|
'("playing-to-paused" "GST_STATE_CHANGE_PLAYING_TO_PAUSED")
|
|
|
|
'("paused-to-ready" "GST_STATE_CHANGE_PAUSED_TO_READY")
|
|
|
|
'("ready-to-null" "GST_STATE_CHANGE_READY_TO_NULL")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2005-06-17 10:59:47 +00:00
|
|
|
(define-enum Rank
|
2004-02-25 12:12:58 +00:00
|
|
|
(in-module "Gst")
|
2005-06-17 10:59:47 +00:00
|
|
|
(c-name "GstRank")
|
|
|
|
(gtype-id "GST_TYPE_RANK")
|
2004-02-25 12:12:58 +00:00
|
|
|
(values
|
2005-06-17 10:59:47 +00:00
|
|
|
'("none" "GST_RANK_NONE")
|
|
|
|
'("marginal" "GST_RANK_MARGINAL")
|
|
|
|
'("secondary" "GST_RANK_SECONDARY")
|
|
|
|
'("primary" "GST_RANK_PRIMARY")
|
2004-02-25 12:12:58 +00:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-enum URIType
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstURIType")
|
|
|
|
(gtype-id "GST_TYPE_URI_TYPE")
|
|
|
|
(values
|
|
|
|
'("unknown" "GST_URI_UNKNOWN")
|
|
|
|
'("sink" "GST_URI_SINK")
|
|
|
|
'("src" "GST_URI_SRC")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2004-10-11 08:51:28 +00:00
|
|
|
(define-interface URIHandler
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstURIHandler")
|
|
|
|
(gtype-id "GST_TYPE_URI_HANDLER")
|
|
|
|
)
|
2004-11-04 15:31:11 +00:00
|
|
|
|
|
|
|
(define-interface TagSetter
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstTagSetter")
|
|
|
|
(gtype-id "GST_TYPE_TAG_SETTER")
|
|
|
|
)
|
|
|
|
|
|
|
|
(define-interface ImplementsInterface
|
|
|
|
(in-module "Gst")
|
|
|
|
(c-name "GstImplementsInterface")
|
|
|
|
(gtype-id "GST_TYPE_IMPLEMENTS_INTERFACE")
|
|
|
|
)
|
|
|
|
|