[gstreamermm] Release: regenerated *.defs files according to gstreamer 1.2.4 version



commit a6ccae514009cf67be4b771368ee8bcb28660eba
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Wed Aug 27 21:48:06 2014 +0200

    Release: regenerated *.defs files according to gstreamer 1.2.4 version
    
    I decided to remove patches content, to avoid rubbish (unnecessary entries)
    in a code.
    
        * gstreamer/gstreamermm.h:
        * gstreamer/src/filelist.am: temporary disabled audioresample
          plugin. It can be enabled after wrapping enum
          SpeexResamplerSincFilterMode. Probably audioresample.{hg|ccg}
          cannot be generated.
        * gstreamer/src/gst_docs.xml: regenerated documentation files
        * gstreamer/src/gst_enums.defs:
        * gstreamer/src/gst_methods.defs:
        * gstreamer/src/gst_signals.defs: regnerated enum, methods and
          signals defs file
        * gstreamer/src/gst_enums.defs.patch:
        * gstreamer/src/gst_methods.defs.patch:
        * gstreamer/src/gst_signals.defs.patch: some autogenerated defs
          are incorrect, so we have to apply some patches after
          regeneration.

 gstreamer/gstreamermm.h              |    2 +-
 gstreamer/src/filelist.am            |    3 +-
 gstreamer/src/gst_docs.xml           | 1225 ++++++++++---
 gstreamer/src/gst_enums.defs         |  541 ++++--
 gstreamer/src/gst_enums.defs.patch   |  195 +--
 gstreamer/src/gst_methods.defs       | 3421 ++++++++++++++++++++--------------
 gstreamer/src/gst_methods.defs.patch |  126 --
 gstreamer/src/gst_signals.defs       |  403 ++++-
 gstreamer/src/gst_signals.defs.patch |   80 +-
 9 files changed, 3793 insertions(+), 2203 deletions(-)
---
diff --git a/gstreamer/gstreamermm.h b/gstreamer/gstreamermm.h
index 009894c..7ce41ce 100644
--- a/gstreamer/gstreamermm.h
+++ b/gstreamer/gstreamermm.h
@@ -147,7 +147,7 @@
 #include <gstreamermm/alsasrc.h>
 #include <gstreamermm/audioconvert.h>
 #include <gstreamermm/audiorate.h>
-#include <gstreamermm/audioresample.h>
+//#include <gstreamermm/audioresample.h>
 #include <gstreamermm/audiotestsrc.h>
 #include <gstreamermm/cdparanoiasrc.h>
 #include <gstreamermm/clockoverlay.h>
diff --git a/gstreamer/src/filelist.am b/gstreamer/src/filelist.am
index 78729fd..f948e34 100644
--- a/gstreamer/src/filelist.am
+++ b/gstreamer/src/filelist.am
@@ -22,6 +22,8 @@ files_defs =                    \
 # the same as "CppClassName" - all in lowercase with a .hg extension).  Make
 # sure that the order of both lists correspond.
 
+# TODO: enable audioresample.hg       
+
 plugins_hg =                    \
         adder.hg                \
         alsasink.hg             \
@@ -30,7 +32,6 @@ plugins_hg =                    \
         appsrc.hg               \
         audioconvert.hg         \
         audiorate.hg            \
-        audioresample.hg        \
         audiotestsrc.hg         \
         capsfilter.hg           \
         cdparanoiasrc.hg        \
diff --git a/gstreamer/src/gst_docs.xml b/gstreamer/src/gst_docs.xml
index d8dd783..adeec14 100644
--- a/gstreamer/src/gst_docs.xml
+++ b/gstreamer/src/gst_docs.xml
@@ -183,6 +183,17 @@ on outgoing buffers.
 <return></return>
 </signal>
 
+<signal name="GstAppSrc::current-level-bytes">
+<description>
+The number of currently queued bytes inside appsrc.
+
+
+</description>
+<parameters>
+</parameters>
+<return></return>
+</signal>
+
 <signal name="GstAppSrc::emit-signals">
 <description>
 Make appsrc emit the &quot;need-data&quot;, &quot;enough-data&quot; and &quot;seek-data&quot; signals.
@@ -909,7 +920,7 @@ The different flags that can be used when packing and unpacking.
 
 <enum name="GstAudioRingBufferFormatType">
 <description>
-The format of the samples in the audioringbuffer.
+The format of the samples in the ringbuffer.
 
 </description>
 <parameters>
@@ -966,24 +977,24 @@ The format of the samples in the audioringbuffer.
 
 <enum name="GstAudioRingBufferState">
 <description>
-The state of the audioringbuffer.
+The state of the ringbuffer.
 
 </description>
 <parameters>
 <parameter name="GST_AUDIO_RING_BUFFER_STATE_STOPPED">
-<parameter_description> The audioringbuffer is stopped
+<parameter_description> The ringbuffer is stopped
 </parameter_description>
 </parameter>
 <parameter name="GST_AUDIO_RING_BUFFER_STATE_PAUSED">
-<parameter_description> The audioringbuffer is paused
+<parameter_description> The ringbuffer is paused
 </parameter_description>
 </parameter>
 <parameter name="GST_AUDIO_RING_BUFFER_STATE_STARTED">
-<parameter_description> The audioringbuffer is started
+<parameter_description> The ringbuffer is started
 </parameter_description>
 </parameter>
 <parameter name="GST_AUDIO_RING_BUFFER_STATE_ERROR">
-<parameter_description> The audioringbuffer has encountered an
+<parameter_description> The ringbuffer has encountered an
 error after it has been started, e.g. because the device was
 disconnected (Since 1.2)
 </parameter_description>
@@ -1296,7 +1307,7 @@ The different types of buffering methods.
 </parameter_description>
 </parameter>
 <parameter name="GST_BUFFERING_TIMESHIFT">
-<parameter_description> the stream is being downloaded in a audioringbuffer
+<parameter_description> the stream is being downloaded in a ringbuffer
 </parameter_description>
 </parameter>
 <parameter name="GST_BUFFERING_LIVE">
@@ -1894,6 +1905,27 @@ debugging categories to make them stand out in debugging output.
 </parameters>
 </enum>
 
+<enum name="GstDebugColorMode">
+<description>
+
+</description>
+<parameters>
+<parameter name="GST_DEBUG_COLOR_MODE_OFF">
+<parameter_description> Do not use colors in logs.
+</parameter_description>
+</parameter>
+<parameter name="GST_DEBUG_COLOR_MODE_ON">
+<parameter_description> Paint logs in a platform-specific way.
+</parameter_description>
+</parameter>
+<parameter name="GST_DEBUG_COLOR_MODE_UNIX">
+<parameter_description> Paint logs with UNIX terminal color codes
+no matter what platform GStreamer is running on.
+</parameter_description>
+</parameter>
+</parameters>
+</enum>
+
 <enum name="GstDebugGraphDetails">
 <description>
 Available details for pipeline graphs produced by GST_DEBUG_BIN_TO_DOT_FILE()
@@ -2003,8 +2035,8 @@ ASCII characters.
 
 <signal name="GstDiscoverer::discovered">
 <description>
-Will be emitted when all information on a URI could be discovered, or
-an error ocurred.
+Will be emitted in async mode when all information on a URI could be
+discovered, or an error occurred.
 
 When an error occurs, @info might still contain some partial information,
 depending on the circumstances of the error.
@@ -2032,7 +2064,7 @@ the discoverer.
 
 <signal name="GstDiscoverer::finished">
 <description>
-Will be emitted when all pending URIs have been processed.
+Will be emitted in async mode when all pending URIs have been processed.
 
 </description>
 <parameters>
@@ -2284,11 +2316,6 @@ without a SEGMENT event.
 was found or updated.
 </parameter_description>
 </parameter>
-<parameter name="GST_EVENT_CONTEXT">
-<parameter_description> An event to communicate a #GstContext to other
-elements (Since 1.2)
-</parameter_description>
-</parameter>
 <parameter name="GST_EVENT_QOS">
 <parameter_description> A quality message. Used to indicate to upstream elements
 that the downstream elements should adjust their processing
@@ -3211,6 +3238,14 @@ the next title actually starts playing (which will be some time after
 the URI for the next title has been set).
 </parameter_description>
 </parameter>
+<parameter name="GST_MESSAGE_NEED_CONTEXT">
+<parameter_description> Message indicating that an element wants a specific context (Since 1.2)
+</parameter_description>
+</parameter>
+<parameter name="GST_MESSAGE_HAVE_CONTEXT">
+<parameter_description> Message indicating that an element created a context (Since 1.2)
+</parameter_description>
+</parameter>
 <parameter name="GST_MESSAGE_ANY">
 <parameter_description> mask for all of the above messages.
 </parameter_description>
@@ -3968,6 +4003,11 @@ Parsing options.
 in some cases)
 </parameter_description>
 </parameter>
+<parameter name="GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS">
+<parameter_description> If a bin only has a single element,
+just return the element.
+</parameter_description>
+</parameter>
 </parameters>
 </enum>
 
@@ -4192,7 +4232,8 @@ Standard predefined Query types
 </parameter_description>
 </parameter>
 <parameter name="GST_QUERY_CONTEXT">
-<parameter_description> query the pipeline-local context from downstream
+<parameter_description> query the pipeline-local context from
+downstream or upstream (since 1.2)
 </parameter_description>
 </parameter>
 </parameters>
@@ -5060,6 +5101,12 @@ both reading and writing, or either (but unspecified which).
 <parameter_description> used when the resource has no space left.
 </parameter_description>
 </parameter>
+<parameter name="GST_RESOURCE_ERROR_NOT_AUTHORIZED">
+<parameter_description> used when the resource can't be opened
+due to missing authorization.
+Since: 1.2.4
+</parameter_description>
+</parameter>
 <parameter name="GST_RESOURCE_ERROR_NUM_ERRORS">
 <parameter_description> the number of resource error types.
 </parameter_description>
@@ -5099,7 +5146,7 @@ The different scheduling flags.
 </parameter_description>
 </parameter>
 <parameter name="GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED">
-<parameter_description> if bandwidth is limited and buffering possible
+<parameter_description> if bandwidth is limited and buffering possible (since 1.2)
 </parameter_description>
 </parameter>
 </parameters>
@@ -6514,6 +6561,31 @@ progressive.
 </parameters>
 </enum>
 
+<enum name="GstVideoGLTextureOrientation">
+<description>
+The orientation of the GL texture.
+
+</description>
+<parameters>
+<parameter name="GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL">
+<parameter_description> Top line first in memory, left row first
+</parameter_description>
+</parameter>
+<parameter name="GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_FLIP">
+<parameter_description> Bottom line first in memory, left row first
+</parameter_description>
+</parameter>
+<parameter name="GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_NORMAL">
+<parameter_description> Top line first in memory, right row first
+</parameter_description>
+</parameter>
+<parameter name="GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_FLIP">
+<parameter_description> Bottom line first in memory, right row first
+</parameter_description>
+</parameter>
+</parameters>
+</enum>
+
 <enum name="GstVideoGLTextureType">
 <description>
 The GL texture type.
@@ -7482,9 +7554,10 @@ oven-fresh hot data, or #NULL if @nbytes bytes are not available
 <description>
 Returns a #GstBuffer containing the first @nbytes bytes of the
 @adapter. The returned bytes will be flushed from the adapter.
-This function is potentially more performant than gst_adapter_take()
-since it can reuse the memory in pushed buffers by subbuffering
-or merging.
+This function is potentially more performant than
+gst_adapter_take() since it can reuse the memory in pushed buffers
+by subbuffering or merging. This function will always return a
+buffer with a single memory region.
 
 Note that no assumptions should be made as to whether certain buffer
 flags such as the DISCONT flag are set on the returned buffer, or not.
@@ -7514,6 +7587,48 @@ gst_buffer_unref() when no longer needed.
 </return>
 </function>
 
+<function name="gst_adapter_take_buffer_fast">
+<description>
+Returns a #GstBuffer containing the first @nbytes of the @adapter.
+The returned bytes will be flushed from the adapter.  This function
+is potentially more performant than gst_adapter_take_buffer() since
+it can reuse the memory in pushed buffers by subbuffering or
+merging. Unlike gst_adapter_take_buffer(), the returned buffer may
+be composed of multiple non-contiguous #GstMemory objects, no
+copies are made.
+
+Note that no assumptions should be made as to whether certain buffer
+flags such as the DISCONT flag are set on the returned buffer, or not.
+The caller needs to explicitly set or unset flags that should be set or
+unset.
+
+This function can return buffer up to the return value of
+gst_adapter_available() without making copies if possible.
+
+Caller owns a reference to the returned buffer. gst_buffer_unref() after
+usage.
+
+Free-function: gst_buffer_unref
+
+
+</description>
+<parameters>
+<parameter name="adapter">
+<parameter_description>  a #GstAdapter
+</parameter_description>
+</parameter>
+<parameter name="nbytes">
+<parameter_description> the number of bytes to take
+</parameter_description>
+</parameter>
+</parameters>
+<return> a #GstBuffer containing the first @nbytes of
+the adapter, or #NULL if @nbytes bytes are not available.
+gst_buffer_unref() when no longer needed.
+
+</return>
+</function>
+
 <function name="gst_adapter_take_list">
 <description>
 Returns a #GList of buffers containing the first @nbytes bytes of the
@@ -8049,6 +8164,23 @@ Get the configured caps on @appsrc.
 </return>
 </function>
 
+<function name="gst_app_src_get_current_level_bytes">
+<description>
+Get the number of currently queued bytes inside @appsrc.
+
+
+</description>
+<parameters>
+<parameter name="appsrc">
+<parameter_description> a #GstAppSrc
+</parameter_description>
+</parameter>
+</parameters>
+<return> The number of currently queued bytes.
+
+</return>
+</function>
+
 <function name="gst_app_src_get_emit_signals">
 <description>
 Check if appsrc will emit the &quot;new-preroll&quot; and &quot;new-buffer&quot; signals.
@@ -8484,7 +8616,7 @@ buffer (see gst_object_set_parent()).
 </parameter_description>
 </parameter>
 </parameters>
-<return> The new audioringbuffer of @sink.
+<return> The new ringbuffer of @sink.
 </return>
 </function>
 
@@ -8675,7 +8807,7 @@ buffer (see gst_object_set_parent()).
 </parameter_description>
 </parameter>
 </parameters>
-<return> The new audioringbuffer of @src.
+<return> The new ringbuffer of @src.
 </return>
 </function>
 
@@ -9379,7 +9511,9 @@ MT safe.
 
 <function name="gst_audio_decoder_negotiate">
 <description>
-Negotiate with downstreame elements to currently configured #GstAudioInfo.
+Negotiate with downstream elements to currently configured #GstAudioInfo.
+Unmark GST_PAD_FLAG_NEED_RECONFIGURE in any case. But mark it again if
+negotiate fails.
 
 
 </description>
@@ -9914,7 +10048,9 @@ MT safe.
 
 <function name="gst_audio_encoder_negotiate">
 <description>
-Negotiate with downstreame elements to currently configured #GstCaps.
+Negotiate with downstream elements to currently configured #GstCaps.
+Unmark GST_PAD_FLAG_NEED_RECONFIGURE in any case. But mark it again if
+negotiate fails.
 
 
 </description>
@@ -10625,7 +10761,7 @@ the memory.
 
 <function name="gst_audio_ring_buffer_acquire">
 <description>
-Allocate the resources for the audioringbuffer. This function fills
+Allocate the resources for the ringbuffer. This function fills
 in the data pointer of the ring buffer with a valid #GstBuffer
 to which samples can be written.
 
@@ -10714,7 +10850,7 @@ MT safe.
 
 <function name="gst_audio_ring_buffer_clear_all">
 <description>
-Fill the audioringbuffer with silence.
+Fill the ringbuffer with silence.
 
 MT safe.
 
@@ -10749,17 +10885,17 @@ MT safe.
 
 <function name="gst_audio_ring_buffer_commit">
 <description>
-Commit @in_samples samples pointed to by @data to the audioringbuffer @buf.
+Commit @in_samples samples pointed to by @data to the ringbuffer @buf.
 
 @in_samples and @out_samples define the rate conversion to perform on the
 samples in @data. For negative rates, @out_samples must be negative and
 @in_samples positive.
 
 When @out_samples is positive, the first sample will be written at position @sample
-in the audioringbuffer. When @out_samples is negative, the last sample will be written to
+in the ringbuffer. When @out_samples is negative, the last sample will be written to
 @sample in reverse order.
 
- out_samples does not need to be a multiple of the segment size of the audioringbuffer
+ out_samples does not need to be a multiple of the segment size of the ringbuffer
 although it is recommended for optimal performance.
 
 @accum will hold a temporary accumulator used in rate conversion and should be
@@ -10789,7 +10925,7 @@ MT safe.
 </parameter_description>
 </parameter>
 <parameter name="out_samples">
-<parameter_description> the number of samples to write to the audioringbuffer
+<parameter_description> the number of samples to write to the ringbuffer
 </parameter_description>
 </parameter>
 <parameter name="accum">
@@ -10797,7 +10933,7 @@ MT safe.
 </parameter_description>
 </parameter>
 </parameters>
-<return> The number of samples written to the audioringbuffer or -1 on error. The
+<return> The number of samples written to the ringbuffer or -1 on error. The
 number of samples written can be less than @out_samples when @buf was interrupted
 with a flush or stop.
 </return>
@@ -10871,11 +11007,11 @@ usually less than the segment size but can be bigger when the
 implementation uses another internal buffer between the audio
 device.
 
-For playback audioringbuffers this is the amount of samples transfered from the
+For playback ringbuffers this is the amount of samples transfered from the
 ringbuffer to the device but still not played.
 
-For capture audioringbuffers this is the amount of samples in the device that are
-not yet transfered to the audioringbuffer.
+For capture ringbuffers this is the amount of samples in the device that are
+not yet transfered to the ringbuffer.
 
 
 </description>
@@ -10911,7 +11047,7 @@ MT safe.
 
 <function name="gst_audio_ring_buffer_is_acquired">
 <description>
-Check if the audioringbuffer is acquired and ready to use.
+Check if the ringbuffer is acquired and ready to use.
 
 
 </description>
@@ -10921,7 +11057,7 @@ Check if the audioringbuffer is acquired and ready to use.
 </parameter_description>
 </parameter>
 </parameters>
-<return> TRUE if the audioringbuffer is acquired, FALSE on error.
+<return> TRUE if the ringbuffer is acquired, FALSE on error.
 
 MT safe.
 </return>
@@ -10965,8 +11101,8 @@ MT safe.
 
 <function name="gst_audio_ring_buffer_may_start">
 <description>
-Tell the audioringbuffer that it is allowed to start playback when
-the audioringbuffer is filled with samples. 
+Tell the ringbuffer that it is allowed to start playback when
+the ringbuffer is filled with samples. 
 
 MT safe.
 
@@ -11026,7 +11162,7 @@ Parse @caps into @spec.
 
 <function name="gst_audio_ring_buffer_pause">
 <description>
-Pause processing samples from the audioringbuffer.
+Pause processing samples from the ringbuffer.
 
 
 </description>
@@ -11075,12 +11211,12 @@ MT safe.
 
 <function name="gst_audio_ring_buffer_read">
 <description>
-Read @len samples from the audioringbuffer into the memory pointed 
+Read @len samples from the ringbuffer into the memory pointed 
 to by @data.
 The first sample should be read from position @sample in
-the audioringbuffer.
+the ringbuffer.
 
- len should not be a multiple of the segment size of the audioringbuffer
+ len should not be a multiple of the segment size of the ringbuffer
 although it is recommended.
 
 @timestamp will return the timestamp associated with the data returned.
@@ -11109,7 +11245,7 @@ although it is recommended.
 </parameter_description>
 </parameter>
 </parameters>
-<return> The number of samples read from the audioringbuffer or -1 on
+<return> The number of samples read from the ringbuffer or -1 on
 error.
 
 MT safe.
@@ -11118,7 +11254,7 @@ MT safe.
 
 <function name="gst_audio_ring_buffer_release">
 <description>
-Free the resources of the audioringbuffer.
+Free the resources of the ringbuffer.
 
 
 </description>
@@ -11136,7 +11272,7 @@ MT safe.
 
 <function name="gst_audio_ring_buffer_samples_done">
 <description>
-Get the number of samples that were processed by the audioringbuffer
+Get the number of samples that were processed by the ringbuffer
 since it was last started. This does not include the number of samples not
 yet processed (see gst_audio_ring_buffer_delay()).
 
@@ -11148,7 +11284,7 @@ yet processed (see gst_audio_ring_buffer_delay()).
 </parameter_description>
 </parameter>
 </parameters>
-<return> The number of samples processed by the audioringbuffer.
+<return> The number of samples processed by the ringbuffer.
 
 MT safe.
 </return>
@@ -11181,8 +11317,8 @@ MT safe.
 
 <function name="gst_audio_ring_buffer_set_channel_positions">
 <description>
-Tell the audioringbuffer about the device's channel positions. This must
-be called in when the audioringbuffer is acquired.
+Tell the ringbuffer about the device's channel positions. This must
+be called in when the ringbuffer is acquired.
 
 </description>
 <parameters>
@@ -11200,7 +11336,7 @@ be called in when the audioringbuffer is acquired.
 
 <function name="gst_audio_ring_buffer_set_flushing">
 <description>
-Set the audioringbuffer to flushing mode or normal mode.
+Set the ringbuffer to flushing mode or normal mode.
 
 MT safe.
 
@@ -11223,7 +11359,7 @@ MT safe.
 Make sure that the next sample written to the device is
 accounted for as being the @sample sample written to the
 device. This value will be used in reporting the current
-sample position of the audioringbuffer.
+sample position of the ringbuffer.
 
 This function will also clear the buffer with silence.
 
@@ -11245,7 +11381,7 @@ MT safe.
 
 <function name="gst_audio_ring_buffer_start">
 <description>
-Start processing samples from the audioringbuffer.
+Start processing samples from the ringbuffer.
 
 
 </description>
@@ -11263,7 +11399,7 @@ MT safe.
 
 <function name="gst_audio_ring_buffer_stop">
 <description>
-Stop processing samples from the audioringbuffer.
+Stop processing samples from the ringbuffer.
 
 
 </description>
@@ -14091,6 +14227,80 @@ of @comp.
 <return></return>
 </function>
 
+<function name="gst_buffer_add_video_region_of_interest_meta">
+<description>
+Attaches #GstVideoRegionOfInterestMeta metadata to @buffer with the given
+parameters.
+
+
+</description>
+<parameters>
+<parameter name="buffer">
+<parameter_description> a #GstBuffer
+</parameter_description>
+</parameter>
+<parameter name="roi_type">
+<parameter_description> Type of the region of interest (e.g. &quot;face&quot;)
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> X position
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> Y position
+</parameter_description>
+</parameter>
+<parameter name="w">
+<parameter_description> width
+</parameter_description>
+</parameter>
+<parameter name="h">
+<parameter_description> height
+</parameter_description>
+</parameter>
+</parameters>
+<return> the #GstVideoRegionOfInterestMeta on @buffer.
+</return>
+</function>
+
+<function name="gst_buffer_add_video_region_of_interest_meta_id">
+<description>
+Attaches #GstVideoRegionOfInterestMeta metadata to @buffer with the given
+parameters.
+
+
+</description>
+<parameters>
+<parameter name="buffer">
+<parameter_description> a #GstBuffer
+</parameter_description>
+</parameter>
+<parameter name="roi_type">
+<parameter_description> Type of the region of interest (e.g. &quot;face&quot;)
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> X position
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> Y position
+</parameter_description>
+</parameter>
+<parameter name="w">
+<parameter_description> width
+</parameter_description>
+</parameter>
+<parameter name="h">
+<parameter_description> height
+</parameter_description>
+</parameter>
+</parameters>
+<return> the #GstVideoRegionOfInterestMeta on @buffer.
+</return>
+</function>
+
 <function name="gst_buffer_append">
 <description>
 Append all the memory from @buf2 to @buf1. The result buffer will contain a
@@ -14664,6 +14874,30 @@ on @buffer.
 </return>
 </function>
 
+<function name="gst_buffer_get_video_region_of_interest_meta_id">
+<description>
+Find the #GstVideoRegionOfInterestMeta on @buffer with the given @id.
+
+Buffers can contain multiple #GstVideoRegionOfInterestMeta metadata items if
+multiple regions of interests are marked on a frame.
+
+
+</description>
+<parameters>
+<parameter name="buffer">
+<parameter_description> a #GstBuffer
+</parameter_description>
+</parameter>
+<parameter name="id">
+<parameter_description> a metadata id
+</parameter_description>
+</parameter>
+</parameters>
+<return> the #GstVideoeRegionOfInterestMeta with @id or %NULL when there is
+no such metadata on @buffer.
+</return>
+</function>
+
 <function name="gst_buffer_insert_memory">
 <description>
 Insert the memory block @mem to @buffer at @idx. This function takes ownership
@@ -15285,10 +15519,6 @@ Get the memory block at @idx in @buffer. The memory block stays valid until
 the memory block in @buffer is removed, replaced or merged, typically with
 any call that modifies the memory in @buffer.
 
-Since this call does not influence the refcount of the memory,
-gst_memory_is_writable() can be used to check if @buffer is the sole owner
-of the returned memory.
-
 
 </description>
 <parameters>
@@ -15324,7 +15554,7 @@ can hold a pointer to the new buffer.
 </parameter_description>
 </parameter>
 <parameter name="params">
-<parameter_description> (transfer none) (allow-none) parameters.
+<parameter_description> parameters.
 </parameter_description>
 </parameter>
 </parameters>
@@ -19889,8 +20119,8 @@ checking if there is enough free space available in the byte writer.
 
 <function name="gst_byte_writer_put_int8">
 <description>
-Writes a signed 8 bit integer to @writer without
-checking if there is enough free space available in the byte writer.
+Writes a signed 8 bit integer to @writer.
+
 
 </description>
 <parameters>
@@ -19903,7 +20133,8 @@ checking if there is enough free space available in the byte writer.
 </parameter_description>
 </parameter>
 </parameters>
-<return></return>
+<return> %TRUE if the value could be written
+</return>
 </function>
 
 <function name="gst_byte_writer_put_string">
@@ -20458,6 +20689,7 @@ becomes the owner of @structure.
 Appends @structure with @features to @caps.  The structure is not copied; @caps
 becomes the owner of @structure.
 
+
 </description>
 <parameters>
 <parameter name="caps">
@@ -21052,6 +21284,7 @@ belongs to the #GstCaps.
 </parameters>
 <return> a pointer to the #GstCapsFeatures corresponding
 to @index
+
 </return>
 </function>
 
@@ -21372,6 +21605,7 @@ for more information.
 </parameter>
 </parameters>
 <return> %TRUE if @structure is a subset of @caps
+
 </return>
 </function>
 
@@ -21481,6 +21715,7 @@ Appends @structure with @features to @caps if its not already expressed by @caps
 </parameter>
 </parameters>
 <return> the merged caps.
+
 </return>
 </function>
 
@@ -21694,6 +21929,7 @@ replace the caps pointed to by @ocaps.
 <description>
 Sets the #GstCapsFeatures @features for the structure at @index.
 
+
 </description>
 <parameters>
 <parameter name="caps">
@@ -22056,8 +22292,10 @@ setup an element for a filter test with mysrcpad and mysinkpad
 
 <function name="gst_check_setup_events">
 <description>
-Push stream-start, caps and segment event, which concist of the minimum required
-events to allow streaming. Caps is optional to allow raw src testing.
+Push stream-start, caps and segment event, which concist of the minimum
+required events to allow streaming. Caps is optional to allow raw src
+testing. If @element has more than one src or sink pad, use
+gst_check_setup_events_with_stream_id() instead.
 
 </description>
 <parameters>
@@ -22081,6 +22319,38 @@ events to allow streaming. Caps is optional to allow raw src testing.
 <return></return>
 </function>
 
+<function name="gst_check_setup_events_with_stream_id">
+<description>
+Push stream-start, caps and segment event, which concist of the minimum
+required events to allow streaming. Caps is optional to allow raw src
+testing.
+
+</description>
+<parameters>
+<parameter name="srcpad">
+<parameter_description> The src #GstPad to push on
+</parameter_description>
+</parameter>
+<parameter name="element">
+<parameter_description> The #GstElement use to create the stream id
+</parameter_description>
+</parameter>
+<parameter name="caps">
+<parameter_description> #GstCaps in case caps event must be sent
+</parameter_description>
+</parameter>
+<parameter name="format">
+<parameter_description> The #GstFormat of the default segment to send
+</parameter_description>
+</parameter>
+<parameter name="stream_id">
+<parameter_description> A unique identifier for the stream
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gst_check_setup_sink_pad">
 <description>
 
@@ -23106,6 +23376,23 @@ below for a more details).
 </return>
 </function>
 
+<function name="gst_codec_utils_aac_get_index_from_sample_rate">
+<description>
+Translates the sample rate to the index corresponding to it in AAC spec.
+
+
+</description>
+<parameters>
+<parameter name="rate">
+<parameter_description> Sample rate
+</parameter_description>
+</parameter>
+</parameters>
+<return> The AAC index for this sample rate, -1 if the rate is not a
+valid AAC sample rate.
+</return>
+</function>
+
 <function name="gst_codec_utils_aac_get_level">
 <description>
 Determines the level of a stream as defined in ISO/IEC 14496-3. For AAC LC
@@ -24194,6 +24481,23 @@ MT safe
 </return>
 </function>
 
+<function name="gst_context_get_context_type">
+<description>
+Get the type of @context.
+
+
+</description>
+<parameters>
+<parameter name="context">
+<parameter_description> The #GstContext.
+</parameter_description>
+</parameter>
+</parameters>
+<return> The type of the context.
+
+</return>
+</function>
+
 <function name="gst_context_get_structure">
 <description>
 Access the structure of the context.
@@ -24213,6 +24517,44 @@ free it and that the pointer becomes invalid when you free the context.
 </return>
 </function>
 
+<function name="gst_context_has_context_type">
+<description>
+Checks if @context has @context_type.
+
+
+</description>
+<parameters>
+<parameter name="context">
+<parameter_description> The #GstContext.
+</parameter_description>
+</parameter>
+<parameter name="context_type">
+<parameter_description> Context type to check.
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if @context has @context_type.
+
+</return>
+</function>
+
+<function name="gst_context_is_persistent">
+<description>
+Check if @context is persistent.
+
+
+</description>
+<parameters>
+<parameter name="context">
+<parameter_description> The #GstContext.
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the context is persistent.
+
+</return>
+</function>
+
 <function name="gst_context_is_writable">
 <description>
 Tests if you can safely write into a context's structure or validly
@@ -24254,6 +24596,10 @@ Create a new context.
 
 </description>
 <parameters>
+<parameter name="persistent">
+<parameter_description> Persistent context
+</parameter_description>
+</parameter>
 </parameters>
 <return> The new context.
 
@@ -24782,6 +25128,35 @@ is returned, the caller is responsible for freeing @item and its contents.
 </return>
 </function>
 
+<function name="gst_data_queue_push_force">
+<description>
+Pushes a #GstDataQueueItem (or a structure that begins with the same fields)
+on the @queue. It ignores if the @queue is full or not and forces the @item
+to be pushed anyway.
+MT safe.
+
+Note that this function has slightly different semantics than gst_pad_push()
+and gst_pad_push_event(): this function only takes ownership of @item and
+the #GstMiniObject contained in @item if the push was successful. If FALSE
+is returned, the caller is responsible for freeing @item and its contents.
+
+
+</description>
+<parameters>
+<parameter name="queue">
+<parameter_description> a #GstDataQueue.
+</parameter_description>
+</parameter>
+<parameter name="item">
+<parameter_description> a #GstDataQueueItem.
+</parameter_description>
+</parameter>
+</parameters>
+<return> #TRUE if the @item was successfully pushed on the @queue.
+
+</return>
+</function>
+
 <function name="gst_data_queue_set_flushing">
 <description>
 Sets the queue to flushing state if @flushing is #TRUE. If set to flushing
@@ -25585,6 +25960,19 @@ debug categories
 </return>
 </function>
 
+<function name="gst_debug_get_color_mode">
+<description>
+Changes the coloring mode for debug output.
+
+
+</description>
+<parameters>
+</parameters>
+<return> see @GstDebugColorMode for possible values.
+
+</return>
+</function>
+
 <function name="gst_debug_get_default_threshold">
 <description>
 Returns the default threshold that is used for new categories.
@@ -25851,9 +26239,46 @@ during initialization.&lt;/para&gt;&lt;/note&gt;
 <return></return>
 </function>
 
+<function name="gst_debug_set_color_mode">
+<description>
+Changes the coloring mode for debug output.
+
+This function may be called before gst_init().
+
+
+</description>
+<parameters>
+<parameter name="mode">
+<parameter_description> The coloring mode for debug output. See @GstDebugColorMode.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gst_debug_set_color_mode_from_string">
+<description>
+Changes the coloring mode for debug output.
+
+This function may be called before gst_init().
+
+
+</description>
+<parameters>
+<parameter name="mode">
+<parameter_description> The coloring mode for debug output. One of the following:
+&quot;on&quot;, &quot;auto&quot;, &quot;off&quot;, &quot;disable&quot;, &quot;unix&quot;.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gst_debug_set_colored">
 <description>
 Sets or unsets the use of coloured debugging output.
+Same as gst_debug_set_color_mode () with the argument being
+being GST_DEBUG_COLOR_MODE_ON or GST_DEBUG_COLOR_MODE_OFF.
 
 This function may be called before gst_init().
 
@@ -26832,15 +27257,15 @@ The memory is only mmapped on gst_buffer_mmap() request.
 </return>
 </function>
 
-<function name="gst_dmabuf_allocator_obtain">
+<function name="gst_dmabuf_allocator_new">
 <description>
-Return a dmabuf allocator.
+Return a new dmabuf allocator.
 
 
 </description>
 <parameters>
 </parameters>
-<return> a dmabuf allocator, or NULL if the allocator
+<return> a new dmabuf allocator, or NULL if the allocator
 isn't available. Use gst_object_unref() to release the allocator after
 usage
 
@@ -27683,24 +28108,6 @@ was found. No unreferencing is necessary.
 </return>
 </function>
 
-<function name="gst_element_get_context">
-<description>
-Gets the current context of the element.
-
-MT safe.
-
-
-</description>
-<parameters>
-<parameter name="element">
-<parameter_description> a #GstElement to get the context from.
-</parameter_description>
-</parameter>
-</parameters>
-<return> The current context of the element
-</return>
-</function>
-
 <function name="gst_element_get_factory">
 <description>
 Retrieves the factory that was used to create this element.
@@ -28451,7 +28858,14 @@ Queries an element to convert @src_val in @src_format to @dest_format.
 
 <function name="gst_element_query_duration">
 <description>
-Queries an element for the total stream duration.
+Queries an element (usually top-level pipeline or playbin element) for the
+total stream duration in nanoseconds. This query will only work once the
+pipeline is prerolled (i.e. reached PAUSED or PLAYING state). The application
+will receive an ASYNC_DONE message on the pipeline bus when that is the case.
+
+If the duration changes for some reason, you will get a DURATION_CHANGED
+message on the pipeline bus, in which case you should re-query the duration
+using this function.
 
 
 </description>
@@ -28475,8 +28889,15 @@ Queries an element for the total stream duration.
 
 <function name="gst_element_query_position">
 <description>
-Queries an element for the stream position. If one repeatedly calls this
-function one can also create and reuse it in gst_element_query().
+Queries an element (usually top-level pipeline or playbin element) for the
+stream position in nanoseconds. This will be a value between 0 and the
+stream duration (if the stream duration is known). This query will usually
+only work once the pipeline is prerolled (i.e. reached PAUSED or PLAYING
+state). The application will receive an ASYNC_DONE message on the pipeline
+bus when that is the case.
+
+If one repeatedly calls this function one can also create a query and reuse
+it in gst_element_query().
 
 
 </description>
@@ -30216,24 +30637,6 @@ that will follow after the event.
 </return>
 </function>
 
-<function name="gst_event_new_context">
-<description>
-Create a new context event. The purpose of the context event is
-to pass a pipeline-local context to downstream elements.
-
-
-</description>
-<parameters>
-<parameter name="context">
-<parameter_description> the #GstContext
-</parameter_description>
-</parameter>
-</parameters>
-<return> a new #GstEvent
-
-</return>
-</function>
-
 <function name="gst_event_new_custom">
 <description>
 Create a new custom-typed event. This can be used for anything not
@@ -30833,25 +31236,6 @@ valid.
 <return></return>
 </function>
 
-<function name="gst_event_parse_context">
-<description>
-Parse the context event. Unref @context after usage.
-
-
-</description>
-<parameters>
-<parameter name="event">
-<parameter_description> The event to query
-</parameter_description>
-</parameter>
-<parameter name="context">
-<parameter_description> a pointer to store the #GstContext in.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
 <function name="gst_event_parse_flush_stop">
 <description>
 Parse the FLUSH_STOP event and retrieve the @reset_time member.
@@ -30894,6 +31278,26 @@ the gap, or %NULL
 <return></return>
 </function>
 
+<function name="gst_event_parse_group_id">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a stream-start event
+</parameter_description>
+</parameter>
+<parameter name="group_id">
+<parameter_description> address of variable where to store the group id
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if a group id was set on the event and could be parsed,
+%FALSE otherwise.
+
+</return>
+</function>
+
 <function name="gst_event_parse_latency">
 <description>
 Get the latency in the latency event.
@@ -31223,6 +31627,31 @@ replace the event pointed to by @old_event.
 </return>
 </function>
 
+<function name="gst_event_set_group_id">
+<description>
+All streams that have the same group id are supposed to be played
+together, i.e. all streams inside a container file should have the
+same group id but different stream ids. The group id should change
+each time the stream is started, resulting in different group ids
+each time a file is played for example.
+
+Use gst_util_group_id_next() to get a new group id.
+
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a stream-start event
+</parameter_description>
+</parameter>
+<parameter name="group_id">
+<parameter_description> the group id to set
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gst_event_set_seqnum">
 <description>
 Set the sequence number of a event.
@@ -33983,24 +34412,6 @@ Decrease the refcount of an memory, freeing it if the refcount reaches 0.
 <return></return>
 </function>
 
-<function name="gst_message_add_context_type">
-<description>
-Add a new context type to @message.
-
-</description>
-<parameters>
-<parameter name="message">
-<parameter_description> a GST_MESSAGE_NEED_CONTEXT type message
-</parameter_description>
-</parameter>
-<parameter name="context_type">
-<parameter_description> a context type
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
 <function name="gst_message_copy">
 <description>
 Creates a copy of the message. Returns a copy of the message.
@@ -34019,23 +34430,6 @@ MT safe
 </return>
 </function>
 
-<function name="gst_message_get_n_context_types">
-<description>
-Retrieve the number of values currently stored in the
-context-types array of the message's structure.
-
-
-</description>
-<parameters>
-<parameter name="message">
-<parameter_description> a GST_MESSAGE_NEED_CONTEXT type message
-</parameter_description>
-</parameter>
-</parameters>
-<return> the context-types array size as a #guint.
-</return>
-</function>
-
 <function name="gst_message_get_seqnum">
 <description>
 Retrieve the sequence number of a message.
@@ -34462,6 +34856,7 @@ This message is posted when an element has a new local #GstContext.
 <return> The new have-context message.
 
 MT safe.
+
 </return>
 </function>
 
@@ -34522,10 +34917,15 @@ This message is posted when an element needs a specific #GstContext.
 <parameter_description> The object originating the message.
 </parameter_description>
 </parameter>
+<parameter name="context_type">
+<parameter_description> The context type that is needed
+</parameter_description>
+</parameter>
 </parameters>
 <return> The new need-context message.
 
 MT safe.
+
 </return>
 </function>
 
@@ -35168,6 +35568,27 @@ object, or NULL
 <return></return>
 </function>
 
+<function name="gst_message_parse_context_type">
+<description>
+Parse a context type from an existing GST_MESSAGE_NEED_CONTEXT message.
+
+
+</description>
+<parameters>
+<parameter name="message">
+<parameter_description> a GST_MESSAGE_NEED_CONTEXT type message
+</parameter_description>
+</parameter>
+<parameter name="context_type">
+<parameter_description> the context type, or NULL
+</parameter_description>
+</parameter>
+</parameters>
+<return> a #gboolean indicating if the parsing succeeded.
+
+</return>
+</function>
+
 <function name="gst_message_parse_error">
 <description>
 Extracts the GError and debug string from the GstMessage. The values returned
@@ -35215,12 +35636,37 @@ or NULL
 <return></return>
 </function>
 
+<function name="gst_message_parse_group_id">
+<description>
+Extract the group from the STREAM_START message.
+
+
+</description>
+<parameters>
+<parameter name="message">
+<parameter_description> A valid #GstMessage of type GST_MESSAGE_STREAM_START.
+</parameter_description>
+</parameter>
+<parameter name="group_id">
+<parameter_description> Result location for the group id or
+NULL
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the message had a group id set, %FALSE otherwise
+
+MT safe.
+
+</return>
+</function>
+
 <function name="gst_message_parse_have_context">
 <description>
 Extract the context from the HAVE_CONTEXT message.
 
 MT safe.
 
+
 </description>
 <parameters>
 <parameter name="message">
@@ -35228,7 +35674,8 @@ MT safe.
 </parameter_description>
 </parameter>
 <parameter name="context">
-<parameter_description> Result location for the context or NULL
+<parameter_description> Result location for the
+context or NULL
 </parameter_description>
 </parameter>
 </parameters>
@@ -35283,27 +35730,6 @@ new clock
 <return></return>
 </function>
 
-<function name="gst_message_parse_nth_context_type">
-<description>
-Parse a context type from an existing GST_MESSAGE_NEED_CONTEXT message
-from @index.
-
-
-</description>
-<parameters>
-<parameter name="message">
-<parameter_description> a GST_MESSAGE_NEED_CONTEXT type message
-</parameter_description>
-</parameter>
-<parameter name="context_type">
-<parameter_description> the context type, or NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return> a #gboolean indicating if the parsing succeeded.
-</return>
-</function>
-
 <function name="gst_message_parse_progress">
 <description>
 Parses the progress @type, @code and @text.
@@ -35476,7 +35902,8 @@ MT safe.
 </parameter_description>
 </parameter>
 <parameter name="running_time">
-<parameter_description> Result location for the running_time or NULL
+<parameter_description> Result location for the running_time or
+NULL
 </parameter_description>
 </parameter>
 </parameters>
@@ -35882,6 +36309,33 @@ Configures the buffering stats values in @message.
 <return></return>
 </function>
 
+<function name="gst_message_set_group_id">
+<description>
+Sets the group id on the stream-start message.
+
+All streams that have the same group id are supposed to be played
+together, i.e. all streams inside a container file should have the
+same group id but different stream ids. The group id should change
+each time the stream is started, resulting in different group ids
+each time a file is played for example.
+
+MT safe.
+
+
+</description>
+<parameters>
+<parameter name="message">
+<parameter_description> the message
+</parameter_description>
+</parameter>
+<parameter name="group_id">
+<parameter_description> the group id
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gst_message_set_qos_stats">
 <description>
 Set the QoS stats representing the history of the current continuous pipeline
@@ -36038,6 +36492,21 @@ freeing it.
 <return></return>
 </function>
 
+<function name="gst_meta_api_type_get_tags">
+<description>
+
+</description>
+<parameters>
+<parameter name="api">
+<parameter_description> an API
+</parameter_description>
+</parameter>
+</parameters>
+<return> an array of tags as strings.
+
+</return>
+</function>
+
 <function name="gst_meta_api_type_has_tag">
 <description>
 Check if @api was registered with @tag.
@@ -36120,15 +36589,15 @@ The same @info can be retrieved later with gst_meta_get_info() by using
 </parameter_description>
 </parameter>
 <parameter name="init_func">
-<parameter_description> (scope async) a #GstMetaInitFunction
+<parameter_description> a #GstMetaInitFunction
 </parameter_description>
 </parameter>
 <parameter name="free_func">
-<parameter_description> (scope async) a #GstMetaFreeFunction
+<parameter_description> a #GstMetaFreeFunction
 </parameter_description>
 </parameter>
 <parameter name="transform_func">
-<parameter_description> (scope async) a #GstMetaTransformFunction
+<parameter_description> a #GstMetaTransformFunction
 </parameter_description>
 </parameter>
 </parameters>
@@ -37135,7 +37604,7 @@ Parse the number of commands in the #GstNavigation commands @query.
 </parameter_description>
 </parameter>
 <parameter name="n_cmds">
-<parameter_description> the number of commands in this query.
+<parameter_description> (out) the number of commands in this query.
 </parameter_description>
 </parameter>
 </parameters>
@@ -37161,7 +37630,7 @@ set to #GST_NAVIGATION_COMMAND_INVALID.
 </parameter_description>
 </parameter>
 <parameter name="cmd">
-<parameter_description> a pointer to store the nth command into.
+<parameter_description> (out) a pointer to store the nth command into.
 </parameter_description>
 </parameter>
 </parameters>
@@ -37487,8 +37956,8 @@ Allows network clients to get the current time of @clock.
 </parameter_description>
 </parameter>
 <parameter name="address">
-<parameter_description> an address to bind on as a dotted quad (xxx.xxx.xxx.xxx), IPv6 address, or NULL
-to bind to all addresses
+<parameter_description> an address to bind on as a dotted quad
+(xxx.xxx.xxx.xxx), IPv6 address, or NULL to bind to all addresses
 </parameter_description>
 </parameter>
 <parameter name="port">
@@ -38357,7 +38826,7 @@ stream-id manually instead.
 
 Since stream IDs are sorted alphabetically, any numbers in the
 stream ID should be printed with a fixed number of characters,
-preceded by 0's, such as by using the format %%03u instead of %%u.
+preceded by 0's, such as by using the format \%03u instead of \%u.
 
 
 </description>
@@ -40705,8 +41174,9 @@ gst_parse_context_new(), or %NULL
 </parameter_description>
 </parameter>
 </parameters>
-<return> a newly-created bin, or
-%NULL if an error occurred.
+<return> a newly-created element, which
+is guaranteed to be a bin unless GST_FLAG_NO_SINGLE_ELEMENT_BINS was
+passed, or %NULL if an error occurred.
 </return>
 </function>
 
@@ -40900,7 +41370,8 @@ Adds a codec tag describing the format specified by @caps to @taglist.
 </parameter>
 <parameter name="codec_tag">
 <parameter_description> a GStreamer codec tag such as #GST_TAG_AUDIO_CODEC,
-#GST_TAG_VIDEO_CODEC or #GST_TAG_CODEC
+#GST_TAG_VIDEO_CODEC or #GST_TAG_CODEC. If none is specified,
+the function will attempt to detect the appropriate category.
 </parameter_description>
 </parameter>
 <parameter name="caps">
@@ -41313,7 +41784,7 @@ which will be added to the content of the environment variable, e.g.
 </parameter>
 <parameter name="paths">
 <parameter_description> NULL-terminated array of directories/paths where dependent files
-may be.
+may be, or NULL.
 </parameter_description>
 </parameter>
 <parameter name="names">
@@ -43034,24 +43505,6 @@ start position of the array should be inferior to @start.
 </return>
 </function>
 
-<function name="gst_query_add_context_type">
-<description>
-Add a new context type to @query.
-
-</description>
-<parameters>
-<parameter name="query">
-<parameter_description> a GST_QUERY_NEED_CONTEXT type query
-</parameter_description>
-</parameter>
-<parameter name="context_type">
-<parameter_description> a context type
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
 <function name="gst_query_add_scheduling_mode">
 <description>
 Add @mode as aone of the supported scheduling modes to @query.
@@ -43187,23 +43640,6 @@ buffered-ranges array of the query's structure.
 </return>
 </function>
 
-<function name="gst_query_get_n_context_types">
-<description>
-Retrieve the number of values currently stored in the
-context-types array of the query's structure.
-
-
-</description>
-<parameters>
-<parameter name="query">
-<parameter_description> a GST_QUERY_NEED_CONTEXT type query
-</parameter_description>
-</parameter>
-</parameters>
-<return> the context-types array size as a #guint.
-</return>
-</function>
-
 <function name="gst_query_get_n_scheduling_modes">
 <description>
 Retrieve the number of values currently stored in the
@@ -43428,8 +43864,13 @@ Free-function: gst_query_unref
 
 </description>
 <parameters>
+<parameter name="context_type">
+<parameter_description> Context type to query
+</parameter_description>
+</parameter>
 </parameters>
 <return> a new #GstQuery
+
 </return>
 </function>
 
@@ -43750,7 +44191,7 @@ and @segment_end values, or NULL
 </parameter>
 <parameter name="estimated_total">
 <parameter_description> estimated total amount of download
-time, or NULL
+time remaining in miliseconds, or NULL
 </parameter_description>
 </parameter>
 </parameters>
@@ -43831,6 +44272,7 @@ Get the caps result from @query. The caps remains valid as long as
 Get the context from the context @query. The context remains valid as long as
 @query remains valid.
 
+
 </description>
 <parameters>
 <parameter name="query">
@@ -43845,6 +44287,27 @@ Get the context from the context @query. The context remains valid as long as
 <return></return>
 </function>
 
+<function name="gst_query_parse_context_type">
+<description>
+Parse a context type from an existing GST_QUERY_CONTEXT query.
+
+
+</description>
+<parameters>
+<parameter name="query">
+<parameter_description> a GST_QUERY_CONTEXT type query
+</parameter_description>
+</parameter>
+<parameter name="context_type">
+<parameter_description> the context type, or NULL
+</parameter_description>
+</parameter>
+</parameters>
+<return> a #gboolean indicating if the parsing succeeded.
+
+</return>
+</function>
+
 <function name="gst_query_parse_convert">
 <description>
 Parse a convert query answer. Any of @src_format, @src_value, @dest_format,
@@ -44064,27 +44527,6 @@ at the @index of the buffered ranges array.
 </return>
 </function>
 
-<function name="gst_query_parse_nth_context_type">
-<description>
-Parse a context type from an existing GST_QUERY_NEED_CONTEXT query
-from @index.
-
-
-</description>
-<parameters>
-<parameter name="query">
-<parameter_description> a GST_QUERY_NEED_CONTEXT type query
-</parameter_description>
-</parameter>
-<parameter name="context_type">
-<parameter_description> the context type, or NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return> a #gboolean indicating if the parsing succeeded.
-</return>
-</function>
-
 <function name="gst_query_parse_nth_format">
 <description>
 Parse the format query and retrieve the @nth format from it into
@@ -44272,6 +44714,28 @@ Free the string with g_free() after usage.
 <return></return>
 </function>
 
+<function name="gst_query_parse_uri_redirection">
+<description>
+Parse an URI query, writing the URI into @uri as a newly
+allocated string, if the respective parameters are non-NULL.
+Free the string with g_free() after usage.
+
+
+</description>
+<parameters>
+<parameter name="query">
+<parameter_description> a #GstQuery
+</parameter_description>
+</parameter>
+<parameter name="uri">
+<parameter_description> the storage for the redirect URI
+(may be NULL)
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gst_query_ref">
 <description>
 Increases the refcount of the given query by one.
@@ -44310,6 +44774,7 @@ Remove the metadata API at @index of the metadata API array.
 <description>
 Remove the allocation param at @index of the allocation param array.
 
+
 </description>
 <parameters>
 <parameter name="query">
@@ -44328,6 +44793,7 @@ Remove the allocation param at @index of the allocation param array.
 <description>
 Remove the allocation pool at @index of the allocation pool array.
 
+
 </description>
 <parameters>
 <parameter name="query">
@@ -44433,7 +44899,8 @@ Set the available query result fields in @query.
 </parameter_description>
 </parameter>
 <parameter name="estimated_total">
-<parameter_description> estimated total amount of download time
+<parameter_description> estimated total amount of download time remaining in
+miliseconds
 </parameter_description>
 </parameter>
 </parameters>
@@ -44492,6 +44959,7 @@ Set the @caps result in @query.
 <description>
 Answer a context query by setting the requested context.
 
+
 </description>
 <parameters>
 <parameter name="query">
@@ -44832,6 +45300,25 @@ Answer a URI query by setting the requested URI.
 <return></return>
 </function>
 
+<function name="gst_query_set_uri_redirection">
+<description>
+Answer a URI query by setting the requested URI redirection.
+
+
+</description>
+<parameters>
+<parameter name="query">
+<parameter_description> a #GstQuery with query type GST_QUERY_URI
+</parameter_description>
+</parameter>
+<parameter name="uri">
+<parameter_description> the URI to set
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gst_query_type_get_flags">
 <description>
 Gets the #GstQueryTypeFlags associated with @type.
@@ -45890,7 +46377,7 @@ MT safe.
 </description>
 <parameters>
 <parameter name="buf">
-<parameter_description> the #GstAudioRingBuffer
+<parameter_description> the #GstRingBuffer
 </parameter_description>
 </parameter>
 <parameter name="readseg">
@@ -47672,6 +48159,35 @@ Check if the extension bit is set on the RTP packet in @buffer.
 </return>
 </function>
 
+<function name="gst_rtp_buffer_get_extension_bytes">
+<description>
+Similar to gst_rtp_buffer_get_extension_data, but more suitable for language
+bindings usage. @bits will contain the extension 16 bits of custom data and
+the extension data (not including the extension header) is placed in a new
+#GBytes structure.
+
+If @rtp did not contain an extension, this function will return %NULL, with
+ bits unchanged. If there is an extension header but no extension data then
+an empty #GBytes will be returned.
+
+
+</description>
+<parameters>
+<parameter name="rtp">
+<parameter_description> the RTP packet
+</parameter_description>
+</parameter>
+<parameter name="bits">
+<parameter_description> location for header bits
+</parameter_description>
+</parameter>
+</parameters>
+<return> A new #GBytes if an extension header was present
+and %NULL otherwise.
+
+</return>
+</function>
+
 <function name="gst_rtp_buffer_get_extension_data">
 <description>
 Get the extension data. @bits will contain the extension 16 bits of custom
@@ -47878,6 +48394,25 @@ avoided.
 </return>
 </function>
 
+<function name="gst_rtp_buffer_get_payload_bytes">
+<description>
+Similar to gst_rtp_buffer_get_payload, but more suitable for language
+bindings usage. The return value is a pointer to a #GBytes structure
+containing the payload data in @rtp.
+
+
+</description>
+<parameters>
+<parameter name="rtp">
+<parameter_description> the RTP packet
+</parameter_description>
+</parameter>
+</parameters>
+<return> A new #GBytes containing the payload data in @rtp.
+
+</return>
+</function>
+
 <function name="gst_rtp_buffer_get_payload_len">
 <description>
 Get the length of the payload of the RTP packet in @buffer.
@@ -48795,6 +49330,24 @@ calls. The server is then responsible for configuring the TLS connection.
 </return>
 </function>
 
+<function name="gst_rtsp_connection_get_tls_validation_flags">
+<description>
+Gets the TLS validation flags used to verify the peer certificate
+when a TLS connection is established.
+
+
+</description>
+<parameters>
+<parameter name="conn">
+<parameter_description> a #GstRTSPConnection
+</parameter_description>
+</parameter>
+</parameters>
+<return> the validationg flags.
+
+</return>
+</function>
+
 <function name="gst_rtsp_connection_get_tunnelid">
 <description>
 Get the tunnel session id the connection. 
@@ -49178,6 +49731,29 @@ The default value is %TRUE
 <return></return>
 </function>
 
+<function name="gst_rtsp_connection_set_tls_validation_flags">
+<description>
+Sets the TLS validation flags to be used to verify the peer
+certificate when a TLS connection is established.
+
+
+</description>
+<parameters>
+<parameter name="conn">
+<parameter_description> a #GstRTSPConnection
+</parameter_description>
+</parameter>
+<parameter name="flags">
+<parameter_description> the validation flags.
+</parameter_description>
+</parameter>
+</parameters>
+<return> TRUE if the validation flags are set correctly, or FALSE if
+ conn is NULL or is not a TLS connection.
+
+</return>
+</function>
+
 <function name="gst_rtsp_connection_set_tunneled">
 <description>
 Set the HTTP tunneling state of the connection. This must be configured before
@@ -50539,6 +51115,24 @@ are reached.
 </return>
 </function>
 
+<function name="gst_sample_copy">
+<description>
+Create a copy of the given sample. This will also make a newly allocated
+copy of the data the source sample contains.
+
+
+</description>
+<parameters>
+<parameter name="buf">
+<parameter_description> a #GstSample.
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new copy of @buf.
+
+</return>
+</function>
+
 <function name="gst_sample_get_buffer">
 <description>
 Get the buffer associated with @sample
@@ -50553,6 +51147,8 @@ Get the buffer associated with @sample
 </parameters>
 <return> the buffer of @sample or NULL when there
 is no buffer. The buffer remains valid as long as @sample is valid.
+If you need to hold on to it for longer than that, take a ref to
+the buffer with gst_buffer_ref().
 </return>
 </function>
 
@@ -50570,6 +51166,8 @@ Get the caps associated with @sample
 </parameters>
 <return> the caps of @sample or NULL when there
 is no caps. The caps remain valid as long as @sample is valid.
+If you need to hold on to the caps for longer than that, take a ref to
+the caps with gst_caps_ref().
 </return>
 </function>
 
@@ -52366,7 +52964,10 @@ When -1 is given as @idx, the attribute is inserted at the end.
 </parameter>
 <parameter name="idx">
 <parameter_description> an index
- attribute a #GstSDPAttribute
+</parameter_description>
+</parameter>
+<parameter name="attr">
+<parameter_description> a #GstSDPAttribute
 </parameter_description>
 </parameter>
 </parameters>
@@ -52392,12 +52993,8 @@ When -1 is given as @idx, the bandwidth is inserted at the end.
 <parameter_description> an index
 </parameter_description>
 </parameter>
-<parameter name="bwtype">
-<parameter_description> the bandwidth modifier type
-</parameter_description>
-</parameter>
-<parameter name="bandwidth">
-<parameter_description> the bandwidth in kilobits per second
+<parameter name="bw">
+<parameter_description> the bandwidth
 </parameter_description>
 </parameter>
 </parameters>
@@ -52738,7 +53335,7 @@ Remove the zone information in @msg at index @idx.
 
 <function name="gst_sdp_message_replace_attribute">
 <description>
-Replace the attribute in @msg at index @idx with @attribute.
+Replace the attribute in @msg at index @idx with @attr.
 
 
 </description>
@@ -52751,7 +53348,7 @@ Replace the attribute in @msg at index @idx with @attribute.
 <parameter_description> the index
 </parameter_description>
 </parameter>
-<parameter name="attribute">
+<parameter name="attr">
 <parameter_description> a #GstSDPAttribute
 </parameter_description>
 </parameter>
@@ -52763,7 +53360,7 @@ Replace the attribute in @msg at index @idx with @attribute.
 
 <function name="gst_sdp_message_replace_bandwidth">
 <description>
-Replace the bandwidth information in @msg at index @idx with @bwtype and @bandwidth.
+Replace the bandwidth information in @msg at index @idx with @bw.
 
 
 </description>
@@ -52776,12 +53373,8 @@ Replace the bandwidth information in @msg at index @idx with @bwtype and @bandwi
 <parameter_description> the bandwidth index
 </parameter_description>
 </parameter>
-<parameter name="bwtype">
-<parameter_description> the bandwidth modifier type
-</parameter_description>
-</parameter>
-<parameter name="bandwidth">
-<parameter_description> the bandwidth in kilobits per second
+<parameter name="bw">
+<parameter_description> the bandwidth
 </parameter_description>
 </parameter>
 </parameters>
@@ -53420,6 +54013,33 @@ Free-function: gst_segment_free
 </return>
 </function>
 
+<function name="gst_segment_offset_running_time">
+<description>
+Adjust the values in @segment so that @offset is applied to all
+future running-time calculations.
+
+
+
+</description>
+<parameters>
+<parameter name="segment">
+<parameter_description> a #GstSegment structure.
+</parameter_description>
+</parameter>
+<parameter name="format">
+<parameter_description> the format of the segment.
+</parameter_description>
+</parameter>
+<parameter name="offset">
+<parameter_description> the offset to apply in the segment
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the segment could be updated successfully. If %FALSE is
+returned, @offset is not in @segment.
+</return>
+</function>
+
 <function name="gst_segment_set_running_time">
 <description>
 Adjust the start/stop and base values of @segment such that the next valid
@@ -54876,6 +55496,28 @@ Free-function: gst_structure_free
 </return>
 </function>
 
+<function name="gst_structure_new_from_string">
+<description>
+Creates a #GstStructure from a string representation.
+If end is not NULL, a pointer to the place inside the given string
+where parsing ended will be returned.
+
+Free-function: gst_structure_free
+
+
+</description>
+<parameters>
+<parameter name="string">
+<parameter_description> a string representation of a #GstStructure
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new #GstStructure or NULL when the string could
+not be parsed. Free with gst_structure_free() after use.
+
+</return>
+</function>
+
 <function name="gst_structure_new_id">
 <description>
 Creates a new #GstStructure with the given name as a GQuark, followed by
@@ -60219,6 +60861,22 @@ and @b.
 </return>
 </function>
 
+<function name="gst_util_group_id_next">
+<description>
+Return a constantly incrementing group id.
+
+This function is used to generate a new group-id for the
+stream-start event.
+
+
+</description>
+<parameters>
+</parameters>
+<return> A constantly incrementing unsigned integer, which might
+overflow back to 0 at some point.
+</return>
+</function>
+
 <function name="gst_util_seqnum_compare">
 <description>
 Compare two sequence numbers, handling wraparound.
@@ -60809,7 +61467,7 @@ Gets the bitmask specified by @value.
 </description>
 <parameters>
 <parameter name="value">
-<parameter_description> a GValue initialized to #GST_TYPE_FRACTION
+<parameter_description> a GValue initialized to #GST_TYPE_BITMASK
 </parameter_description>
 </parameter>
 </parameters>
@@ -61365,7 +62023,7 @@ Sets @value to the bitmask specified by @bitmask.
 </description>
 <parameters>
 <parameter name="value">
-<parameter_description> a GValue initialized to #GST_TYPE_FRACTION
+<parameter_description> a GValue initialized to #GST_TYPE_BITMASK
 </parameter_description>
 </parameter>
 <parameter name="bitmask">
@@ -62649,7 +63307,9 @@ MT safe.
 
 <function name="gst_video_decoder_negotiate">
 <description>
-Negotiate with downstreame elements to currently configured #GstVideoCodecState.
+Negotiate with downstream elements to currently configured #GstVideoCodecState.
+Unmark GST_PAD_FLAG_NEED_RECONFIGURE in any case. But mark it again if
+negotiate fails.
 
 
 </description>
@@ -62663,6 +63323,27 @@ Negotiate with downstreame elements to currently configured #GstVideoCodecState.
 </return>
 </function>
 
+<function name="gst_video_decoder_release_frame">
+<description>
+Similar to gst_video_decoder_drop_frame(), but simply releases @frame
+without any processing other than removing it from list of pending frames,
+after which it is considered finished and released.
+
+
+</description>
+<parameters>
+<parameter name="dec">
+<parameter_description> a #GstVideoDecoder
+</parameter_description>
+</parameter>
+<parameter name="frame">
+<parameter_description> the #GstVideoCodecFrame to release
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gst_video_decoder_set_estimate_rate">
 <description>
 Allows baseclass to perform byte to time estimated conversion.
@@ -63018,6 +63699,8 @@ MT safe.
 <function name="gst_video_encoder_negotiate">
 <description>
 Negotiate with downstream elements to currently configured #GstVideoCodecState.
+Unmark GST_PAD_FLAG_NEED_RECONFIGURE in any case. But mark it again if
+negotiate fails.
 
 
 </description>
diff --git a/gstreamer/src/gst_enums.defs b/gstreamer/src/gst_enums.defs
index fe6ded4..80bea1b 100644
--- a/gstreamer/src/gst_enums.defs
+++ b/gstreamer/src/gst_enums.defs
@@ -1,5 +1,3 @@
-;; Apply gst_enums.defs.patch after regenerating.
-
 ;; From gstallocator.h
 
 ;; Original typedef:
@@ -79,7 +77,8 @@
 ;;   GST_BUFFER_COPY_TIMESTAMPS     = (1 << 1),
 ;;   GST_BUFFER_COPY_META           = (1 << 2),
 ;;   GST_BUFFER_COPY_MEMORY         = (1 << 3),
-;;   GST_BUFFER_COPY_MERGE          = (1 << 4)
+;;   GST_BUFFER_COPY_MERGE          = (1 << 4),
+;;   GST_BUFFER_COPY_DEEP           = (1 << 5)
 ;; } GstBufferCopyFlags;
 
 (define-flags-extended BufferCopyFlags
@@ -92,6 +91,7 @@
     '("meta" "GST_BUFFER_COPY_META" "(1 << 2)")
     '("memory" "GST_BUFFER_COPY_MEMORY" "(1 << 3)")
     '("merge" "GST_BUFFER_COPY_MERGE" "(1 << 4)")
+    '("deep" "GST_BUFFER_COPY_DEEP" "(1 << 5)")
   )
 )
 
@@ -457,6 +457,7 @@
 ;;   GST_RESOURCE_ERROR_SYNC,
 ;;   GST_RESOURCE_ERROR_SETTINGS,
 ;;   GST_RESOURCE_ERROR_NO_SPACE_LEFT,
+;;   GST_RESOURCE_ERROR_NOT_AUTHORIZED,
 ;;   GST_RESOURCE_ERROR_NUM_ERRORS
 ;; } GstResourceError;
 
@@ -478,7 +479,8 @@
     '("sync" "GST_RESOURCE_ERROR_SYNC" "12")
     '("settings" "GST_RESOURCE_ERROR_SETTINGS" "13")
     '("no-space-left" "GST_RESOURCE_ERROR_NO_SPACE_LEFT" "14")
-    '("num-errors" "GST_RESOURCE_ERROR_NUM_ERRORS" "15")
+    '("not-authorized" "GST_RESOURCE_ERROR_NOT_AUTHORIZED" "15")
+    '("num-errors" "GST_RESOURCE_ERROR_NUM_ERRORS" "16")
   )
 )
 
@@ -589,32 +591,32 @@
   (in-module "Gst")
   (c-name "GstEventType")
   (values
-    '("unknown" "GST_EVENT_UNKNOWN" "GST_EVENT_MAKE_TYPE (0,  0)")
-    '("flush-start" "GST_EVENT_FLUSH_START" "GST_EVENT_MAKE_TYPE (10,  FLAG(BOTH))")
-    '("flush-stop" "GST_EVENT_FLUSH_STOP" "GST_EVENT_MAKE_TYPE (20,  FLAG(BOTH) | FLAG(SERIALIZED))")
-    '("stream-start" "GST_EVENT_STREAM_START" "GST_EVENT_MAKE_TYPE (40,  FLAG(DOWNSTREAM) | FLAG(SERIALIZED) 
| FLAG(STICKY))")
-    '("caps" "GST_EVENT_CAPS" "GST_EVENT_MAKE_TYPE (50,  FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | 
FLAG(STICKY))")
-    '("segment" "GST_EVENT_SEGMENT" "GST_EVENT_MAKE_TYPE (70,  FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | 
FLAG(STICKY))")
-    '("tag" "GST_EVENT_TAG" "GST_EVENT_MAKE_TYPE (80,  FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY) | 
FLAG(STICKY_MULTI))")
-    '("buffersize" "GST_EVENT_BUFFERSIZE" "GST_EVENT_MAKE_TYPE (90,  FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | 
FLAG(STICKY))")
-    '("sink-message" "GST_EVENT_SINK_MESSAGE" "GST_EVENT_MAKE_TYPE (100,  FLAG(DOWNSTREAM) | 
FLAG(SERIALIZED) | FLAG(STICKY) | FLAG(STICKY_MULTI))")
-    '("eos" "GST_EVENT_EOS" "GST_EVENT_MAKE_TYPE (110,  FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY))")
-    '("toc" "GST_EVENT_TOC" "GST_EVENT_MAKE_TYPE (120,  FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY) | 
FLAG(STICKY_MULTI))")
-    '("segment-done" "GST_EVENT_SEGMENT_DONE" "GST_EVENT_MAKE_TYPE (150,  FLAG(DOWNSTREAM) | 
FLAG(SERIALIZED))")
-    '("gap" "GST_EVENT_GAP" "GST_EVENT_MAKE_TYPE (160,  FLAG(DOWNSTREAM) | FLAG(SERIALIZED))")
-    '("qos" "GST_EVENT_QOS" "GST_EVENT_MAKE_TYPE (190,  FLAG(UPSTREAM))")
-    '("seek" "GST_EVENT_SEEK" "GST_EVENT_MAKE_TYPE (200,  FLAG(UPSTREAM))")
-    '("navigation" "GST_EVENT_NAVIGATION" "GST_EVENT_MAKE_TYPE (210,  FLAG(UPSTREAM))")
-    '("latency" "GST_EVENT_LATENCY" "GST_EVENT_MAKE_TYPE (220,  FLAG(UPSTREAM))")
-    '("step" "GST_EVENT_STEP" "GST_EVENT_MAKE_TYPE (230,  FLAG(UPSTREAM))")
-    '("reconfigure" "GST_EVENT_RECONFIGURE" "GST_EVENT_MAKE_TYPE (240,  FLAG(UPSTREAM))")
-    '("toc-select" "GST_EVENT_TOC_SELECT" "GST_EVENT_MAKE_TYPE (250,  FLAG(UPSTREAM))")
-    '("custom-upstream" "GST_EVENT_CUSTOM_UPSTREAM" "GST_EVENT_MAKE_TYPE (270,  FLAG(UPSTREAM))")
-    '("custom-downstream" "GST_EVENT_CUSTOM_DOWNSTREAM" "GST_EVENT_MAKE_TYPE (280,  FLAG(DOWNSTREAM) | 
FLAG(SERIALIZED))")
-    '("custom-downstream-oob" "GST_EVENT_CUSTOM_DOWNSTREAM_OOB" "GST_EVENT_MAKE_TYPE (290,  
FLAG(DOWNSTREAM))")
-    '("custom-downstream-sticky" "GST_EVENT_CUSTOM_DOWNSTREAM_STICKY" "GST_EVENT_MAKE_TYPE (300,  
FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY) | FLAG(STICKY_MULTI))")
-    '("custom-both" "GST_EVENT_CUSTOM_BOTH" "GST_EVENT_MAKE_TYPE (310,  FLAG(BOTH) | FLAG(SERIALIZED))")
-    '("custom-both-oob" "GST_EVENT_CUSTOM_BOTH_OOB" "GST_EVENT_MAKE_TYPE (320,  FLAG(BOTH))")
+    '("unknown" "GST_EVENT_UNKNOWN" "GST_EVENT_MAKE_TYPE (0, 0)")
+    '("flush-start" "GST_EVENT_FLUSH_START" "GST_EVENT_MAKE_TYPE (10, FLAG(BOTH))")
+    '("flush-stop" "GST_EVENT_FLUSH_STOP" "GST_EVENT_MAKE_TYPE (20, FLAG(BOTH) | FLAG(SERIALIZED))")
+    '("stream-start" "GST_EVENT_STREAM_START" "GST_EVENT_MAKE_TYPE (40, FLAG(DOWNSTREAM) | FLAG(SERIALIZED) 
| FLAG(STICKY))")
+    '("caps" "GST_EVENT_CAPS" "GST_EVENT_MAKE_TYPE (50, FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY))")
+    '("segment" "GST_EVENT_SEGMENT" "GST_EVENT_MAKE_TYPE (70, FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | 
FLAG(STICKY))")
+    '("tag" "GST_EVENT_TAG" "GST_EVENT_MAKE_TYPE (80, FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY) | 
FLAG(STICKY_MULTI))")
+    '("buffersize" "GST_EVENT_BUFFERSIZE" "GST_EVENT_MAKE_TYPE (90, FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | 
FLAG(STICKY))")
+    '("sink-message" "GST_EVENT_SINK_MESSAGE" "GST_EVENT_MAKE_TYPE (100, FLAG(DOWNSTREAM) | FLAG(SERIALIZED) 
| FLAG(STICKY) | FLAG(STICKY_MULTI))")
+    '("eos" "GST_EVENT_EOS" "GST_EVENT_MAKE_TYPE (110, FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY))")
+    '("toc" "GST_EVENT_TOC" "GST_EVENT_MAKE_TYPE (120, FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY) | 
FLAG(STICKY_MULTI))")
+    '("segment-done" "GST_EVENT_SEGMENT_DONE" "GST_EVENT_MAKE_TYPE (150, FLAG(DOWNSTREAM) | 
FLAG(SERIALIZED))")
+    '("gap" "GST_EVENT_GAP" "GST_EVENT_MAKE_TYPE (160, FLAG(DOWNSTREAM) | FLAG(SERIALIZED))")
+    '("qos" "GST_EVENT_QOS" "GST_EVENT_MAKE_TYPE (190, FLAG(UPSTREAM))")
+    '("seek" "GST_EVENT_SEEK" "GST_EVENT_MAKE_TYPE (200, FLAG(UPSTREAM))")
+    '("navigation" "GST_EVENT_NAVIGATION" "GST_EVENT_MAKE_TYPE (210, FLAG(UPSTREAM))")
+    '("latency" "GST_EVENT_LATENCY" "GST_EVENT_MAKE_TYPE (220, FLAG(UPSTREAM))")
+    '("step" "GST_EVENT_STEP" "GST_EVENT_MAKE_TYPE (230, FLAG(UPSTREAM))")
+    '("reconfigure" "GST_EVENT_RECONFIGURE" "GST_EVENT_MAKE_TYPE (240, FLAG(UPSTREAM))")
+    '("toc-select" "GST_EVENT_TOC_SELECT" "GST_EVENT_MAKE_TYPE (250, FLAG(UPSTREAM))")
+    '("custom-upstream" "GST_EVENT_CUSTOM_UPSTREAM" "GST_EVENT_MAKE_TYPE (270, FLAG(UPSTREAM))")
+    '("custom-downstream" "GST_EVENT_CUSTOM_DOWNSTREAM" "GST_EVENT_MAKE_TYPE (280, FLAG(DOWNSTREAM) | 
FLAG(SERIALIZED))")
+    '("custom-downstream-oob" "GST_EVENT_CUSTOM_DOWNSTREAM_OOB" "GST_EVENT_MAKE_TYPE (290, 
FLAG(DOWNSTREAM))")
+    '("custom-downstream-sticky" "GST_EVENT_CUSTOM_DOWNSTREAM_STICKY" "GST_EVENT_MAKE_TYPE (300, 
FLAG(DOWNSTREAM) | FLAG(SERIALIZED) | FLAG(STICKY) | FLAG(STICKY_MULTI))")
+    '("custom-both" "GST_EVENT_CUSTOM_BOTH" "GST_EVENT_MAKE_TYPE (310, FLAG(BOTH) | FLAG(SERIALIZED))")
+    '("custom-both-oob" "GST_EVENT_CUSTOM_BOTH_OOB" "GST_EVENT_MAKE_TYPE (320, FLAG(BOTH))")
   )
 )
 
@@ -635,6 +637,25 @@
   )
 )
 
+;; Original typedef:
+;; typedef enum {
+;;   GST_STREAM_FLAG_NONE,
+;;   GST_STREAM_FLAG_SPARSE       = (1 << 0),
+;;   GST_STREAM_FLAG_SELECT       = (1 << 1),
+;;   GST_STREAM_FLAG_UNSELECT     = (1 << 2)
+;; } GstStreamFlags;
+
+(define-flags-extended StreamFlags
+  (in-module "Gst")
+  (c-name "GstStreamFlags")
+  (values
+    '("none" "GST_STREAM_FLAG_NONE" "0x0")
+    '("sparse" "GST_STREAM_FLAG_SPARSE" "(1 << 0)")
+    '("select" "GST_STREAM_FLAG_SELECT" "(1 << 1)")
+    '("unselect" "GST_STREAM_FLAG_UNSELECT" "(1 << 2)")
+  )
+)
+
 ;; From gstformat.h
 
 ;; Original typedef:
@@ -745,6 +766,23 @@
   )
 )
 
+;; Original typedef:
+;; typedef enum {
+;;   GST_DEBUG_COLOR_MODE_OFF  = 0,
+;;   GST_DEBUG_COLOR_MODE_ON   = 1,
+;;   GST_DEBUG_COLOR_MODE_UNIX = 2
+;; } GstDebugColorMode;
+
+(define-enum-extended DebugColorMode
+  (in-module "Gst")
+  (c-name "GstDebugColorMode")
+  (values
+    '("off" "GST_DEBUG_COLOR_MODE_OFF" "0")
+    '("on" "GST_DEBUG_COLOR_MODE_ON" "1")
+    '("unix" "GST_DEBUG_COLOR_MODE_UNIX" "2")
+  )
+)
+
 ;; From gstiterator.h
 
 ;; Original typedef:
@@ -791,6 +829,8 @@
 ;;   GST_MEMORY_FLAG_NO_SHARE      = (GST_MINI_OBJECT_FLAG_LAST << 0),
 ;;   GST_MEMORY_FLAG_ZERO_PREFIXED = (GST_MINI_OBJECT_FLAG_LAST << 1),
 ;;   GST_MEMORY_FLAG_ZERO_PADDED   = (GST_MINI_OBJECT_FLAG_LAST << 2),
+;;   GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS = (GST_MINI_OBJECT_FLAG_LAST << 3),
+;;   GST_MEMORY_FLAG_NOT_MAPPABLE  = (GST_MINI_OBJECT_FLAG_LAST << 4),
 ;; 
 ;;   GST_MEMORY_FLAG_LAST          = (GST_MINI_OBJECT_FLAG_LAST << 16)
 ;; } GstMemoryFlags;
@@ -803,6 +843,8 @@
     '("no-share" "GST_MEMORY_FLAG_NO_SHARE" "(GST_MINI_OBJECT_FLAG_LAST << 0)")
     '("zero-prefixed" "GST_MEMORY_FLAG_ZERO_PREFIXED" "(GST_MINI_OBJECT_FLAG_LAST << 1)")
     '("zero-padded" "GST_MEMORY_FLAG_ZERO_PADDED" "(GST_MINI_OBJECT_FLAG_LAST << 2)")
+    '("physically-contiguous" "GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS" "(GST_MINI_OBJECT_FLAG_LAST << 3)")
+    '("not-mappable" "GST_MEMORY_FLAG_NOT_MAPPABLE" "(GST_MINI_OBJECT_FLAG_LAST << 4)")
     '("last" "GST_MEMORY_FLAG_LAST" "(GST_MINI_OBJECT_FLAG_LAST << 16)")
   )
 )
@@ -860,6 +902,8 @@
 ;;   GST_MESSAGE_TOC               = (1 << 26),
 ;;   GST_MESSAGE_RESET_TIME        = (1 << 27),
 ;;   GST_MESSAGE_STREAM_START      = (1 << 28),
+;;   GST_MESSAGE_NEED_CONTEXT      = (1 << 29),
+;;   GST_MESSAGE_HAVE_CONTEXT      = (1 << 30),
 ;;   GST_MESSAGE_ANY               = ~0
 ;; } GstMessageType;
 
@@ -897,6 +941,8 @@
     '("toc" "GST_MESSAGE_TOC" "(1 << 26)")
     '("reset-time" "GST_MESSAGE_RESET_TIME" "(1 << 27)")
     '("stream-start" "GST_MESSAGE_STREAM_START" "(1 << 28)")
+    '("need-context" "GST_MESSAGE_NEED_CONTEXT" "(1 << 29)")
+    '("have-context" "GST_MESSAGE_HAVE_CONTEXT" "(1 << 30)")
     '("any" "GST_MESSAGE_ANY" "0x0")
   )
 )
@@ -1354,7 +1400,8 @@
 ;; typedef enum
 ;; {
 ;;   GST_PARSE_FLAG_NONE = 0,
-;;   GST_PARSE_FLAG_FATAL_ERRORS = (1 << 0)
+;;   GST_PARSE_FLAG_FATAL_ERRORS = (1 << 0),
+;;   GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS = (1 << 1)
 ;; } GstParseFlags;
 
 (define-flags-extended ParseFlags
@@ -1363,6 +1410,7 @@
   (values
     '("none" "GST_PARSE_FLAG_NONE" "0x0")
     '("fatal-errors" "GST_PARSE_FLAG_FATAL_ERRORS" "(1 << 0)")
+    '("no-single-element-bins" "GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS" "(1 << 1)")
   )
 )
 
@@ -1627,7 +1675,15 @@
 ;;   GST_QUARK_EVENT_SEGMENT_DONE = 159,
 ;;   GST_QUARK_EVENT_STREAM_START = 160,
 ;;   GST_QUARK_STREAM_ID = 161,
-;;   GST_QUARK_MAX = 162
+;;   GST_QUARK_QUERY_CONTEXT = 162,
+;;   GST_QUARK_MESSAGE_NEED_CONTEXT = 163,
+;;   GST_QUARK_MESSAGE_HAVE_CONTEXT = 164,
+;;   GST_QUARK_CONTEXT = 165,
+;;   GST_QUARK_CONTEXT_TYPE = 166,
+;;   GST_QUARK_MESSAGE_STREAM_START = 167,
+;;   GST_QUARK_GROUP_ID = 168,
+;;   GST_QUARK_URI_REDIRECTION = 169,
+;;   GST_QUARK_MAX = 170
 ;; } GstQuarkId;
 
 (define-enum-extended QuarkId
@@ -1796,7 +1852,15 @@
     '("event-segment-done" "GST_QUARK_EVENT_SEGMENT_DONE" "159")
     '("event-stream-start" "GST_QUARK_EVENT_STREAM_START" "160")
     '("stream-id" "GST_QUARK_STREAM_ID" "161")
-    '("max" "GST_QUARK_MAX" "162")
+    '("query-context" "GST_QUARK_QUERY_CONTEXT" "162")
+    '("message-need-context" "GST_QUARK_MESSAGE_NEED_CONTEXT" "163")
+    '("message-have-context" "GST_QUARK_MESSAGE_HAVE_CONTEXT" "164")
+    '("context" "GST_QUARK_CONTEXT" "165")
+    '("context-type" "GST_QUARK_CONTEXT_TYPE" "166")
+    '("message-stream-start" "GST_QUARK_MESSAGE_STREAM_START" "167")
+    '("group-id" "GST_QUARK_GROUP_ID" "168")
+    '("uri-redirection" "GST_QUARK_URI_REDIRECTION" "169")
+    '("max" "GST_QUARK_MAX" "170")
   )
 )
 
@@ -1838,31 +1902,33 @@
 ;;   GST_QUERY_SCHEDULING   = GST_QUERY_MAKE_TYPE (150, FLAG(UPSTREAM)),
 ;;   GST_QUERY_ACCEPT_CAPS  = GST_QUERY_MAKE_TYPE (160, FLAG(BOTH)),
 ;;   GST_QUERY_CAPS         = GST_QUERY_MAKE_TYPE (170, FLAG(BOTH)),
-;;   GST_QUERY_DRAIN        = GST_QUERY_MAKE_TYPE (180, FLAG(DOWNSTREAM) | FLAG(SERIALIZED))
+;;   GST_QUERY_DRAIN        = GST_QUERY_MAKE_TYPE (180, FLAG(DOWNSTREAM) | FLAG(SERIALIZED)),
+;;   GST_QUERY_CONTEXT      = GST_QUERY_MAKE_TYPE (190, FLAG(BOTH))
 ;; } GstQueryType;
 
 (define-flags-extended QueryType
   (in-module "Gst")
   (c-name "GstQueryType")
   (values
-    '("unknown" "GST_QUERY_UNKNOWN" "GST_QUERY_MAKE_TYPE (0,  0)")
-    '("position" "GST_QUERY_POSITION" "GST_QUERY_MAKE_TYPE (10,  FLAG(BOTH))")
-    '("duration" "GST_QUERY_DURATION" "GST_QUERY_MAKE_TYPE (20,  FLAG(BOTH))")
-    '("latency" "GST_QUERY_LATENCY" "GST_QUERY_MAKE_TYPE (30,  FLAG(BOTH))")
-    '("jitter" "GST_QUERY_JITTER" "GST_QUERY_MAKE_TYPE (40,  FLAG(BOTH))")
-    '("rate" "GST_QUERY_RATE" "GST_QUERY_MAKE_TYPE (50,  FLAG(BOTH))")
-    '("seeking" "GST_QUERY_SEEKING" "GST_QUERY_MAKE_TYPE (60,  FLAG(BOTH))")
-    '("segment" "GST_QUERY_SEGMENT" "GST_QUERY_MAKE_TYPE (70,  FLAG(BOTH))")
-    '("convert" "GST_QUERY_CONVERT" "GST_QUERY_MAKE_TYPE (80,  FLAG(BOTH))")
-    '("formats" "GST_QUERY_FORMATS" "GST_QUERY_MAKE_TYPE (90,  FLAG(BOTH))")
-    '("buffering" "GST_QUERY_BUFFERING" "GST_QUERY_MAKE_TYPE (110,  FLAG(BOTH))")
-    '("custom" "GST_QUERY_CUSTOM" "GST_QUERY_MAKE_TYPE (120,  FLAG(BOTH))")
-    '("uri" "GST_QUERY_URI" "GST_QUERY_MAKE_TYPE (130,  FLAG(BOTH))")
-    '("allocation" "GST_QUERY_ALLOCATION" "GST_QUERY_MAKE_TYPE (140,  FLAG(DOWNSTREAM) | FLAG(SERIALIZED))")
-    '("scheduling" "GST_QUERY_SCHEDULING" "GST_QUERY_MAKE_TYPE (150,  FLAG(UPSTREAM))")
-    '("accept-caps" "GST_QUERY_ACCEPT_CAPS" "GST_QUERY_MAKE_TYPE (160,  FLAG(BOTH))")
-    '("caps" "GST_QUERY_CAPS" "GST_QUERY_MAKE_TYPE (170,  FLAG(BOTH))")
-    '("drain" "GST_QUERY_DRAIN" "GST_QUERY_MAKE_TYPE (180,  FLAG(DOWNSTREAM) | FLAG(SERIALIZED))")
+    '("unknown" "GST_QUERY_UNKNOWN" "GST_QUERY_MAKE_TYPE (0, 0)")
+    '("position" "GST_QUERY_POSITION" "GST_QUERY_MAKE_TYPE (10, FLAG(BOTH))")
+    '("duration" "GST_QUERY_DURATION" "GST_QUERY_MAKE_TYPE (20, FLAG(BOTH))")
+    '("latency" "GST_QUERY_LATENCY" "GST_QUERY_MAKE_TYPE (30, FLAG(BOTH))")
+    '("jitter" "GST_QUERY_JITTER" "GST_QUERY_MAKE_TYPE (40, FLAG(BOTH))")
+    '("rate" "GST_QUERY_RATE" "GST_QUERY_MAKE_TYPE (50, FLAG(BOTH))")
+    '("seeking" "GST_QUERY_SEEKING" "GST_QUERY_MAKE_TYPE (60, FLAG(BOTH))")
+    '("segment" "GST_QUERY_SEGMENT" "GST_QUERY_MAKE_TYPE (70, FLAG(BOTH))")
+    '("convert" "GST_QUERY_CONVERT" "GST_QUERY_MAKE_TYPE (80, FLAG(BOTH))")
+    '("formats" "GST_QUERY_FORMATS" "GST_QUERY_MAKE_TYPE (90, FLAG(BOTH))")
+    '("buffering" "GST_QUERY_BUFFERING" "GST_QUERY_MAKE_TYPE (110, FLAG(BOTH))")
+    '("custom" "GST_QUERY_CUSTOM" "GST_QUERY_MAKE_TYPE (120, FLAG(BOTH))")
+    '("uri" "GST_QUERY_URI" "GST_QUERY_MAKE_TYPE (130, FLAG(BOTH))")
+    '("allocation" "GST_QUERY_ALLOCATION" "GST_QUERY_MAKE_TYPE (140, FLAG(DOWNSTREAM) | FLAG(SERIALIZED))")
+    '("scheduling" "GST_QUERY_SCHEDULING" "GST_QUERY_MAKE_TYPE (150, FLAG(UPSTREAM))")
+    '("accept-caps" "GST_QUERY_ACCEPT_CAPS" "GST_QUERY_MAKE_TYPE (160, FLAG(BOTH))")
+    '("caps" "GST_QUERY_CAPS" "GST_QUERY_MAKE_TYPE (170, FLAG(BOTH))")
+    '("drain" "GST_QUERY_DRAIN" "GST_QUERY_MAKE_TYPE (180, FLAG(DOWNSTREAM) | FLAG(SERIALIZED))")
+    '("context" "GST_QUERY_CONTEXT" "GST_QUERY_MAKE_TYPE (190, FLAG(BOTH))")
   )
 )
 
@@ -1887,8 +1953,9 @@
 
 ;; Original typedef:
 ;; typedef enum {
-;;   GST_SCHEDULING_FLAG_SEEKABLE      = (1 << 0),
-;;   GST_SCHEDULING_FLAG_SEQUENTIAL    = (1 << 1)
+;;   GST_SCHEDULING_FLAG_SEEKABLE          = (1 << 0),
+;;   GST_SCHEDULING_FLAG_SEQUENTIAL        = (1 << 1),
+;;   GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED = (1 << 2)
 ;; } GstSchedulingFlags;
 
 (define-flags-extended SchedulingFlags
@@ -1897,6 +1964,7 @@
   (values
     '("seekable" "GST_SCHEDULING_FLAG_SEEKABLE" "(1 << 0)")
     '("sequential" "GST_SCHEDULING_FLAG_SEQUENTIAL" "(1 << 1)")
+    '("bandwidth-limited" "GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED" "(1 << 2)")
   )
 )
 
@@ -2457,13 +2525,13 @@
   (in-module "Gst")
   (c-name "GstFakeSinkStateError")
   (values
-    '("none" "GST_FAKE_SINK_STATE_ERROR_NONE" "0")
-    '("null-ready" "GST_FAKE_SINK_STATE_ERROR_NULL_READY" "1")
-    '("ready-paused" "GST_FAKE_SINK_STATE_ERROR_READY_PAUSED" "2")
-    '("paused-playing" "GST_FAKE_SINK_STATE_ERROR_PAUSED_PLAYING" "3")
-    '("playing-paused" "GST_FAKE_SINK_STATE_ERROR_PLAYING_PAUSED" "4")
-    '("paused-ready" "GST_FAKE_SINK_STATE_ERROR_PAUSED_READY" "5")
-    '("ready-null" "GST_FAKE_SINK_STATE_ERROR_READY_NULL" "6")
+    '("none" "FAKE_SINK_STATE_ERROR_NONE" "0")
+    '("null-ready" "FAKE_SINK_STATE_ERROR_NULL_READY" "1")
+    '("ready-paused" "FAKE_SINK_STATE_ERROR_READY_PAUSED" "2")
+    '("paused-playing" "FAKE_SINK_STATE_ERROR_PAUSED_PLAYING" "3")
+    '("playing-paused" "FAKE_SINK_STATE_ERROR_PLAYING_PAUSED" "4")
+    '("paused-ready" "FAKE_SINK_STATE_ERROR_PAUSED_READY" "5")
+    '("ready-null" "FAKE_SINK_STATE_ERROR_READY_NULL" "6")
   )
 )
 
@@ -2485,14 +2553,14 @@
   (in-module "Gst")
   (c-name "GstFakeSrcOutputType")
   (values
-    '("first-last-loop" "GST_FAKE_SRC_FIRST_LAST_LOOP" "1")
-    '("last-first-loop" "GST_FAKE_SRC_LAST_FIRST_LOOP" "2")
-    '("ping-pong" "GST_FAKE_SRC_PING_PONG" "3")
-    '("ordered-random" "GST_FAKE_SRC_ORDERED_RANDOM" "4")
-    '("random" "GST_FAKE_SRC_RANDOM" "5")
-    '("pattern-loop" "GST_FAKE_SRC_PATTERN_LOOP" "6")
-    '("ping-pong-pattern" "GST_FAKE_SRC_PING_PONG_PATTERN" "7")
-    '("get-always-suceeds" "GST_FAKE_SRC_GET_ALWAYS_SUCEEDS" "8")
+    '("first-last-loop" "FAKE_SRC_FIRST_LAST_LOOP" "1")
+    '("last-first-loop" "FAKE_SRC_LAST_FIRST_LOOP" "2")
+    '("ping-pong" "FAKE_SRC_PING_PONG" "3")
+    '("ordered-random" "FAKE_SRC_ORDERED_RANDOM" "4")
+    '("random" "FAKE_SRC_RANDOM" "5")
+    '("pattern-loop" "FAKE_SRC_PATTERN_LOOP" "6")
+    '("ping-pong-pattern" "FAKE_SRC_PING_PONG_PATTERN" "7")
+    '("get-always-suceeds" "FAKE_SRC_GET_ALWAYS_SUCEEDS" "8")
   )
 )
 
@@ -2506,8 +2574,8 @@
   (in-module "Gst")
   (c-name "GstFakeSrcDataType")
   (values
-    '("allocate" "GST_FAKE_SRC_DATA_ALLOCATE" "1")
-    '("subbuffer" "GST_FAKE_SRC_DATA_SUBBUFFER" "2")
+    '("allocate" "FAKE_SRC_DATA_ALLOCATE" "1")
+    '("subbuffer" "FAKE_SRC_DATA_SUBBUFFER" "2")
   )
 )
 
@@ -2522,9 +2590,9 @@
   (in-module "Gst")
   (c-name "GstFakeSrcSizeType")
   (values
-    '("empty" "GST_FAKE_SRC_SIZETYPE_EMPTY" "1")
-    '("fixed" "GST_FAKE_SRC_SIZETYPE_FIXED" "2")
-    '("random" "GST_FAKE_SRC_SIZETYPE_RANDOM" "3")
+    '("empty" "FAKE_SRC_SIZETYPE_EMPTY" "1")
+    '("fixed" "FAKE_SRC_SIZETYPE_FIXED" "2")
+    '("random" "FAKE_SRC_SIZETYPE_RANDOM" "3")
   )
 )
 
@@ -2541,13 +2609,14 @@
   (in-module "Gst")
   (c-name "GstFakeSrcFillType")
   (values
-    '("nothing" "GST_FAKE_SRC_FILLTYPE_NOTHING" "1")
-    '("zero" "GST_FAKE_SRC_FILLTYPE_ZERO" "2")
-    '("random" "GST_FAKE_SRC_FILLTYPE_RANDOM" "3")
-    '("pattern" "GST_FAKE_SRC_FILLTYPE_PATTERN" "4")
-    '("pattern-cont" "GST_FAKE_SRC_FILLTYPE_PATTERN_CONT" "5")
+    '("nothing" "FAKE_SRC_FILLTYPE_NOTHING" "1")
+    '("zero" "FAKE_SRC_FILLTYPE_ZERO" "2")
+    '("random" "FAKE_SRC_FILLTYPE_RANDOM" "3")
+    '("pattern" "FAKE_SRC_FILLTYPE_PATTERN" "4")
+    '("pattern-cont" "FAKE_SRC_FILLTYPE_PATTERN_CONT" "5")
   )
 )
+
 ;; Handwritten for the filesink plug-in (Gst::FileSink).
 (define-enum-extended FileSinkBufferMode
   (in-module "Gst")
@@ -2560,6 +2629,7 @@
   )
 )
 
+
 ;; From gstinputselector.h
 
 ;; Original typedef:
@@ -2579,17 +2649,6 @@
 
 ;; From gstqueue.h
 
-;; Handwritten for the queue plug-in (Gst::Queue).
-(define-enum-extended QueueLeaky
-  (in-module "Gst")
-  (c-name "GstQueueLeaky")
-  (values
-    '("no" "GST_QUEUE_LEAKY_NONE" "0")
-    '("upstream" "GST_QUEUE_LEAKY_UPSTREAM" "1")
-    '("downstream" "GST_QUEUE_LEAKY_DOWNSTREAM" "2")
-  )
-)
-
 ;; Original typedef:
 ;; typedef enum _GstQueueLeaky GstQueueLeaky;
 ;; typedef struct _GstQueueClass GstQueueClass;
@@ -2612,7 +2671,6 @@
   (in-module "Gst")
   (c-name "GstQueueLeaky")
   (values
-    '("upstream" "GST_QUEUE_LEAK_NO_LEAK" "0")
     '("upstream" "GST_QUEUE_LEAK_UPSTREAM" "1")
     '("downstream" "GST_QUEUE_LEAK_DOWNSTREAM" "2")
   )
@@ -2982,7 +3040,8 @@
 ;; typedef enum {
 ;;   GST_AUDIO_RING_BUFFER_STATE_STOPPED,
 ;;   GST_AUDIO_RING_BUFFER_STATE_PAUSED,
-;;   GST_AUDIO_RING_BUFFER_STATE_STARTED
+;;   GST_AUDIO_RING_BUFFER_STATE_STARTED,
+;;   GST_AUDIO_RING_BUFFER_STATE_ERROR
 ;; } GstAudioRingBufferState;
 
 (define-enum-extended AudioRingBufferState
@@ -2992,6 +3051,7 @@
     '("stopped" "GST_AUDIO_RING_BUFFER_STATE_STOPPED" "0")
     '("paused" "GST_AUDIO_RING_BUFFER_STATE_PAUSED" "1")
     '("started" "GST_AUDIO_RING_BUFFER_STATE_STARTED" "2")
+    '("error" "GST_AUDIO_RING_BUFFER_STATE_ERROR" "3")
   )
 )
 
@@ -3177,22 +3237,24 @@
 ;; typedef enum
 ;; {
 ;;   /* generic */
-;;   GST_RTCP_FB_TYPE_INVALID    = 0,
+;;   GST_RTCP_FB_TYPE_INVALID        = 0,
 ;;   /* RTPFB types */
-;;   GST_RTCP_RTPFB_TYPE_NACK    = 1,
+;;   GST_RTCP_RTPFB_TYPE_NACK        = 1,
 ;;   /* RTPFB types assigned in RFC 5104 */
-;;   GST_RTCP_RTPFB_TYPE_TMMBR   = 3,
-;;   GST_RTCP_RTPFB_TYPE_TMMBN   = 4,
+;;   GST_RTCP_RTPFB_TYPE_TMMBR       = 3,
+;;   GST_RTCP_RTPFB_TYPE_TMMBN       = 4,
+;;   /* RTPFB types assigned in RFC 6051 */
+;;   GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ = 5,
 ;;   /* PSFB types */
-;;   GST_RTCP_PSFB_TYPE_PLI      = 1,
-;;   GST_RTCP_PSFB_TYPE_SLI      = 2,
-;;   GST_RTCP_PSFB_TYPE_RPSI     = 3,
-;;   GST_RTCP_PSFB_TYPE_AFB      = 15,
+;;   GST_RTCP_PSFB_TYPE_PLI          = 1,
+;;   GST_RTCP_PSFB_TYPE_SLI          = 2,
+;;   GST_RTCP_PSFB_TYPE_RPSI         = 3,
+;;   GST_RTCP_PSFB_TYPE_AFB          = 15,
 ;;   /* PSFB types assigned in RFC 5104 */
-;;   GST_RTCP_PSFB_TYPE_FIR      = 4,
-;;   GST_RTCP_PSFB_TYPE_TSTR     = 5,
-;;   GST_RTCP_PSFB_TYPE_TSTN     = 6,
-;;   GST_RTCP_PSFB_TYPE_VBCN     = 7,
+;;   GST_RTCP_PSFB_TYPE_FIR          = 4,
+;;   GST_RTCP_PSFB_TYPE_TSTR         = 5,
+;;   GST_RTCP_PSFB_TYPE_TSTN         = 6,
+;;   GST_RTCP_PSFB_TYPE_VBCN         = 7,
 ;; } GstRTCPFBType;
 
 (define-enum-extended RTCPFBType
@@ -3203,6 +3265,7 @@
     '("rtpfb-type-nack" "GST_RTCP_RTPFB_TYPE_NACK" "1")
     '("rtpfb-type-tmmbr" "GST_RTCP_RTPFB_TYPE_TMMBR" "3")
     '("rtpfb-type-tmmbn" "GST_RTCP_RTPFB_TYPE_TMMBN" "4")
+    '("rtpfb-type-rctp-sr-req" "GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ" "5")
     '("psfb-type-pli" "GST_RTCP_PSFB_TYPE_PLI" "1")
     '("psfb-type-sli" "GST_RTCP_PSFB_TYPE_SLI" "2")
     '("psfb-type-rpsi" "GST_RTCP_PSFB_TYPE_RPSI" "3")
@@ -3851,7 +3914,9 @@
 ;; typedef enum {
 ;;   GST_RTSP_TIME_SECONDS,
 ;;   GST_RTSP_TIME_NOW,
-;;   GST_RTSP_TIME_END
+;;   GST_RTSP_TIME_END,
+;;   GST_RTSP_TIME_FRAMES,
+;;   GST_RTSP_TIME_UTC
 ;; } GstRTSPTimeType;
 
 (define-enum-extended RTSPTimeType
@@ -3861,6 +3926,8 @@
     '("seconds" "GST_RTSP_TIME_SECONDS" "0")
     '("now" "GST_RTSP_TIME_NOW" "1")
     '("end" "GST_RTSP_TIME_END" "2")
+    '("frames" "GST_RTSP_TIME_FRAMES" "3")
+    '("utc" "GST_RTSP_TIME_UTC" "4")
   )
 )
 
@@ -3906,7 +3973,8 @@
 ;;   GST_RTSP_LOWER_TRANS_UDP       = (1 << 0),
 ;;   GST_RTSP_LOWER_TRANS_UDP_MCAST = (1 << 1),
 ;;   GST_RTSP_LOWER_TRANS_TCP       = (1 << 2),
-;;   GST_RTSP_LOWER_TRANS_HTTP      = (1 << 4)
+;;   GST_RTSP_LOWER_TRANS_HTTP      = (1 << 4),
+;;   GST_RTSP_LOWER_TRANS_TLS       = (1 << 5)
 ;; } GstRTSPLowerTrans;
 
 (define-flags-extended RTSPLowerTrans
@@ -3918,6 +3986,7 @@
     '("udp-mcast" "GST_RTSP_LOWER_TRANS_UDP_MCAST" "(1 << 1)")
     '("tcp" "GST_RTSP_LOWER_TRANS_TCP" "(1 << 2)")
     '("http" "GST_RTSP_LOWER_TRANS_HTTP" "(1 << 4)")
+    '("tls" "GST_RTSP_LOWER_TRANS_TLS" "(1 << 5)")
   )
 )
 
@@ -4070,6 +4139,54 @@
   )
 )
 
+;; From gstvideometa.h
+
+;; Original typedef:
+;; typedef enum
+;; {
+;;   GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE,
+;;   GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE_ALPHA,
+;;   GST_VIDEO_GL_TEXTURE_TYPE_RGB16,
+;;   GST_VIDEO_GL_TEXTURE_TYPE_RGB,
+;;   GST_VIDEO_GL_TEXTURE_TYPE_RGBA,
+;;   GST_VIDEO_GL_TEXTURE_TYPE_R,
+;;   GST_VIDEO_GL_TEXTURE_TYPE_RG
+;; } GstVideoGLTextureType;
+
+(define-enum-extended VideoGLTextureType
+  (in-module "Gst")
+  (c-name "GstVideoGLTextureType")
+  (values
+    '("luminance" "GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE" "0")
+    '("luminance-alpha" "GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE_ALPHA" "1")
+    '("rgb16" "GST_VIDEO_GL_TEXTURE_TYPE_RGB16" "2")
+    '("rgb" "GST_VIDEO_GL_TEXTURE_TYPE_RGB" "3")
+    '("rgba" "GST_VIDEO_GL_TEXTURE_TYPE_RGBA" "4")
+    '("r" "GST_VIDEO_GL_TEXTURE_TYPE_R" "5")
+    '("rg" "GST_VIDEO_GL_TEXTURE_TYPE_RG" "6")
+  )
+)
+
+;; Original typedef:
+;; typedef enum
+;; {
+;;   GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL,
+;;   GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_FLIP,
+;;   GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_NORMAL,
+;;   GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_FLIP
+;; } GstVideoGLTextureOrientation;
+
+(define-enum-extended VideoGLTextureOrientation
+  (in-module "Gst")
+  (c-name "GstVideoGLTextureOrientation")
+  (values
+    '("normal-y-normal" "GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL" "0")
+    '("normal-y-flip" "GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_FLIP" "1")
+    '("flip-y-normal" "GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_NORMAL" "2")
+    '("flip-y-flip" "GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_FLIP" "3")
+  )
+)
+
 ;; From gstvideoutils.h
 
 ;; Original typedef:
@@ -4200,6 +4317,68 @@
   )
 )
 
+;; From video-chroma.h
+
+;; Original typedef:
+;; typedef enum {
+;;   GST_VIDEO_CHROMA_SITE_UNKNOWN   =  0,
+;;   GST_VIDEO_CHROMA_SITE_NONE      = (1 << 0),
+;;   GST_VIDEO_CHROMA_SITE_H_COSITED = (1 << 1),
+;;   GST_VIDEO_CHROMA_SITE_V_COSITED = (1 << 2),
+;;   GST_VIDEO_CHROMA_SITE_ALT_LINE  = (1 << 3),
+;;   /* some common chroma cositing */
+;;   GST_VIDEO_CHROMA_SITE_COSITED   = (GST_VIDEO_CHROMA_SITE_H_COSITED | GST_VIDEO_CHROMA_SITE_V_COSITED),
+;;   GST_VIDEO_CHROMA_SITE_JPEG      = (GST_VIDEO_CHROMA_SITE_NONE),
+;;   GST_VIDEO_CHROMA_SITE_MPEG2     = (GST_VIDEO_CHROMA_SITE_H_COSITED),
+;;   GST_VIDEO_CHROMA_SITE_DV        = (GST_VIDEO_CHROMA_SITE_COSITED | GST_VIDEO_CHROMA_SITE_ALT_LINE),
+;; } GstVideoChromaSite;
+
+(define-flags-extended VideoChromaSite
+  (in-module "Gst")
+  (c-name "GstVideoChromaSite")
+  (values
+    '("unknown" "GST_VIDEO_CHROMA_SITE_UNKNOWN" "0x0")
+    '("none" "GST_VIDEO_CHROMA_SITE_NONE" "(1 << 0)")
+    '("h-cosited" "GST_VIDEO_CHROMA_SITE_H_COSITED" "(1 << 1)")
+    '("v-cosited" "GST_VIDEO_CHROMA_SITE_V_COSITED" "(1 << 2)")
+    '("alt-line" "GST_VIDEO_CHROMA_SITE_ALT_LINE" "(1 << 3)")
+    '("cosited" "GST_VIDEO_CHROMA_SITE_COSITED" "0x6")
+    '("jpeg" "GST_VIDEO_CHROMA_SITE_JPEG" "0x1")
+    '("mpeg2" "GST_VIDEO_CHROMA_SITE_MPEG2" "0x2")
+    '("dv" "GST_VIDEO_CHROMA_SITE_DV" "0xE")
+  )
+)
+
+;; Original typedef:
+;; typedef enum {
+;;   GST_VIDEO_CHROMA_METHOD_NEAREST,
+;;   GST_VIDEO_CHROMA_METHOD_LINEAR
+;; } GstVideoChromaMethod;
+
+(define-enum-extended VideoChromaMethod
+  (in-module "Gst")
+  (c-name "GstVideoChromaMethod")
+  (values
+    '("nearest" "GST_VIDEO_CHROMA_METHOD_NEAREST" "0")
+    '("linear" "GST_VIDEO_CHROMA_METHOD_LINEAR" "1")
+  )
+)
+
+;; Original typedef:
+;; typedef enum {
+;;   GST_VIDEO_CHROMA_FLAG_NONE       = 0,
+;;   GST_VIDEO_CHROMA_FLAG_INTERLACED = (1 << 0),
+;; } GstVideoChromaFlags;
+
+(define-flags-extended VideoChromaFlags
+  (in-module "Gst")
+  (c-name "GstVideoChromaFlags")
+  (values
+    '("none" "GST_VIDEO_CHROMA_FLAG_NONE" "0x0")
+    '("interlaced" "GST_VIDEO_CHROMA_FLAG_INTERLACED" "(1 << 0)")
+  )
+)
+
 ;; From video-color.h
 
 ;; Original typedef:
@@ -4350,6 +4529,13 @@
 ;;   GST_VIDEO_FORMAT_I420_10LE,
 ;;   GST_VIDEO_FORMAT_I422_10BE,
 ;;   GST_VIDEO_FORMAT_I422_10LE,
+;;   GST_VIDEO_FORMAT_Y444_10BE,
+;;   GST_VIDEO_FORMAT_Y444_10LE,
+;;   GST_VIDEO_FORMAT_GBR,
+;;   GST_VIDEO_FORMAT_GBR_10BE,
+;;   GST_VIDEO_FORMAT_GBR_10LE,
+;;   GST_VIDEO_FORMAT_NV16,
+;;   GST_VIDEO_FORMAT_NV24,
 ;; } GstVideoFormat;
 
 (define-enum-extended VideoFormat
@@ -4402,36 +4588,13 @@
     '("i420-10le" "GST_VIDEO_FORMAT_I420_10LE" "43")
     '("i422-10be" "GST_VIDEO_FORMAT_I422_10BE" "44")
     '("i422-10le" "GST_VIDEO_FORMAT_I422_10LE" "45")
-  )
-)
-
-;; Original typedef:
-;; typedef enum {
-;;   GST_VIDEO_CHROMA_SITE_UNKNOWN   =  0,
-;;   GST_VIDEO_CHROMA_SITE_NONE      = (1 << 0),
-;;   GST_VIDEO_CHROMA_SITE_H_COSITED = (1 << 1),
-;;   GST_VIDEO_CHROMA_SITE_V_COSITED = (1 << 2),
-;;   GST_VIDEO_CHROMA_SITE_ALT_LINE  = (1 << 3),
-;;   /* some common chroma cositing */
-;;   GST_VIDEO_CHROMA_SITE_COSITED   = (GST_VIDEO_CHROMA_SITE_H_COSITED | GST_VIDEO_CHROMA_SITE_V_COSITED),
-;;   GST_VIDEO_CHROMA_SITE_JPEG      = (GST_VIDEO_CHROMA_SITE_NONE),
-;;   GST_VIDEO_CHROMA_SITE_MPEG2     = (GST_VIDEO_CHROMA_SITE_H_COSITED),
-;;   GST_VIDEO_CHROMA_SITE_DV        = (GST_VIDEO_CHROMA_SITE_COSITED | GST_VIDEO_CHROMA_SITE_ALT_LINE),
-;; } GstVideoChromaSite;
-
-(define-flags-extended VideoChromaSite
-  (in-module "Gst")
-  (c-name "GstVideoChromaSite")
-  (values
-    '("unknown" "GST_VIDEO_CHROMA_SITE_UNKNOWN" "0x0")
-    '("none" "GST_VIDEO_CHROMA_SITE_NONE" "(1 << 0)")
-    '("h-cosited" "GST_VIDEO_CHROMA_SITE_H_COSITED" "(1 << 1)")
-    '("v-cosited" "GST_VIDEO_CHROMA_SITE_V_COSITED" "(1 << 2)")
-    '("alt-line" "GST_VIDEO_CHROMA_SITE_ALT_LINE" "(1 << 3)")
-    '("cosited" "GST_VIDEO_CHROMA_SITE_COSITED" "0x6")
-    '("jpeg" "GST_VIDEO_CHROMA_SITE_JPEG" "0x1")
-    '("mpeg2" "GST_VIDEO_CHROMA_SITE_MPEG2" "0x2")
-    '("dv" "GST_VIDEO_CHROMA_SITE_DV" "0xE")
+    '("y444-10be" "GST_VIDEO_FORMAT_Y444_10BE" "46")
+    '("y444-10le" "GST_VIDEO_FORMAT_Y444_10LE" "47")
+    '("gbr" "GST_VIDEO_FORMAT_GBR" "48")
+    '("gbr-10be" "GST_VIDEO_FORMAT_GBR_10BE" "49")
+    '("gbr-10le" "GST_VIDEO_FORMAT_GBR_10LE" "50")
+    '("nv16" "GST_VIDEO_FORMAT_NV16" "51")
+    '("nv24" "GST_VIDEO_FORMAT_NV24" "52")
   )
 )
 
@@ -4467,7 +4630,8 @@
 ;; typedef enum
 ;; {
 ;;   GST_VIDEO_PACK_FLAG_NONE           = 0,
-;;   GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE = 1
+;;   GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE = (1 << 0),
+;;   GST_VIDEO_PACK_FLAG_INTERLACED     = (1 << 1)
 ;; } GstVideoPackFlags;
 
 (define-flags-extended VideoPackFlags
@@ -4475,7 +4639,8 @@
   (c-name "GstVideoPackFlags")
   (values
     '("none" "GST_VIDEO_PACK_FLAG_NONE" "0x0")
-    '("truncate-range" "GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE" "0x1")
+    '("truncate-range" "GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE" "(1 << 0)")
+    '("interlaced" "GST_VIDEO_PACK_FLAG_INTERLACED" "(1 << 1)")
   )
 )
 
@@ -4596,10 +4761,10 @@
   (in-module "Gst")
   (c-name "GstAudioConvertDithering")
   (values
-    '("none" "GST_AUDIO_CONVERT_DITHER_NONE" "0")
-    '("rpdf" "GST_AUDIO_CONVERT_DITHER_RPDF" "1")
-    '("tpdf" "GST_AUDIO_CONVERT_DITHER_TPDF" "2")
-    '("tpdf-hf" "GST_AUDIO_CONVERT_DITHER_TPDF_HF" "3")
+    '("none" "DITHER_NONE" "0")
+    '("rpdf" "DITHER_RPDF" "1")
+    '("tpdf" "DITHER_TPDF" "2")
+    '("tpdf-hf" "DITHER_TPDF_HF" "3")
   )
 )
 
@@ -4617,11 +4782,49 @@
   (in-module "Gst")
   (c-name "GstAudioConvertNoiseShaping")
   (values
-    '("none" "GST_AUDIO_CONVERT_NOISE_SHAPING_NONE" "0")
-    '("error-feedback" "GST_AUDIO_CONVERT_NOISE_SHAPING_ERROR_FEEDBACK" "1")
-    '("simple" "GST_AUDIO_CONVERT_NOISE_SHAPING_SIMPLE" "2")
-    '("medium" "GST_AUDIO_CONVERT_NOISE_SHAPING_MEDIUM" "3")
-    '("high" "GST_AUDIO_CONVERT_NOISE_SHAPING_HIGH" "4")
+    '("none" "NOISE_SHAPING_NONE" "0")
+    '("error-feedback" "NOISE_SHAPING_ERROR_FEEDBACK" "1")
+    '("simple" "NOISE_SHAPING_SIMPLE" "2")
+    '("medium" "NOISE_SHAPING_MEDIUM" "3")
+    '("high" "NOISE_SHAPING_HIGH" "4")
+  )
+)
+
+;; From speex_resampler.h
+
+;; Original typedef:
+;; typedef enum {
+;;    RESAMPLER_SINC_FILTER_INTERPOLATED   = 0,
+;;    RESAMPLER_SINC_FILTER_FULL           = 1,
+;;    RESAMPLER_SINC_FILTER_AUTO           = 2
+;; } SpeexResamplerSincFilterMode;
+
+(define-enum-extended SpeexResamplerSincFilterMode
+  (in-module "Gst")
+  (c-name "GstSpeexResamplerSincFilterMode")
+  (values
+    '("interpolated" "RESAMPLER_SINC_FILTER_INTERPOLATED" "0")
+    '("full" "RESAMPLER_SINC_FILTER_FULL" "1")
+    '("auto" "RESAMPLER_SINC_FILTER_AUTO" "2")
+  )
+)
+
+;; From speex_resampler_wrapper.h
+
+;; Original typedef:
+;; typedef enum {
+;;   SPEEX_RESAMPLER_SINC_FILTER_INTERPOLATED   = 0,
+;;   SPEEX_RESAMPLER_SINC_FILTER_FULL           = 1,
+;;   SPEEX_RESAMPLER_SINC_FILTER_AUTO           = 2
+;; } SpeexResamplerSincFilterMode;
+
+(define-enum-extended SpeexResamplerSincFilterMode
+  (in-module "Gst")
+  (c-name "SpeexResamplerSincFilterMode")
+  (values
+    '("interpolated" "SPEEX_RESAMPLER_SINC_FILTER_INTERPOLATED" "0")
+    '("full" "SPEEX_RESAMPLER_SINC_FILTER_FULL" "1")
+    '("auto" "SPEEX_RESAMPLER_SINC_FILTER_AUTO" "2")
   )
 )
 
@@ -5003,7 +5206,9 @@
 ;;   GST_VIDEO_TEST_SRC_SOLID,
 ;;   GST_VIDEO_TEST_SRC_BALL,
 ;;   GST_VIDEO_TEST_SRC_SMPTE100,
-;;   GST_VIDEO_TEST_SRC_BAR
+;;   GST_VIDEO_TEST_SRC_BAR,
+;;   GST_VIDEO_TEST_SRC_PINWHEEL,
+;;   GST_VIDEO_TEST_SRC_SPOKES
 ;; } GstVideoTestSrcPattern;
 
 (define-enum-extended VideoTestSrcPattern
@@ -5031,6 +5236,8 @@
     '("ball" "GST_VIDEO_TEST_SRC_BALL" "18")
     '("smpte100" "GST_VIDEO_TEST_SRC_SMPTE100" "19")
     '("bar" "GST_VIDEO_TEST_SRC_BAR" "20")
+    '("pinwheel" "GST_VIDEO_TEST_SRC_PINWHEEL" "21")
+    '("spokes" "GST_VIDEO_TEST_SRC_SPOKES" "22")
   )
 )
 
@@ -5462,9 +5669,9 @@
   (in-module "Gst")
   (c-name "GstTheoraEncMultipassMode")
   (values
-    '("single-pass" "GST_THEORA_ENC_MULTIPASS_MODE_SINGLE_PASS" "0")
-    '("first-pass" "GST_THEORA_ENC_MULTIPASS_MODE_FIRST_PASS" "1")
-    '("second-pass" "GST_THEORA_ENC_MULTIPASS_MODE_SECOND_PASS" "2")
+    '("single-pass" "MULTIPASS_MODE_SINGLE_PASS" "0")
+    '("first-pass" "MULTIPASS_MODE_FIRST_PASS" "1")
+    '("second-pass" "MULTIPASS_MODE_SECOND_PASS" "2")
   )
 )
 
@@ -5482,35 +5689,3 @@
     '("full" "GST_PARANOIA_MODE_FULL" "0xff")
   )
 )
-
-;; Handwritten for MultiFdSink plugin (taken from gstmultifdsink.c):
-(define-enum-extended FDSetMode
-  (in-module "Gst")
-  (c-name "GstFDSetMode")
-  (values
-    '("select" "GST_FD_SET_MODE_SELECT" "0")
-    '("poll" "GST_FD_SET_MODE_POLL" "1")
-    '("epoll" "GST_FD_SET_MODE_EPOLL" "2")
-  )
-)
-;; Handwritten for OutputSelector plugin (taken from gstoutputselector.c):
-(define-enum-extended OutputSelectorPadNegotiationMode
-  (in-module "Gst")
-  (c-name "GstOutputSelectorPadNegotiationMode")
-  (values
-    '("none" "GST_OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_NONE" "0")
-    '("all" "GST_OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_ALL" "1")
-    '("active" "GST_OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_ACTIVE" "2")
-  )
-)
-
-;; Handwritten for VideoConvert plugin (taken from gstvideoconvert.c):
-(define-enum-extended VideoConvertDitherMethod
-  (in-module "Gst")
-  (c-name "GstVideoConvertDitherMethod")
-  (values
-    '("none" "DITHER_NONE" "0")
-    '("verterr" "DITHER_VERTERR" "1")
-    '("halftone" "DITHER_HALFTONE" "2")
-  )
-)
diff --git a/gstreamer/src/gst_enums.defs.patch b/gstreamer/src/gst_enums.defs.patch
index 4d686e4..d06979d 100644
--- a/gstreamer/src/gst_enums.defs.patch
+++ b/gstreamer/src/gst_enums.defs.patch
@@ -1,96 +1,9 @@
---- gst_enums.defs     2013-06-11 19:15:01.000000000 -0400
-+++ gst_enums.defs.new 2013-06-11 17:53:39.000000000 -0400
-@@ -1,3 +1,5 @@
-+;; Apply gst_enums.defs.patch after regenerating.
-+
- ;; From gstallocator.h
- 
- ;; Original typedef:
-
-@@ -2548,13 +2380,13 @@
-   (in-module "Gst")
-   (c-name "GstFakeSinkStateError")
-   (values
--    '("none" "FAKE_SINK_STATE_ERROR_NONE" "0")
--    '("null-ready" "FAKE_SINK_STATE_ERROR_NULL_READY" "1")
--    '("ready-paused" "FAKE_SINK_STATE_ERROR_READY_PAUSED" "2")
--    '("paused-playing" "FAKE_SINK_STATE_ERROR_PAUSED_PLAYING" "3")
--    '("playing-paused" "FAKE_SINK_STATE_ERROR_PLAYING_PAUSED" "4")
--    '("paused-ready" "FAKE_SINK_STATE_ERROR_PAUSED_READY" "5")
--    '("ready-null" "FAKE_SINK_STATE_ERROR_READY_NULL" "6")
-+    '("none" "GST_FAKE_SINK_STATE_ERROR_NONE" "0")
-+    '("null-ready" "GST_FAKE_SINK_STATE_ERROR_NULL_READY" "1")
-+    '("ready-paused" "GST_FAKE_SINK_STATE_ERROR_READY_PAUSED" "2")
-+    '("paused-playing" "GST_FAKE_SINK_STATE_ERROR_PAUSED_PLAYING" "3")
-+    '("playing-paused" "GST_FAKE_SINK_STATE_ERROR_PLAYING_PAUSED" "4")
-+    '("paused-ready" "GST_FAKE_SINK_STATE_ERROR_PAUSED_READY" "5")
-+    '("ready-null" "GST_FAKE_SINK_STATE_ERROR_READY_NULL" "6")
-   )
- )
- 
-@@ -2576,14 +2408,14 @@
-   (in-module "Gst")
-   (c-name "GstFakeSrcOutputType")
-   (values
--    '("first-last-loop" "FAKE_SRC_FIRST_LAST_LOOP" "1")
--    '("last-first-loop" "FAKE_SRC_LAST_FIRST_LOOP" "2")
--    '("ping-pong" "FAKE_SRC_PING_PONG" "3")
--    '("ordered-random" "FAKE_SRC_ORDERED_RANDOM" "4")
--    '("random" "FAKE_SRC_RANDOM" "5")
--    '("pattern-loop" "FAKE_SRC_PATTERN_LOOP" "6")
--    '("ping-pong-pattern" "FAKE_SRC_PING_PONG_PATTERN" "7")
--    '("get-always-suceeds" "FAKE_SRC_GET_ALWAYS_SUCEEDS" "8")
-+    '("first-last-loop" "GST_FAKE_SRC_FIRST_LAST_LOOP" "1")
-+    '("last-first-loop" "GST_FAKE_SRC_LAST_FIRST_LOOP" "2")
-+    '("ping-pong" "GST_FAKE_SRC_PING_PONG" "3")
-+    '("ordered-random" "GST_FAKE_SRC_ORDERED_RANDOM" "4")
-+    '("random" "GST_FAKE_SRC_RANDOM" "5")
-+    '("pattern-loop" "GST_FAKE_SRC_PATTERN_LOOP" "6")
-+    '("ping-pong-pattern" "GST_FAKE_SRC_PING_PONG_PATTERN" "7")
-+    '("get-always-suceeds" "GST_FAKE_SRC_GET_ALWAYS_SUCEEDS" "8")
-   )
- )
- 
-@@ -2597,8 +2429,8 @@
-   (in-module "Gst")
-   (c-name "GstFakeSrcDataType")
-   (values
--    '("allocate" "FAKE_SRC_DATA_ALLOCATE" "1")
--    '("subbuffer" "FAKE_SRC_DATA_SUBBUFFER" "2")
-+    '("allocate" "GST_FAKE_SRC_DATA_ALLOCATE" "1")
-+    '("subbuffer" "GST_FAKE_SRC_DATA_SUBBUFFER" "2")
+--- a/gstreamer/src/gst_enums.defs
++++ b/gstreamer/src/gst_enums.defs
+@@ -2617,6 +2617,19 @@
    )
  )
  
-@@ -2613,9 +2445,9 @@
-   (in-module "Gst")
-   (c-name "GstFakeSrcSizeType")
-   (values
--    '("empty" "FAKE_SRC_SIZETYPE_EMPTY" "1")
--    '("fixed" "FAKE_SRC_SIZETYPE_FIXED" "2")
--    '("random" "FAKE_SRC_SIZETYPE_RANDOM" "3")
-+    '("empty" "GST_FAKE_SRC_SIZETYPE_EMPTY" "1")
-+    '("fixed" "GST_FAKE_SRC_SIZETYPE_FIXED" "2")
-+    '("random" "GST_FAKE_SRC_SIZETYPE_RANDOM" "3")
-   )
- )
- 
-@@ -2632,11 +2464,22 @@
-   (in-module "Gst")
-   (c-name "GstFakeSrcFillType")
-   (values
--    '("nothing" "FAKE_SRC_FILLTYPE_NOTHING" "1")
--    '("zero" "FAKE_SRC_FILLTYPE_ZERO" "2")
--    '("random" "FAKE_SRC_FILLTYPE_RANDOM" "3")
--    '("pattern" "FAKE_SRC_FILLTYPE_PATTERN" "4")
--    '("pattern-cont" "FAKE_SRC_FILLTYPE_PATTERN_CONT" "5")
-+    '("nothing" "GST_FAKE_SRC_FILLTYPE_NOTHING" "1")
-+    '("zero" "GST_FAKE_SRC_FILLTYPE_ZERO" "2")
-+    '("random" "GST_FAKE_SRC_FILLTYPE_RANDOM" "3")
-+    '("pattern" "GST_FAKE_SRC_FILLTYPE_PATTERN" "4")
-+    '("pattern-cont" "GST_FAKE_SRC_FILLTYPE_PATTERN_CONT" "5")
-+  )
-+)
 +;; Handwritten for the filesink plug-in (Gst::FileSink).
 +(define-enum-extended FileSinkBufferMode
 +  (in-module "Gst")
@@ -100,28 +13,14 @@
 +    '("full" "GST_FILE_SINK_BUFFER_MODE_FULL" "0")
 +    '("line" "GST_FILE_SINK_BUFFER_MODE_LINE" "1")
 +    '("unbuffered" "GST_FILE_SINK_BUFFER_MODE_UNBUFFERED" "2")
-   )
- )
- 
-@@ -2659,6 +2502,17 @@
- 
- ;; From gstqueue.h
- 
-+;; Handwritten for the queue plug-in (Gst::Queue).
-+(define-enum-extended QueueLeaky
-+  (in-module "Gst")
-+  (c-name "GstQueueLeaky")
-+  (values
-+    '("no" "GST_QUEUE_LEAKY_NONE" "0")
-+    '("upstream" "GST_QUEUE_LEAKY_UPSTREAM" "1")
-+    '("downstream" "GST_QUEUE_LEAKY_DOWNSTREAM" "2")
 +  )
 +)
 +
++
+ ;; From gstinputselector.h
+ 
  ;; Original typedef:
- ;; typedef enum _GstQueueLeaky GstQueueLeaky;
- ;; typedef struct _GstQueueClass GstQueueClass;
-@@ -2677,9 +2531,10 @@
+@@ -2654,9 +2667,9 @@
  ;;   GST_QUEUE_LEAK_DOWNSTREAM     = 2
  ;; };
  
@@ -131,42 +30,18 @@
 -  (c-name "")
 +  (c-name "GstQueueLeaky")
    (values
-+    '("upstream" "GST_QUEUE_LEAK_NO_LEAK" "0")
      '("upstream" "GST_QUEUE_LEAK_UPSTREAM" "1")
      '("downstream" "GST_QUEUE_LEAK_DOWNSTREAM" "2")
-@@ -4769,10 +4623,10 @@
-   (in-module "Gst")
-   (c-name "GstAudioConvertDithering")
-   (values
--    '("none" "DITHER_NONE" "0")
--    '("rpdf" "DITHER_RPDF" "1")
--    '("tpdf" "DITHER_TPDF" "2")
--    '("tpdf-hf" "DITHER_TPDF_HF" "3")
-+    '("none" "GST_AUDIO_CONVERT_DITHER_NONE" "0")
-+    '("rpdf" "GST_AUDIO_CONVERT_DITHER_RPDF" "1")
-+    '("tpdf" "GST_AUDIO_CONVERT_DITHER_TPDF" "2")
-+    '("tpdf-hf" "GST_AUDIO_CONVERT_DITHER_TPDF_HF" "3")
-   )
- )
+@@ -4788,7 +4801,7 @@
  
-@@ -4790,11 +4644,11 @@
+ (define-enum-extended SpeexResamplerSincFilterMode
    (in-module "Gst")
-   (c-name "GstAudioConvertNoiseShaping")
+-  (c-name "SpeexResamplerSincFilterMode")
++  (c-name "GstSpeexResamplerSincFilterMode")
    (values
--    '("none" "NOISE_SHAPING_NONE" "0")
--    '("error-feedback" "NOISE_SHAPING_ERROR_FEEDBACK" "1")
--    '("simple" "NOISE_SHAPING_SIMPLE" "2")
--    '("medium" "NOISE_SHAPING_MEDIUM" "3")
--    '("high" "NOISE_SHAPING_HIGH" "4")
-+    '("none" "GST_AUDIO_CONVERT_NOISE_SHAPING_NONE" "0")
-+    '("error-feedback" "GST_AUDIO_CONVERT_NOISE_SHAPING_ERROR_FEEDBACK" "1")
-+    '("simple" "GST_AUDIO_CONVERT_NOISE_SHAPING_SIMPLE" "2")
-+    '("medium" "GST_AUDIO_CONVERT_NOISE_SHAPING_MEDIUM" "3")
-+    '("high" "GST_AUDIO_CONVERT_NOISE_SHAPING_HIGH" "4")
-   )
- )
- 
-@@ -5653,9 +5507,9 @@
+     '("interpolated" "RESAMPLER_SINC_FILTER_INTERPOLATED" "0")
+     '("full" "RESAMPLER_SINC_FILTER_FULL" "1")
+@@ -5636,9 +5649,9 @@
    (in-module "Gst")
    (c-name "GstTextRenderLineAlign")
    (values
@@ -179,19 +54,10 @@
    )
  )
  
-@@ -5673,9 +5527,44 @@
-   (in-module "Gst")
-   (c-name "GstTheoraEncMultipassMode")
-   (values
--    '("single-pass" "MULTIPASS_MODE_SINGLE_PASS" "0")
--    '("first-pass" "MULTIPASS_MODE_FIRST_PASS" "1")
--    '("second-pass" "MULTIPASS_MODE_SECOND_PASS" "2")
-+    '("single-pass" "GST_THEORA_ENC_MULTIPASS_MODE_SINGLE_PASS" "0")
-+    '("first-pass" "GST_THEORA_ENC_MULTIPASS_MODE_FIRST_PASS" "1")
-+    '("second-pass" "GST_THEORA_ENC_MULTIPASS_MODE_SECOND_PASS" "2")
-+  )
-+)
-+
+@@ -5662,3 +5675,17 @@
+   )
+ )
+ 
 +;; Handwritten for CdParanoiaSrc plugin (values taken from output of
 +;; `gst-inspect cdparanoiasrc' -- "paranoia-mode" property information)
 +(define-enum-extended CdParanoiaMode
@@ -204,26 +70,9 @@
 +    '("scratch" "GST_PARANOIA_MODE_SCRATCH" "1<<3")
 +    '("repair" "GST_PARANOIA_MODE_REPAIR" "1<<4")
 +    '("full" "GST_PARANOIA_MODE_FULL" "0xff")
-   )
- )
- 
-+;; Handwritten for MultiFdSink plugin (taken from gstmultifdsink.c):
-+(define-enum-extended FDSetMode
-+  (in-module "Gst")
-+  (c-name "GstFDSetMode")
-+  (values
-+    '("select" "GST_FD_SET_MODE_SELECT" "0")
-+    '("poll" "GST_FD_SET_MODE_POLL" "1")
-+    '("epoll" "GST_FD_SET_MODE_EPOLL" "2")
-+  )
-+)
-+;; Handwritten for OutputSelector plugin (taken from gstoutputselector.c):
-+(define-enum-extended OutputSelectorPadNegotiationMode
-+  (in-module "Gst")
-+  (c-name "GstOutputSelectorPadNegotiationMode")
-+  (values
-+    '("none" "GST_OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_NONE" "0")
-+    '("all" "GST_OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_ALL" "1")
-+    '("active" "GST_OUTPUT_SELECTOR_PAD_NEGOTIATION_MODE_ACTIVE" "2")
 +  )
 +)
+ 
+-- 
+1.9.1
+
diff --git a/gstreamer/src/gst_methods.defs b/gstreamer/src/gst_methods.defs
index d1cd813..2d2fcc3 100644
--- a/gstreamer/src/gst_methods.defs
+++ b/gstreamer/src/gst_methods.defs
@@ -1,8 +1,12 @@
 ;; -*- scheme -*-
-
-;; Apply gst_methods.defs.patch after regenerating.
-
 ; object definitions ...
+(define-object DataQueue
+  (in-module "Gst")
+  (parent "GObject")
+  (c-name "GstDataQueue")
+  (gtype-id "GST_TYPE_DATA_QUEUE")
+)
+
 (define-object Object
   (in-module "Gst")
   (parent "GInitiallyUnowned")
@@ -234,6 +238,13 @@
   (gtype-id "GST_TYPE_TASK_POOL")
 )
 
+(define-object TestClock
+  (in-module "Gst")
+  (parent "GstClock")
+  (c-name "GstTestClock")
+  (gtype-id "GST_TYPE_TEST_CLOCK")
+)
+
 (define-object TimedValueControlSource
   (in-module "Gst")
   (parent "GstControlSource")
@@ -314,6 +325,7 @@
     '("meta" "GST_BUFFER_COPY_META")
     '("memory" "GST_BUFFER_COPY_MEMORY")
     '("merge" "GST_BUFFER_COPY_MERGE")
+    '("deep" "GST_BUFFER_COPY_DEEP")
   )
 )
 
@@ -535,6 +547,7 @@
     '("sync" "GST_RESOURCE_ERROR_SYNC")
     '("settings" "GST_RESOURCE_ERROR_SETTINGS")
     '("no-space-left" "GST_RESOURCE_ERROR_NO_SPACE_LEFT")
+    '("not-authorized" "GST_RESOURCE_ERROR_NOT_AUTHORIZED")
     '("num-errors" "GST_RESOURCE_ERROR_NUM_ERRORS")
   )
 )
@@ -574,6 +587,66 @@
   )
 )
 
+(define-enum EventType
+  (in-module "Gst")
+  (c-name "GstEventType")
+  (gtype-id "GST_TYPE_EVENT_TYPE")
+  (values
+    '("gst-event-unknown" "GST_EVENT_UNKNOWN")
+    '("0)" "0)")
+    '("gst-event-flush-start" "GST_EVENT_FLUSH_START")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-event-flush-stop" "GST_EVENT_FLUSH_STOP")
+    '("flag(both)" "FLAG(BOTH)")
+    '("gst-event-stream-start" "GST_EVENT_STREAM_START")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-event-caps" "GST_EVENT_CAPS")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-event-segment" "GST_EVENT_SEGMENT")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-event-tag" "GST_EVENT_TAG")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-event-buffersize" "GST_EVENT_BUFFERSIZE")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-event-sink-message" "GST_EVENT_SINK_MESSAGE")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-event-eos" "GST_EVENT_EOS")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-event-toc" "GST_EVENT_TOC")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-event-segment-done" "GST_EVENT_SEGMENT_DONE")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-event-gap" "GST_EVENT_GAP")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-event-qos" "GST_EVENT_QOS")
+    '("flag(upstream))" "FLAG(UPSTREAM))")
+    '("gst-event-seek" "GST_EVENT_SEEK")
+    '("flag(upstream))" "FLAG(UPSTREAM))")
+    '("gst-event-navigation" "GST_EVENT_NAVIGATION")
+    '("flag(upstream))" "FLAG(UPSTREAM))")
+    '("gst-event-latency" "GST_EVENT_LATENCY")
+    '("flag(upstream))" "FLAG(UPSTREAM))")
+    '("gst-event-step" "GST_EVENT_STEP")
+    '("flag(upstream))" "FLAG(UPSTREAM))")
+    '("gst-event-reconfigure" "GST_EVENT_RECONFIGURE")
+    '("flag(upstream))" "FLAG(UPSTREAM))")
+    '("gst-event-toc-select" "GST_EVENT_TOC_SELECT")
+    '("flag(upstream))" "FLAG(UPSTREAM))")
+    '("gst-event-custom-upstream" "GST_EVENT_CUSTOM_UPSTREAM")
+    '("flag(upstream))" "FLAG(UPSTREAM))")
+    '("gst-event-custom-downstream" "GST_EVENT_CUSTOM_DOWNSTREAM")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-event-custom-downstream-oob" "GST_EVENT_CUSTOM_DOWNSTREAM_OOB")
+    '("flag(downstream))" "FLAG(DOWNSTREAM))")
+    '("gst-event-custom-downstream-sticky" "GST_EVENT_CUSTOM_DOWNSTREAM_STICKY")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-event-custom-both" "GST_EVENT_CUSTOM_BOTH")
+    '("flag(both)" "FLAG(BOTH)")
+    '("gst-event-custom-both-oob" "GST_EVENT_CUSTOM_BOTH_OOB")
+    '("flag(both))" "FLAG(BOTH))")
+  )
+)
+
 (define-enum QOSType
   (in-module "Gst")
   (c-name "GstQOSType")
@@ -585,6 +658,18 @@
   )
 )
 
+(define-flags StreamFlags
+  (in-module "Gst")
+  (c-name "GstStreamFlags")
+  (gtype-id "GST_TYPE_STREAM_FLAGS")
+  (values
+    '("none" "GST_STREAM_FLAG_NONE")
+    '("sparse" "GST_STREAM_FLAG_SPARSE")
+    '("select" "GST_STREAM_FLAG_SELECT")
+    '("unselect" "GST_STREAM_FLAG_UNSELECT")
+  )
+)
+
 (define-enum Format
   (in-module "Gst")
   (c-name "GstFormat")
@@ -643,6 +728,17 @@
   )
 )
 
+(define-enum DebugColorMode
+  (in-module "Gst")
+  (c-name "GstDebugColorMode")
+  (gtype-id "GST_TYPE_DEBUG_COLOR_MODE")
+  (values
+    '("off" "GST_DEBUG_COLOR_MODE_OFF")
+    '("on" "GST_DEBUG_COLOR_MODE_ON")
+    '("unix" "GST_DEBUG_COLOR_MODE_UNIX")
+  )
+)
+
 (define-enum IteratorResult
   (in-module "Gst")
   (c-name "GstIteratorResult")
@@ -675,6 +771,8 @@
     '("no-share" "GST_MEMORY_FLAG_NO_SHARE")
     '("zero-prefixed" "GST_MEMORY_FLAG_ZERO_PREFIXED")
     '("zero-padded" "GST_MEMORY_FLAG_ZERO_PADDED")
+    '("physically-contiguous" "GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS")
+    '("not-mappable" "GST_MEMORY_FLAG_NOT_MAPPABLE")
     '("last" "GST_MEMORY_FLAG_LAST")
   )
 )
@@ -725,6 +823,8 @@
     '("toc" "GST_MESSAGE_TOC")
     '("reset-time" "GST_MESSAGE_RESET_TIME")
     '("stream-start" "GST_MESSAGE_STREAM_START")
+    '("need-context" "GST_MESSAGE_NEED_CONTEXT")
+    '("have-context" "GST_MESSAGE_HAVE_CONTEXT")
     '("any" "GST_MESSAGE_ANY")
   )
 )
@@ -987,6 +1087,7 @@
   (values
     '("none" "GST_PARSE_FLAG_NONE")
     '("fatal-errors" "GST_PARSE_FLAG_FATAL_ERRORS")
+    '("no-single-element-bins" "GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS")
   )
 )
 
@@ -1056,6 +1157,52 @@
   )
 )
 
+(define-enum QueryType
+  (in-module "Gst")
+  (c-name "GstQueryType")
+  (gtype-id "GST_TYPE_QUERY_TYPE")
+  (values
+    '("gst-query-unknown" "GST_QUERY_UNKNOWN")
+    '("0)" "0)")
+    '("gst-query-position" "GST_QUERY_POSITION")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-duration" "GST_QUERY_DURATION")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-latency" "GST_QUERY_LATENCY")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-jitter" "GST_QUERY_JITTER")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-rate" "GST_QUERY_RATE")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-seeking" "GST_QUERY_SEEKING")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-segment" "GST_QUERY_SEGMENT")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-convert" "GST_QUERY_CONVERT")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-formats" "GST_QUERY_FORMATS")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-buffering" "GST_QUERY_BUFFERING")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-custom" "GST_QUERY_CUSTOM")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-uri" "GST_QUERY_URI")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-allocation" "GST_QUERY_ALLOCATION")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-query-scheduling" "GST_QUERY_SCHEDULING")
+    '("flag(upstream))" "FLAG(UPSTREAM))")
+    '("gst-query-accept-caps" "GST_QUERY_ACCEPT_CAPS")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-caps" "GST_QUERY_CAPS")
+    '("flag(both))" "FLAG(BOTH))")
+    '("gst-query-drain" "GST_QUERY_DRAIN")
+    '("flag(downstream)" "FLAG(DOWNSTREAM)")
+    '("gst-query-context" "GST_QUERY_CONTEXT")
+    '("flag(both))" "FLAG(BOTH))")
+  )
+)
+
 (define-enum BufferingMode
   (in-module "Gst")
   (c-name "GstBufferingMode")
@@ -1075,6 +1222,7 @@
   (values
     '("seekable" "GST_SCHEDULING_FLAG_SEEKABLE")
     '("sequential" "GST_SCHEDULING_FLAG_SEQUENTIAL")
+    '("bandwidth-limited" "GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED")
   )
 )
 
@@ -1666,6 +1814,11 @@
   (return-type "GType")
 )
 
+(define-function gst_buffer_get_max_memory
+  (c-name "gst_buffer_get_max_memory")
+  (return-type "guint")
+)
+
 (define-function gst_buffer_new
   (c-name "gst_buffer_new")
   (is-constructor-of "GstBuffer")
@@ -1900,7 +2053,7 @@
 (define-method resize_range
   (of-object "GstBuffer")
   (c-name "gst_buffer_resize_range")
-  (return-type "none")
+  (return-type "gboolean")
   (parameters
     '("guint" "idx")
     '("gint" "length")
@@ -1975,24 +2128,24 @@
   )
 )
 
-(define-method ref
-  (of-object "GstBuffer")
-  (c-name "gst_buffer_ref")
-  (return-type "GstBuffer*")
-)
-
-(define-method copy_into
+(define-method extract_dup
   (of-object "GstBuffer")
-  (c-name "gst_buffer_copy_into")
+  (c-name "gst_buffer_extract_dup")
   (return-type "none")
   (parameters
-      '("GstBuffer*" "src")
-      '("GstBufferCopyFlags" "flags")
-      '("gsize" "offset")
-      '("gsize" "size")
+    '("gsize" "offset")
+    '("gsize" "size")
+    '("gpointer*" "dest")
+    '("gsize*" "dest_size")
   )
 )
 
+(define-method ref
+  (of-object "GstBuffer")
+  (c-name "gst_buffer_ref")
+  (return-type "GstBuffer*")
+)
+
 (define-function gst_buffer_replace
   (c-name "gst_buffer_replace")
   (return-type "gboolean")
@@ -2479,6 +2632,198 @@
 
 
 
+;; From gstcapsfeatures.h
+
+(define-function gst_caps_features_get_type
+  (c-name "gst_caps_features_get_type")
+  (return-type "GType")
+)
+
+(define-function gst_is_caps_features
+  (c-name "gst_is_caps_features")
+  (return-type "gboolean")
+  (parameters
+    '("gconstpointer" "obj")
+  )
+)
+
+(define-function gst_caps_features_new_empty
+  (c-name "gst_caps_features_new_empty")
+  (return-type "GstCapsFeatures*")
+)
+
+(define-function gst_caps_features_new_any
+  (c-name "gst_caps_features_new_any")
+  (return-type "GstCapsFeatures*")
+)
+
+(define-function gst_caps_features_new
+  (c-name "gst_caps_features_new")
+  (is-constructor-of "GstCapsFeatures")
+  (return-type "GstCapsFeatures*")
+  (parameters
+    '("const-gchar*" "feature1")
+  )
+  (varargs #t)
+)
+
+(define-function gst_caps_features_new_valist
+  (c-name "gst_caps_features_new_valist")
+  (return-type "GstCapsFeatures*")
+  (parameters
+    '("const-gchar*" "feature1")
+    '("va_list" "varargs")
+  )
+)
+
+(define-function gst_caps_features_new_id
+  (c-name "gst_caps_features_new_id")
+  (return-type "GstCapsFeatures*")
+  (parameters
+    '("GQuark" "feature1")
+  )
+  (varargs #t)
+)
+
+(define-function gst_caps_features_new_id_valist
+  (c-name "gst_caps_features_new_id_valist")
+  (return-type "GstCapsFeatures*")
+  (parameters
+    '("GQuark" "feature1")
+    '("va_list" "varargs")
+  )
+)
+
+(define-method set_parent_refcount
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_set_parent_refcount")
+  (return-type "gboolean")
+  (parameters
+    '("gint*" "refcount")
+  )
+)
+
+(define-method copy
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_copy")
+  (return-type "GstCapsFeatures*")
+)
+
+(define-method free
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_free")
+  (return-type "none")
+)
+
+(define-method to_string
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_to_string")
+  (return-type "gchar*")
+)
+
+(define-function gst_caps_features_from_string
+  (c-name "gst_caps_features_from_string")
+  (return-type "GstCapsFeatures*")
+  (parameters
+    '("const-gchar*" "features")
+  )
+)
+
+(define-method get_size
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_get_size")
+  (return-type "guint")
+)
+
+(define-method get_nth
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_get_nth")
+  (return-type "const-gchar*")
+  (parameters
+    '("guint" "i")
+  )
+)
+
+(define-method get_nth_id
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_get_nth_id")
+  (return-type "GQuark")
+  (parameters
+    '("guint" "i")
+  )
+)
+
+(define-method contains
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_contains")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "feature")
+  )
+)
+
+(define-method contains_id
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_contains_id")
+  (return-type "gboolean")
+  (parameters
+    '("GQuark" "feature")
+  )
+)
+
+(define-method is_equal
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_is_equal")
+  (return-type "gboolean")
+  (parameters
+    '("const-GstCapsFeatures*" "features2")
+  )
+)
+
+(define-method is_any
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_is_any")
+  (return-type "gboolean")
+)
+
+(define-method add
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_add")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "feature")
+  )
+)
+
+(define-method add_id
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_add_id")
+  (return-type "none")
+  (parameters
+    '("GQuark" "feature")
+  )
+)
+
+(define-method remove
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_remove")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "feature")
+  )
+)
+
+(define-method remove_id
+  (of-object "GstCapsFeatures")
+  (c-name "gst_caps_features_remove_id")
+  (return-type "none")
+  (parameters
+    '("GQuark" "feature")
+  )
+)
+
+
+
 ;; From gstcaps.h
 
 (define-method ref
@@ -2573,6 +2918,16 @@
   )
 )
 
+(define-method append_structure_full
+  (of-object "GstCaps")
+  (c-name "gst_caps_append_structure_full")
+  (return-type "none")
+  (parameters
+    '("GstStructure*" "structure")
+    '("GstCapsFeatures*" "features")
+  )
+)
+
 (define-method remove_structure
   (of-object "GstCaps")
   (c-name "gst_caps_remove_structure")
@@ -2600,6 +2955,16 @@
   )
 )
 
+(define-method merge_structure_full
+  (of-object "GstCaps")
+  (c-name "gst_caps_merge_structure_full")
+  (return-type "GstCaps*")
+  (parameters
+    '("GstStructure*" "structure")
+    '("GstCapsFeatures*" "features")
+  )
+)
+
 (define-method get_size
   (of-object "GstCaps")
   (c-name "gst_caps_get_size")
@@ -2624,6 +2989,25 @@
   )
 )
 
+(define-method set_features
+  (of-object "GstCaps")
+  (c-name "gst_caps_set_features")
+  (return-type "none")
+  (parameters
+    '("guint" "index")
+    '("GstCapsFeatures*" "features")
+  )
+)
+
+(define-method get_features
+  (of-object "GstCaps")
+  (c-name "gst_caps_get_features")
+  (return-type "GstCapsFeatures*")
+  (parameters
+    '("guint" "index")
+  )
+)
+
 (define-method copy_nth
   (of-object "GstCaps")
   (c-name "gst_caps_copy_nth")
@@ -2714,6 +3098,16 @@
   )
 )
 
+(define-method is_subset_structure_full
+  (of-object "GstCaps")
+  (c-name "gst_caps_is_subset_structure_full")
+  (return-type "gboolean")
+  (parameters
+    '("const-GstStructure*" "structure")
+    '("const-GstCapsFeatures*" "features")
+  )
+)
+
 (define-method is_equal
   (of-object "GstCaps")
   (c-name "gst_caps_is_equal")
@@ -3152,7 +3546,51 @@
 
 
 
-;; From gstconfig.h
+;; From gstcontext.h
+
+(define-function gst_context_get_type
+  (c-name "gst_context_get_type")
+  (return-type "GType")
+)
+
+(define-method ref
+  (of-object "GstContext")
+  (c-name "gst_context_ref")
+  (return-type "GstContext*")
+)
+
+(define-method get_context_type
+  (of-object "GstContext")
+  (c-name "gst_context_get_context_type")
+  (return-type "const-gchar*")
+)
+
+(define-method has_context_type
+  (of-object "GstContext")
+  (c-name "gst_context_has_context_type")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "context_type")
+  )
+)
+
+(define-method get_structure
+  (of-object "GstContext")
+  (c-name "gst_context_get_structure")
+  (return-type "const-GstStructure*")
+)
+
+(define-method writable_structure
+  (of-object "GstContext")
+  (c-name "gst_context_writable_structure")
+  (return-type "GstStructure*")
+)
+
+(define-method is_persistent
+  (of-object "GstContext")
+  (c-name "gst_context_is_persistent")
+  (return-type "gboolean")
+)
 
 
 
@@ -3761,6 +4199,15 @@
   (return-type "GstBus*")
 )
 
+(define-method set_context
+  (of-object "GstElement")
+  (c-name "gst_element_set_context")
+  (return-type "none")
+  (parameters
+    '("GstContext*" "context")
+  )
+)
+
 (define-method add_pad
   (of-object "GstElement")
   (c-name "gst_element_add_pad")
@@ -3982,380 +4429,6 @@
 
 
 
-;; From gstenumtypes.h
-
-(define-function gst_object_flags_get_type
-  (c-name "gst_object_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_allocator_flags_get_type
-  (c-name "gst_allocator_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_bin_flags_get_type
-  (c-name "gst_bin_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_buffer_flags_get_type
-  (c-name "gst_buffer_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_buffer_copy_flags_get_type
-  (c-name "gst_buffer_copy_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_buffer_pool_acquire_flags_get_type
-  (c-name "gst_buffer_pool_acquire_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_bus_flags_get_type
-  (c-name "gst_bus_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_bus_sync_reply_get_type
-  (c-name "gst_bus_sync_reply_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_caps_flags_get_type
-  (c-name "gst_caps_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_caps_intersect_mode_get_type
-  (c-name "gst_caps_intersect_mode_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_clock_return_get_type
-  (c-name "gst_clock_return_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_clock_entry_type_get_type
-  (c-name "gst_clock_entry_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_clock_flags_get_type
-  (c-name "gst_clock_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_debug_graph_details_get_type
-  (c-name "gst_debug_graph_details_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_state_get_type
-  (c-name "gst_state_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_state_change_return_get_type
-  (c-name "gst_state_change_return_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_state_change_get_type
-  (c-name "gst_state_change_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_element_flags_get_type
-  (c-name "gst_element_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_core_error_get_type
-  (c-name "gst_core_error_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_library_error_get_type
-  (c-name "gst_library_error_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_resource_error_get_type
-  (c-name "gst_resource_error_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_stream_error_get_type
-  (c-name "gst_stream_error_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_event_type_flags_get_type
-  (c-name "gst_event_type_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_event_type_get_type
-  (c-name "gst_event_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_qos_type_get_type
-  (c-name "gst_qos_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_format_get_type
-  (c-name "gst_format_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_debug_level_get_type
-  (c-name "gst_debug_level_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_debug_color_flags_get_type
-  (c-name "gst_debug_color_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_iterator_result_get_type
-  (c-name "gst_iterator_result_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_iterator_item_get_type
-  (c-name "gst_iterator_item_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_message_type_get_type
-  (c-name "gst_message_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_structure_change_type_get_type
-  (c-name "gst_structure_change_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_stream_status_type_get_type
-  (c-name "gst_stream_status_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_progress_type_get_type
-  (c-name "gst_progress_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_meta_flags_get_type
-  (c-name "gst_meta_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_memory_flags_get_type
-  (c-name "gst_memory_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_map_flags_get_type
-  (c-name "gst_map_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_mini_object_flags_get_type
-  (c-name "gst_mini_object_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_lock_flags_get_type
-  (c-name "gst_lock_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_pad_direction_get_type
-  (c-name "gst_pad_direction_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_pad_mode_get_type
-  (c-name "gst_pad_mode_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_pad_link_return_get_type
-  (c-name "gst_pad_link_return_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_flow_return_get_type
-  (c-name "gst_flow_return_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_pad_link_check_get_type
-  (c-name "gst_pad_link_check_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_pad_probe_type_get_type
-  (c-name "gst_pad_probe_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_pad_probe_return_get_type
-  (c-name "gst_pad_probe_return_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_pad_flags_get_type
-  (c-name "gst_pad_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_pad_presence_get_type
-  (c-name "gst_pad_presence_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_pad_template_flags_get_type
-  (c-name "gst_pad_template_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_pipeline_flags_get_type
-  (c-name "gst_pipeline_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_plugin_error_get_type
-  (c-name "gst_plugin_error_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_plugin_flags_get_type
-  (c-name "gst_plugin_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_plugin_dependency_flags_get_type
-  (c-name "gst_plugin_dependency_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_rank_get_type
-  (c-name "gst_rank_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_query_type_flags_get_type
-  (c-name "gst_query_type_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_query_type_get_type
-  (c-name "gst_query_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_buffering_mode_get_type
-  (c-name "gst_buffering_mode_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_scheduling_flags_get_type
-  (c-name "gst_scheduling_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_seek_type_get_type
-  (c-name "gst_seek_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_seek_flags_get_type
-  (c-name "gst_seek_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_segment_flags_get_type
-  (c-name "gst_segment_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_clock_type_get_type
-  (c-name "gst_clock_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_tag_merge_mode_get_type
-  (c-name "gst_tag_merge_mode_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_tag_flag_get_type
-  (c-name "gst_tag_flag_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_tag_scope_get_type
-  (c-name "gst_tag_scope_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_task_state_get_type
-  (c-name "gst_task_state_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_toc_scope_get_type
-  (c-name "gst_toc_scope_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_toc_entry_type_get_type
-  (c-name "gst_toc_entry_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_type_find_probability_get_type
-  (c-name "gst_type_find_probability_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_uri_error_get_type
-  (c-name "gst_uri_error_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_uri_type_get_type
-  (c-name "gst_uri_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_search_mode_get_type
-  (c-name "gst_search_mode_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_parse_error_get_type
-  (c-name "gst_parse_error_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_parse_flags_get_type
-  (c-name "gst_parse_flags_get_type")
-  (return-type "GType")
-)
-
-
-
 ;; From gsterror.h
 
 (define-function gst_error_get_message
@@ -4486,6 +4559,42 @@
   )
 )
 
+(define-method set_stream_flags
+  (of-object "GstEvent")
+  (c-name "gst_event_set_stream_flags")
+  (return-type "none")
+  (parameters
+    '("GstStreamFlags" "flags")
+  )
+)
+
+(define-method parse_stream_flags
+  (of-object "GstEvent")
+  (c-name "gst_event_parse_stream_flags")
+  (return-type "none")
+  (parameters
+    '("GstStreamFlags*" "flags")
+  )
+)
+
+(define-method set_group_id
+  (of-object "GstEvent")
+  (c-name "gst_event_set_group_id")
+  (return-type "none")
+  (parameters
+    '("guint" "group_id")
+  )
+)
+
+(define-method parse_group_id
+  (of-object "GstEvent")
+  (c-name "gst_event_parse_group_id")
+  (return-type "gboolean")
+  (parameters
+    '("guint*" "group_id")
+  )
+)
+
 (define-function gst_event_new_flush_start
   (c-name "gst_event_new_flush_start")
   (return-type "GstEvent*")
@@ -5102,21 +5211,6 @@
   (varargs #t)
 )
 
-(define-function gst_debug_log
-  (c-name "gst_debug_log")
-  (return-type "none")
-  (parameters
-    '("GstDebugCategory*" "category")
-    '("GstDebugLevel" "level")
-    '("const-gchar*" "file")
-    '("const-gchar*" "function")
-    '("gint" "line")
-    '("GObject*" "object")
-    '("const-gchar*" "format")
-  )
-  (varargs #t)
-)
-
 (define-function gst_debug_log_valist
   (c-name "gst_debug_log_valist")
   (return-type "none")
@@ -5206,11 +5300,32 @@
   )
 )
 
+(define-function gst_debug_set_color_mode
+  (c-name "gst_debug_set_color_mode")
+  (return-type "none")
+  (parameters
+    '("GstDebugColorMode" "mode")
+  )
+)
+
+(define-function gst_debug_set_color_mode_from_string
+  (c-name "gst_debug_set_color_mode_from_string")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "mode")
+  )
+)
+
 (define-function gst_debug_is_colored
   (c-name "gst_debug_is_colored")
   (return-type "gboolean")
 )
 
+(define-function gst_debug_get_color_mode
+  (c-name "gst_debug_get_color_mode")
+  (return-type "GstDebugColorMode")
+)
+
 (define-function gst_debug_set_default_threshold
   (c-name "gst_debug_set_default_threshold")
   (return-type "none")
@@ -5233,6 +5348,15 @@
   )
 )
 
+(define-function gst_debug_set_threshold_from_string
+  (c-name "gst_debug_set_threshold_from_string")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "list")
+    '("gboolean" "reset")
+  )
+)
+
 (define-function gst_debug_unset_threshold_for_name
   (c-name "gst_debug_unset_threshold_for_name")
   (return-type "none")
@@ -5461,6 +5585,15 @@
   )
 )
 
+(define-method is_type
+  (of-object "GstMemory")
+  (c-name "gst_memory_is_type")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar*" "mem_type")
+  )
+)
+
 (define-method ref
   (of-object "GstMemory")
   (c-name "gst_memory_ref")
@@ -6178,6 +6311,60 @@
   )
 )
 
+(define-method set_group_id
+  (of-object "GstMessage")
+  (c-name "gst_message_set_group_id")
+  (return-type "none")
+  (parameters
+    '("guint" "group_id")
+  )
+)
+
+(define-method parse_group_id
+  (of-object "GstMessage")
+  (c-name "gst_message_parse_group_id")
+  (return-type "gboolean")
+  (parameters
+    '("guint*" "group_id")
+  )
+)
+
+(define-function gst_message_new_need_context
+  (c-name "gst_message_new_need_context")
+  (return-type "GstMessage*")
+  (parameters
+    '("GstObject*" "src")
+    '("const-gchar*" "context_type")
+  )
+)
+
+(define-method parse_context_type
+  (of-object "GstMessage")
+  (c-name "gst_message_parse_context_type")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar**" "context_type")
+  )
+)
+
+(define-function gst_message_new_have_context
+  (c-name "gst_message_new_have_context")
+  (return-type "GstMessage*")
+  (parameters
+    '("GstObject*" "src")
+    '("GstContext*" "context")
+  )
+)
+
+(define-method parse_have_context
+  (of-object "GstMessage")
+  (c-name "gst_message_parse_have_context")
+  (return-type "none")
+  (parameters
+    '("GstContext**" "context")
+  )
+)
+
 
 
 ;; From gstmeta.h
@@ -6221,6 +6408,14 @@
   )
 )
 
+(define-function gst_meta_api_type_get_tags
+  (c-name "gst_meta_api_type_get_tags")
+  (return-type "const-gchar*-const*")
+  (parameters
+    '("GType" "api")
+  )
+)
+
 
 
 ;; From gstminiobject.h
@@ -6772,6 +6967,15 @@
   (return-type "GstPadTemplate*")
 )
 
+(define-method store_sticky_event
+  (of-object "GstPad")
+  (c-name "gst_pad_store_sticky_event")
+  (return-type "GstFlowReturn")
+  (parameters
+    '("GstEvent*" "event")
+  )
+)
+
 (define-method get_sticky_event
   (of-object "GstPad")
   (c-name "gst_pad_get_sticky_event")
@@ -7429,6 +7633,12 @@
   (return-type "GstPlugin*")
 )
 
+(define-method get_plugin_name
+  (of-object "GstPluginFeature")
+  (c-name "gst_plugin_feature_get_plugin_name")
+  (return-type "const-gchar*")
+)
+
 (define-function gst_plugin_feature_list_free
   (c-name "gst_plugin_feature_list_free")
   (return-type "none")
@@ -8320,6 +8530,24 @@
   )
 )
 
+(define-method parse_uri_redirection
+  (of-object "GstQuery")
+  (c-name "gst_query_parse_uri_redirection")
+  (return-type "none")
+  (parameters
+    '("gchar**" "uri")
+  )
+)
+
+(define-method set_uri_redirection
+  (of-object "GstQuery")
+  (c-name "gst_query_set_uri_redirection")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "uri")
+  )
+)
+
 (define-function gst_query_new_allocation
   (c-name "gst_query_new_allocation")
   (return-type "GstQuery*")
@@ -8383,6 +8611,15 @@
   )
 )
 
+(define-method remove_nth_allocation_pool
+  (of-object "GstQuery")
+  (c-name "gst_query_remove_nth_allocation_pool")
+  (return-type "none")
+  (parameters
+    '("guint" "index")
+  )
+)
+
 (define-method add_allocation_param
   (of-object "GstQuery")
   (c-name "gst_query_add_allocation_param")
@@ -8421,6 +8658,15 @@
   )
 )
 
+(define-method remove_nth_allocation_param
+  (of-object "GstQuery")
+  (c-name "gst_query_remove_nth_allocation_param")
+  (return-type "none")
+  (parameters
+    '("guint" "index")
+  )
+)
+
 (define-method add_allocation_meta
   (of-object "GstQuery")
   (c-name "gst_query_add_allocation_meta")
@@ -8613,6 +8859,41 @@
   (return-type "GstQuery*")
 )
 
+(define-function gst_query_new_context
+  (c-name "gst_query_new_context")
+  (return-type "GstQuery*")
+  (parameters
+    '("const-gchar*" "context_type")
+  )
+)
+
+(define-method parse_context_type
+  (of-object "GstQuery")
+  (c-name "gst_query_parse_context_type")
+  (return-type "gboolean")
+  (parameters
+    '("const-gchar**" "context_type")
+  )
+)
+
+(define-method set_context
+  (of-object "GstQuery")
+  (c-name "gst_query_set_context")
+  (return-type "none")
+  (parameters
+    '("GstContext*" "context")
+  )
+)
+
+(define-method parse_context
+  (of-object "GstQuery")
+  (c-name "gst_query_parse_context")
+  (return-type "none")
+  (parameters
+    '("GstContext**" "context")
+  )
+)
+
 
 
 ;; From gstregistrybinary.h
@@ -8932,6 +9213,16 @@
   )
 )
 
+(define-method offset_running_time
+  (of-object "GstSegment")
+  (c-name "gst_segment_offset_running_time")
+  (return-type "gboolean")
+  (parameters
+    '("GstFormat" "format")
+    '("gint64" "offset")
+  )
+)
+
 (define-method clip
   (of-object "GstSegment")
   (c-name "gst_segment_clip")
@@ -9017,6 +9308,14 @@
   (varargs #t)
 )
 
+(define-function gst_structure_new_from_string
+  (c-name "gst_structure_new_from_string")
+  (return-type "GstStructure*")
+  (parameters
+    '("const-gchar*" "string")
+  )
+)
+
 (define-method copy
   (of-object "GstStructure")
   (c-name "gst_structure_copy")
@@ -9499,6 +9798,12 @@
   )
 )
 
+(define-method fixate
+  (of-object "GstStructure")
+  (c-name "gst_structure_fixate")
+  (return-type "none")
+)
+
 (define-method is_equal
   (of-object "GstStructure")
   (c-name "gst_structure_is_equal")
@@ -9535,12 +9840,6 @@
   )
 )
 
-(define-method fixate
-  (of-object "GstStructure")
-  (c-name "gst_structure_fixate")
-  (return-type "none")
-)
-
 
 
 ;; From gstsystemclock.h
@@ -10967,6 +11266,11 @@
   )
 )
 
+(define-function gst_util_group_id_next
+  (c-name "gst_util_group_id_next")
+  (return-type "guint")
+)
+
 (define-method create_all_pads
   (of-object "GstElement")
   (c-name "gst_element_create_all_pads")
@@ -11343,6 +11647,12 @@
   )
 )
 
+(define-method get_stream_id
+  (of-object "GstPad")
+  (c-name "gst_pad_get_stream_id")
+  (return-type "gchar*")
+)
+
 (define-method add_many
   (of-object "GstBin")
   (c-name "gst_bin_add_many")
@@ -11532,6 +11842,11 @@
   (return-type "GType")
 )
 
+(define-function gst_g_thread_get_type
+  (c-name "gst_g_thread_get_type")
+  (return-type "GType")
+)
+
 (define-function gst_date_time_get_type
   (c-name "gst_date_time_get_type")
   (return-type "GType")
@@ -11580,6 +11895,15 @@
   )
 )
 
+(define-function gst_value_list_append_and_take_value
+  (c-name "gst_value_list_append_and_take_value")
+  (return-type "none")
+  (parameters
+    '("GValue*" "value")
+    '("GValue*" "append_value")
+  )
+)
+
 (define-function gst_value_list_prepend_value
   (c-name "gst_value_list_prepend_value")
   (return-type "none")
@@ -11635,6 +11959,15 @@
   )
 )
 
+(define-function gst_value_array_append_and_take_value
+  (c-name "gst_value_array_append_and_take_value")
+  (return-type "none")
+  (parameters
+    '("GValue*" "value")
+    '("GValue*" "append_value")
+  )
+)
+
 (define-function gst_value_array_prepend_value
   (c-name "gst_value_array_prepend_value")
   (return-type "none")
@@ -11811,6 +12144,23 @@
   )
 )
 
+(define-function gst_value_get_caps_features
+  (c-name "gst_value_get_caps_features")
+  (return-type "const-GstCapsFeatures*")
+  (parameters
+    '("const-GValue*" "value")
+  )
+)
+
+(define-function gst_value_set_caps_features
+  (c-name "gst_value_set_caps_features")
+  (return-type "none")
+  (parameters
+    '("GValue*" "value")
+    '("const-GstCapsFeatures*" "features")
+  )
+)
+
 (define-function gst_value_set_fraction
   (c-name "gst_value_set_fraction")
   (return-type "none")
@@ -12015,11 +12365,11 @@
 
 
 
-;; From gstversion.h
+;; From math-compat.h
 
 
 
-;; From math-compat.h
+;; From base.h
 
 
 
@@ -12113,6 +12463,15 @@
   )
 )
 
+(define-method take_buffer_fast
+  (of-object "GstAdapter")
+  (c-name "gst_adapter_take_buffer_fast")
+  (return-type "GstBuffer*")
+  (parameters
+    '("gsize" "nbytes")
+  )
+)
+
 (define-method available
   (of-object "GstAdapter")
   (c-name "gst_adapter_available")
@@ -12143,10 +12502,30 @@
   )
 )
 
+(define-method prev_pts_at_offset
+  (of-object "GstAdapter")
+  (c-name "gst_adapter_prev_pts_at_offset")
+  (return-type "GstClockTime")
+  (parameters
+    '("gsize" "offset")
+    '("guint64*" "distance")
+  )
+)
+
+(define-method prev_dts_at_offset
+  (of-object "GstAdapter")
+  (c-name "gst_adapter_prev_dts_at_offset")
+  (return-type "GstClockTime")
+  (parameters
+    '("gsize" "offset")
+    '("guint64*" "distance")
+  )
+)
+
 (define-method masked_scan_uint32
   (of-object "GstAdapter")
   (c-name "gst_adapter_masked_scan_uint32")
-  (return-type "gsize")
+  (return-type "gssize")
   (parameters
     '("guint32" "mask")
     '("guint32" "pattern")
@@ -12158,7 +12537,7 @@
 (define-method masked_scan_uint32_peek
   (of-object "GstAdapter")
   (c-name "gst_adapter_masked_scan_uint32_peek")
-  (return-type "gsize")
+  (return-type "gssize")
   (parameters
     '("guint32" "mask")
     '("guint32" "pattern")
@@ -12289,6 +12668,15 @@
   )
 )
 
+(define-method set_infer_ts
+  (of-object "GstBaseParse")
+  (c-name "gst_base_parse_set_infer_ts")
+  (return-type "none")
+  (parameters
+    '("gboolean" "infer_ts")
+  )
+)
+
 (define-method set_frame_rate
   (of-object "GstBaseParse")
   (c-name "gst_base_parse_set_frame_rate")
@@ -12335,6 +12723,15 @@
   )
 )
 
+(define-method set_ts_at_offset
+  (of-object "GstBaseParse")
+  (c-name "gst_base_parse_set_ts_at_offset")
+  (return-type "none")
+  (parameters
+    '("gsize" "offset")
+  )
+)
+
 
 
 ;; From gstbasesink.h
@@ -12518,6 +12915,21 @@
   (return-type "guint64")
 )
 
+(define-method set_max_bitrate
+  (of-object "GstBaseSink")
+  (c-name "gst_base_sink_set_max_bitrate")
+  (return-type "none")
+  (parameters
+    '("guint64" "max_bitrate")
+  )
+)
+
+(define-method get_max_bitrate
+  (of-object "GstBaseSink")
+  (c-name "gst_base_sink_get_max_bitrate")
+  (return-type "guint64")
+)
+
 (define-method wait_clock
   (of-object "GstBaseSink")
   (c-name "gst_base_sink_wait_clock")
@@ -12823,72 +13235,72 @@
   (return-type "none")
 )
 
-(define-method peek_bits_uint8_unchecked
+(define-method get_bits_uint8_unchecked
   (of-object "GstBitReader")
-  (c-name "gst_bit_reader_peek_bits_uint8_unchecked")
+  (c-name "gst_bit_reader_get_bits_uint8_unchecked")
   (return-type "guint8")
   (parameters
     '("guint" "nbits")
   )
 )
 
-(define-method get_bits_uint8_unchecked
+(define-method peek_bits_uint8_unchecked
   (of-object "GstBitReader")
-  (c-name "gst_bit_reader_get_bits_uint8_unchecked")
+  (c-name "gst_bit_reader_peek_bits_uint8_unchecked")
   (return-type "guint8")
   (parameters
     '("guint" "nbits")
   )
 )
 
-(define-method peek_bits_uint16_unchecked
+(define-method get_bits_uint16_unchecked
   (of-object "GstBitReader")
-  (c-name "gst_bit_reader_peek_bits_uint16_unchecked")
+  (c-name "gst_bit_reader_get_bits_uint16_unchecked")
   (return-type "guint16")
   (parameters
     '("guint" "nbits")
   )
 )
 
-(define-method get_bits_uint16_unchecked
+(define-method peek_bits_uint16_unchecked
   (of-object "GstBitReader")
-  (c-name "gst_bit_reader_get_bits_uint16_unchecked")
+  (c-name "gst_bit_reader_peek_bits_uint16_unchecked")
   (return-type "guint16")
   (parameters
     '("guint" "nbits")
   )
 )
 
-(define-method peek_bits_uint32_unchecked
+(define-method get_bits_uint32_unchecked
   (of-object "GstBitReader")
-  (c-name "gst_bit_reader_peek_bits_uint32_unchecked")
+  (c-name "gst_bit_reader_get_bits_uint32_unchecked")
   (return-type "guint32")
   (parameters
     '("guint" "nbits")
   )
 )
 
-(define-method get_bits_uint32_unchecked
+(define-method peek_bits_uint32_unchecked
   (of-object "GstBitReader")
-  (c-name "gst_bit_reader_get_bits_uint32_unchecked")
+  (c-name "gst_bit_reader_peek_bits_uint32_unchecked")
   (return-type "guint32")
   (parameters
     '("guint" "nbits")
   )
 )
 
-(define-method peek_bits_uint64_unchecked
+(define-method get_bits_uint64_unchecked
   (of-object "GstBitReader")
-  (c-name "gst_bit_reader_peek_bits_uint64_unchecked")
+  (c-name "gst_bit_reader_get_bits_uint64_unchecked")
   (return-type "guint64")
   (parameters
     '("guint" "nbits")
   )
 )
 
-(define-method get_bits_uint64_unchecked
+(define-method peek_bits_uint64_unchecked
   (of-object "GstBitReader")
-  (c-name "gst_bit_reader_get_bits_uint64_unchecked")
+  (c-name "gst_bit_reader_peek_bits_uint64_unchecked")
   (return-type "guint64")
   (parameters
     '("guint" "nbits")
@@ -14732,6 +15144,114 @@
 
 
 
+;; From gstdataqueue.h
+
+(define-function gst_data_queue_get_type
+  (c-name "gst_data_queue_get_type")
+  (return-type "GType")
+)
+
+(define-function gst_data_queue_new
+  (c-name "gst_data_queue_new")
+  (is-constructor-of "GstDataQueue")
+  (return-type "GstDataQueue*")
+  (parameters
+    '("GstDataQueueCheckFullFunction" "checkfull")
+    '("GstDataQueueFullCallback" "fullcallback")
+    '("GstDataQueueEmptyCallback" "emptycallback")
+    '("gpointer" "checkdata")
+  )
+)
+
+(define-method push
+  (of-object "GstDataQueue")
+  (c-name "gst_data_queue_push")
+  (return-type "gboolean")
+  (parameters
+    '("GstDataQueueItem*" "item")
+  )
+)
+
+(define-method push_force
+  (of-object "GstDataQueue")
+  (c-name "gst_data_queue_push_force")
+  (return-type "gboolean")
+  (parameters
+    '("GstDataQueueItem*" "item")
+  )
+)
+
+(define-method pop
+  (of-object "GstDataQueue")
+  (c-name "gst_data_queue_pop")
+  (return-type "gboolean")
+  (parameters
+    '("GstDataQueueItem**" "item")
+  )
+)
+
+(define-method peek
+  (of-object "GstDataQueue")
+  (c-name "gst_data_queue_peek")
+  (return-type "gboolean")
+  (parameters
+    '("GstDataQueueItem**" "item")
+  )
+)
+
+(define-method flush
+  (of-object "GstDataQueue")
+  (c-name "gst_data_queue_flush")
+  (return-type "none")
+)
+
+(define-method set_flushing
+  (of-object "GstDataQueue")
+  (c-name "gst_data_queue_set_flushing")
+  (return-type "none")
+  (parameters
+    '("gboolean" "flushing")
+  )
+)
+
+(define-method drop_head
+  (of-object "GstDataQueue")
+  (c-name "gst_data_queue_drop_head")
+  (return-type "gboolean")
+  (parameters
+    '("GType" "type")
+  )
+)
+
+(define-method is_full
+  (of-object "GstDataQueue")
+  (c-name "gst_data_queue_is_full")
+  (return-type "gboolean")
+)
+
+(define-method is_empty
+  (of-object "GstDataQueue")
+  (c-name "gst_data_queue_is_empty")
+  (return-type "gboolean")
+)
+
+(define-method get_level
+  (of-object "GstDataQueue")
+  (c-name "gst_data_queue_get_level")
+  (return-type "none")
+  (parameters
+    '("GstDataQueueSize*" "level")
+  )
+)
+
+(define-method limits_changed
+  (of-object "GstDataQueue")
+  (c-name "gst_data_queue_limits_changed")
+  (return-type "none")
+)
+
+
+
 ;; From gstindex.h
 
 (define-function gst_index_new
@@ -14840,6 +15360,77 @@
 
 
 
+;; From gstqueuearray.h
+
+(define-function gst_queue_array_new
+  (c-name "gst_queue_array_new")
+  (is-constructor-of "GstQueueArray")
+  (return-type "GstQueueArray*")
+  (parameters
+    '("guint" "initial_size")
+  )
+)
+
+(define-method free
+  (of-object "GstQueueArray")
+  (c-name "gst_queue_array_free")
+  (return-type "none")
+)
+
+(define-method pop_head
+  (of-object "GstQueueArray")
+  (c-name "gst_queue_array_pop_head")
+  (return-type "gpointer")
+)
+
+(define-method peek_head
+  (of-object "GstQueueArray")
+  (c-name "gst_queue_array_peek_head")
+  (return-type "gpointer")
+)
+
+(define-method push_tail
+  (of-object "GstQueueArray")
+  (c-name "gst_queue_array_push_tail")
+  (return-type "none")
+  (parameters
+    '("gpointer" "data")
+  )
+)
+
+(define-method is_empty
+  (of-object "GstQueueArray")
+  (c-name "gst_queue_array_is_empty")
+  (return-type "gboolean")
+)
+
+(define-method drop_element
+  (of-object "GstQueueArray")
+  (c-name "gst_queue_array_drop_element")
+  (return-type "gpointer")
+  (parameters
+    '("guint" "idx")
+  )
+)
+
+(define-method find
+  (of-object "GstQueueArray")
+  (c-name "gst_queue_array_find")
+  (return-type "guint")
+  (parameters
+    '("GCompareFunc" "func")
+    '("gpointer" "data")
+  )
+)
+
+(define-method get_length
+  (of-object "GstQueueArray")
+  (c-name "gst_queue_array_get_length")
+  (return-type "guint")
+)
+
+
+
 ;; From gsttypefindhelper.h
 
 (define-function gst_type_find_helper
@@ -14896,6 +15487,10 @@
 
 
 
+;; From check.h
+
+
+
 ;; From gstbufferstraw.h
 
 (define-function gst_buffer_straw_start_pipeline
@@ -15106,6 +15701,29 @@
   )
 )
 
+(define-function gst_check_setup_events
+  (c-name "gst_check_setup_events")
+  (return-type "none")
+  (parameters
+    '("GstPad*" "srcpad")
+    '("GstElement*" "element")
+    '("GstCaps*" "caps")
+    '("GstFormat" "format")
+  )
+)
+
+(define-function gst_check_setup_events_with_stream_id
+  (c-name "gst_check_setup_events_with_stream_id")
+  (return-type "none")
+  (parameters
+    '("GstPad*" "srcpad")
+    '("GstElement*" "element")
+    '("GstCaps*" "caps")
+    '("GstFormat" "format")
+    '("const-gchar*" "stream_id")
+  )
+)
+
 
 
 ;; From gstconsistencychecker.h
@@ -15146,7 +15764,102 @@
 
 
 
-;; From internal-check.h
+;; From gsttestclock.h
+
+(define-function gst_test_clock_get_type
+  (c-name "gst_test_clock_get_type")
+  (return-type "GType")
+)
+
+(define-function gst_test_clock_new
+  (c-name "gst_test_clock_new")
+  (is-constructor-of "GstTestClock")
+  (return-type "GstClock*")
+)
+
+(define-function gst_test_clock_new_with_start_time
+  (c-name "gst_test_clock_new_with_start_time")
+  (return-type "GstClock*")
+  (parameters
+    '("GstClockTime" "start_time")
+  )
+)
+
+(define-method set_time
+  (of-object "GstTestClock")
+  (c-name "gst_test_clock_set_time")
+  (return-type "none")
+  (parameters
+    '("GstClockTime" "new_time")
+  )
+)
+
+(define-method advance_time
+  (of-object "GstTestClock")
+  (c-name "gst_test_clock_advance_time")
+  (return-type "none")
+  (parameters
+    '("GstClockTimeDiff" "delta")
+  )
+)
+
+(define-method peek_id_count
+  (of-object "GstTestClock")
+  (c-name "gst_test_clock_peek_id_count")
+  (return-type "guint")
+)
+
+(define-method has_id
+  (of-object "GstTestClock")
+  (c-name "gst_test_clock_has_id")
+  (return-type "gboolean")
+  (parameters
+    '("GstClockID" "id")
+  )
+)
+
+(define-method peek_next_pending_id
+  (of-object "GstTestClock")
+  (c-name "gst_test_clock_peek_next_pending_id")
+  (return-type "gboolean")
+  (parameters
+    '("GstClockID*" "pending_id")
+  )
+)
+
+(define-method wait_for_next_pending_id
+  (of-object "GstTestClock")
+  (c-name "gst_test_clock_wait_for_next_pending_id")
+  (return-type "none")
+  (parameters
+    '("GstClockID*" "pending_id")
+  )
+)
+
+(define-method wait_for_pending_id_count
+  (of-object "GstTestClock")
+  (c-name "gst_test_clock_wait_for_pending_id_count")
+  (return-type "none")
+  (parameters
+    '("guint" "count")
+  )
+)
+
+(define-method process_next_clock_id
+  (of-object "GstTestClock")
+  (c-name "gst_test_clock_process_next_clock_id")
+  (return-type "GstClockID")
+)
+
+(define-method get_next_entry_time
+  (of-object "GstTestClock")
+  (c-name "gst_test_clock_get_next_entry_time")
+  (return-type "GstClockTime")
+)
+
+
+
+;; From controller.h
 
 
 
@@ -15444,6 +16157,10 @@
 )
 
 
+
+;; From net.h
+
+
 ;; -*- scheme -*-
 ; object definitions ...
 (define-object AppSink
@@ -15803,6 +16520,7 @@
     '("stopped" "GST_AUDIO_RING_BUFFER_STATE_STOPPED")
     '("paused" "GST_AUDIO_RING_BUFFER_STATE_PAUSED")
     '("started" "GST_AUDIO_RING_BUFFER_STATE_STARTED")
+    '("error" "GST_AUDIO_RING_BUFFER_STATE_ERROR")
   )
 )
 
@@ -15908,6 +16626,7 @@
     '("rtpfb-type-nack" "GST_RTCP_RTPFB_TYPE_NACK")
     '("rtpfb-type-tmmbr" "GST_RTCP_RTPFB_TYPE_TMMBR")
     '("rtpfb-type-tmmbn" "GST_RTCP_RTPFB_TYPE_TMMBN")
+    '("rtpfb-type-rctp-sr-req" "GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ")
     '("psfb-type-pli" "GST_RTCP_PSFB_TYPE_PLI")
     '("psfb-type-sli" "GST_RTCP_PSFB_TYPE_SLI")
     '("psfb-type-rpsi" "GST_RTCP_PSFB_TYPE_RPSI")
@@ -16255,6 +16974,8 @@
     '("seconds" "GST_RTSP_TIME_SECONDS")
     '("now" "GST_RTSP_TIME_NOW")
     '("end" "GST_RTSP_TIME_END")
+    '("frames" "GST_RTSP_TIME_FRAMES")
+    '("utc" "GST_RTSP_TIME_UTC")
   )
 )
 
@@ -16290,6 +17011,7 @@
     '("udp-mcast" "GST_RTSP_LOWER_TRANS_UDP_MCAST")
     '("tcp" "GST_RTSP_LOWER_TRANS_TCP")
     '("http" "GST_RTSP_LOWER_TRANS_HTTP")
+    '("tls" "GST_RTSP_LOWER_TRANS_TLS")
   )
 )
 
@@ -16374,6 +17096,33 @@
   )
 )
 
+(define-enum VideoGLTextureType
+  (in-module "Gst")
+  (c-name "GstVideoGLTextureType")
+  (gtype-id "GST_TYPE_VIDEO_GL_TEXTURE_TYPE")
+  (values
+    '("luminance" "GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE")
+    '("luminance-alpha" "GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE_ALPHA")
+    '("rgb16" "GST_VIDEO_GL_TEXTURE_TYPE_RGB16")
+    '("rgb" "GST_VIDEO_GL_TEXTURE_TYPE_RGB")
+    '("rgba" "GST_VIDEO_GL_TEXTURE_TYPE_RGBA")
+    '("r" "GST_VIDEO_GL_TEXTURE_TYPE_R")
+    '("rg" "GST_VIDEO_GL_TEXTURE_TYPE_RG")
+  )
+)
+
+(define-enum VideoGLTextureOrientation
+  (in-module "Gst")
+  (c-name "GstVideoGLTextureOrientation")
+  (gtype-id "GST_TYPE_VIDEO_GL_TEXTURE_ORIENTATION")
+  (values
+    '("normal-y-normal" "GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL")
+    '("normal-y-flip" "GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_FLIP")
+    '("flip-y-normal" "GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_NORMAL")
+    '("flip-y-flip" "GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_FLIP")
+  )
+)
+
 (define-flags VideoCodecFrameFlags
   (in-module "Gst")
   (c-name "GstVideoCodecFrameFlags")
@@ -16447,6 +17196,43 @@
   )
 )
 
+(define-flags VideoChromaSite
+  (in-module "Gst")
+  (c-name "GstVideoChromaSite")
+  (gtype-id "GST_TYPE_VIDEO_CHROMA_SITE")
+  (values
+    '("unknown" "GST_VIDEO_CHROMA_SITE_UNKNOWN")
+    '("none" "GST_VIDEO_CHROMA_SITE_NONE")
+    '("h-cosited" "GST_VIDEO_CHROMA_SITE_H_COSITED")
+    '("v-cosited" "GST_VIDEO_CHROMA_SITE_V_COSITED")
+    '("alt-line" "GST_VIDEO_CHROMA_SITE_ALT_LINE")
+    '("cosited" "GST_VIDEO_CHROMA_SITE_COSITED")
+    '("jpeg" "GST_VIDEO_CHROMA_SITE_JPEG")
+    '("mpeg2" "GST_VIDEO_CHROMA_SITE_MPEG2")
+    '("dv" "GST_VIDEO_CHROMA_SITE_DV")
+  )
+)
+
+(define-enum VideoChromaMethod
+  (in-module "Gst")
+  (c-name "GstVideoChromaMethod")
+  (gtype-id "GST_TYPE_VIDEO_CHROMA_METHOD")
+  (values
+    '("nearest" "GST_VIDEO_CHROMA_METHOD_NEAREST")
+    '("linear" "GST_VIDEO_CHROMA_METHOD_LINEAR")
+  )
+)
+
+(define-flags VideoChromaFlags
+  (in-module "Gst")
+  (c-name "GstVideoChromaFlags")
+  (gtype-id "GST_TYPE_VIDEO_CHROMA_FLAGS")
+  (values
+    '("none" "GST_VIDEO_CHROMA_FLAG_NONE")
+    '("interlaced" "GST_VIDEO_CHROMA_FLAG_INTERLACED")
+  )
+)
+
 (define-enum VideoColorRange
   (in-module "Gst")
   (c-name "GstVideoColorRange")
@@ -16557,23 +17343,13 @@
     '("i420-10le" "GST_VIDEO_FORMAT_I420_10LE")
     '("i422-10be" "GST_VIDEO_FORMAT_I422_10BE")
     '("i422-10le" "GST_VIDEO_FORMAT_I422_10LE")
-  )
-)
-
-(define-flags VideoChromaSite
-  (in-module "Gst")
-  (c-name "GstVideoChromaSite")
-  (gtype-id "GST_TYPE_VIDEO_CHROMA_SITE")
-  (values
-    '("unknown" "GST_VIDEO_CHROMA_SITE_UNKNOWN")
-    '("none" "GST_VIDEO_CHROMA_SITE_NONE")
-    '("h-cosited" "GST_VIDEO_CHROMA_SITE_H_COSITED")
-    '("v-cosited" "GST_VIDEO_CHROMA_SITE_V_COSITED")
-    '("alt-line" "GST_VIDEO_CHROMA_SITE_ALT_LINE")
-    '("cosited" "GST_VIDEO_CHROMA_SITE_COSITED")
-    '("jpeg" "GST_VIDEO_CHROMA_SITE_JPEG")
-    '("mpeg2" "GST_VIDEO_CHROMA_SITE_MPEG2")
-    '("dv" "GST_VIDEO_CHROMA_SITE_DV")
+    '("y444-10be" "GST_VIDEO_FORMAT_Y444_10BE")
+    '("y444-10le" "GST_VIDEO_FORMAT_Y444_10LE")
+    '("gbr" "GST_VIDEO_FORMAT_GBR")
+    '("gbr-10be" "GST_VIDEO_FORMAT_GBR_10BE")
+    '("gbr-10le" "GST_VIDEO_FORMAT_GBR_10LE")
+    '("nv16" "GST_VIDEO_FORMAT_NV16")
+    '("nv24" "GST_VIDEO_FORMAT_NV24")
   )
 )
 
@@ -16593,13 +17369,14 @@
   )
 )
 
-(define-enum VideoPackFlags
+(define-flags VideoPackFlags
   (in-module "Gst")
   (c-name "GstVideoPackFlags")
   (gtype-id "GST_TYPE_VIDEO_PACK_FLAGS")
   (values
     '("none" "GST_VIDEO_PACK_FLAG_NONE")
     '("truncate-range" "GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE")
+    '("interlaced" "GST_VIDEO_PACK_FLAG_INTERLACED")
   )
 )
 
@@ -16664,7 +17441,47 @@
 )
 
 
-;; From gstapp-marshal.h
+;; From allocators.h
+
+
+
+;; From gstdmabuf.h
+
+(define-function gst_dmabuf_allocator_new
+  (c-name "gst_dmabuf_allocator_new")
+  (is-constructor-of "GstDmabufAllocator")
+  (return-type "GstAllocator*")
+)
+
+(define-function gst_dmabuf_allocator_alloc
+  (c-name "gst_dmabuf_allocator_alloc")
+  (return-type "GstMemory*")
+  (parameters
+    '("GstAllocator*" "allocator")
+    '("gint" "fd")
+    '("gsize" "size")
+  )
+)
+
+(define-function gst_dmabuf_memory_get_fd
+  (c-name "gst_dmabuf_memory_get_fd")
+  (return-type "gint")
+  (parameters
+    '("GstMemory*" "mem")
+  )
+)
+
+(define-function gst_is_dmabuf_memory
+  (c-name "gst_is_dmabuf_memory")
+  (return-type "gboolean")
+  (parameters
+    '("GstMemory*" "mem")
+  )
+)
+
+
+
+;; From app.h
 
 
 
@@ -16838,6 +17655,12 @@
   (return-type "guint64")
 )
 
+(define-method get_current_level_bytes
+  (of-object "GstAppSrc")
+  (c-name "gst_app_src_get_current_level_bytes")
+  (return-type "guint64")
+)
+
 (define-method set_latency
   (of-object "GstAppSrc")
   (c-name "gst_app_src_set_latency")
@@ -16981,50 +17804,6 @@
 
 
 
-;; From audio-enumtypes.h
-
-(define-function gst_audio_format_get_type
-  (c-name "gst_audio_format_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_audio_format_flags_get_type
-  (c-name "gst_audio_format_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_audio_pack_flags_get_type
-  (c-name "gst_audio_pack_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_audio_channel_position_get_type
-  (c-name "gst_audio_channel_position_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_audio_flags_get_type
-  (c-name "gst_audio_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_audio_layout_get_type
-  (c-name "gst_audio_layout_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_audio_ring_buffer_state_get_type
-  (c-name "gst_audio_ring_buffer_state_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_audio_ring_buffer_format_type_get_type
-  (c-name "gst_audio_ring_buffer_format_type_get_type")
-  (return-type "GType")
-)
-
-
-
 ;; From audio-format.h
 
 (define-function gst_audio_format_info_get_type
@@ -17160,6 +17939,15 @@
   )
 )
 
+(define-method is_equal
+  (of-object "GstAudioInfo")
+  (c-name "gst_audio_info_is_equal")
+  (return-type "gboolean")
+  (parameters
+    '("const-GstAudioInfo*" "other")
+  )
+)
+
 
 
 ;; From gstaudiobasesink.h
@@ -18312,370 +19100,6 @@
 
 
 
-;; From gstaudiopack.h
-
-(define-function audio_orc_unpack_u8
-  (c-name "audio_orc_unpack_u8")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_s8
-  (c-name "audio_orc_unpack_s8")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_u16
-  (c-name "audio_orc_unpack_u16")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_s16
-  (c-name "audio_orc_unpack_s16")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_u16_swap
-  (c-name "audio_orc_unpack_u16_swap")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_s16_swap
-  (c-name "audio_orc_unpack_s16_swap")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_u24_32
-  (c-name "audio_orc_unpack_u24_32")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_s24_32
-  (c-name "audio_orc_unpack_s24_32")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_u24_32_swap
-  (c-name "audio_orc_unpack_u24_32_swap")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_s24_32_swap
-  (c-name "audio_orc_unpack_s24_32_swap")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_u32
-  (c-name "audio_orc_unpack_u32")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_u32_swap
-  (c-name "audio_orc_unpack_u32_swap")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_s32
-  (c-name "audio_orc_unpack_s32")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_s32_swap
-  (c-name "audio_orc_unpack_s32_swap")
-  (return-type "none")
-  (parameters
-    '("gint32*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_f32
-  (c-name "audio_orc_unpack_f32")
-  (return-type "none")
-  (parameters
-    '("gdouble*-ORC_RESTRICT" "d1")
-    '("const-gfloat*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_f32_swap
-  (c-name "audio_orc_unpack_f32_swap")
-  (return-type "none")
-  (parameters
-    '("gdouble*-ORC_RESTRICT" "d1")
-    '("const-gfloat*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_f64
-  (c-name "audio_orc_unpack_f64")
-  (return-type "none")
-  (parameters
-    '("gdouble*-ORC_RESTRICT" "d1")
-    '("const-gdouble*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_unpack_f64_swap
-  (c-name "audio_orc_unpack_f64_swap")
-  (return-type "none")
-  (parameters
-    '("gdouble*-ORC_RESTRICT" "d1")
-    '("const-gdouble*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_u8
-  (c-name "audio_orc_pack_u8")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_s8
-  (c-name "audio_orc_pack_s8")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_u16
-  (c-name "audio_orc_pack_u16")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_s16
-  (c-name "audio_orc_pack_s16")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_u16_swap
-  (c-name "audio_orc_pack_u16_swap")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_s16_swap
-  (c-name "audio_orc_pack_s16_swap")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_u24_32
-  (c-name "audio_orc_pack_u24_32")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_s24_32
-  (c-name "audio_orc_pack_s24_32")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_u24_32_swap
-  (c-name "audio_orc_pack_u24_32_swap")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_s24_32_swap
-  (c-name "audio_orc_pack_s24_32_swap")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_u32
-  (c-name "audio_orc_pack_u32")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_s32
-  (c-name "audio_orc_pack_s32")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_u32_swap
-  (c-name "audio_orc_pack_u32_swap")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_s32_swap
-  (c-name "audio_orc_pack_s32_swap")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-gint32*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_f32
-  (c-name "audio_orc_pack_f32")
-  (return-type "none")
-  (parameters
-    '("gfloat*-ORC_RESTRICT" "d1")
-    '("const-gdouble*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_f32_swap
-  (c-name "audio_orc_pack_f32_swap")
-  (return-type "none")
-  (parameters
-    '("gfloat*-ORC_RESTRICT" "d1")
-    '("const-gdouble*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_f64
-  (c-name "audio_orc_pack_f64")
-  (return-type "none")
-  (parameters
-    '("gdouble*-ORC_RESTRICT" "d1")
-    '("const-gdouble*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function audio_orc_pack_f64_swap
-  (c-name "audio_orc_pack_f64_swap")
-  (return-type "none")
-  (parameters
-    '("gdouble*-ORC_RESTRICT" "d1")
-    '("const-gdouble*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-
-
 ;; From gstaudioringbuffer.h
 
 (define-function gst_audio_ring_buffer_get_type
@@ -18999,6 +19423,10 @@
 
 
 
+;; From fft.h
+
+
+
 ;; From gstfftf32.h
 
 (define-function gst_fft_f32_new
@@ -19573,6 +20001,14 @@
   )
 )
 
+(define-function gst_codec_utils_aac_get_index_from_sample_rate
+  (c-name "gst_codec_utils_aac_get_index_from_sample_rate")
+  (return-type "gint")
+  (parameters
+    '("guint" "rate")
+  )
+)
+
 (define-function gst_codec_utils_aac_get_profile
   (c-name "gst_codec_utils_aac_get_profile")
   (return-type "const-gchar*")
@@ -19802,6 +20238,12 @@
   (return-type "const-gchar*")
 )
 
+(define-method get_preset_name
+  (of-object "GstEncodingProfile")
+  (c-name "gst_encoding_profile_get_preset_name")
+  (return-type "const-gchar*")
+)
+
 (define-method set_preset
   (of-object "GstEncodingProfile")
   (c-name "gst_encoding_profile_set_preset")
@@ -19826,6 +20268,15 @@
   )
 )
 
+(define-method set_preset_name
+  (of-object "GstEncodingProfile")
+  (c-name "gst_encoding_profile_set_preset_name")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "preset_name")
+  )
+)
+
 (define-method get_restriction
   (of-object "GstEncodingProfile")
   (c-name "gst_encoding_profile_get_restriction")
@@ -19862,6 +20313,12 @@
   (return-type "const-gchar*")
 )
 
+(define-method get_file_extension
+  (of-object "GstEncodingProfile")
+  (c-name "gst_encoding_profile_get_file_extension")
+  (return-type "const-gchar*")
+)
+
 (define-function gst_encoding_profile_find
   (c-name "gst_encoding_profile_find")
   (return-type "GstEncodingProfile*")
@@ -20123,6 +20580,12 @@
   (return-type "const-GstToc*")
 )
 
+(define-method get_stream_id
+  (of-object "GstDiscovererStreamInfo")
+  (c-name "gst_discoverer_stream_info_get_stream_id")
+  (return-type "const-gchar*")
+)
+
 (define-method get_misc
   (of-object "GstDiscovererStreamInfo")
   (c-name "gst_discoverer_stream_info_get_misc")
@@ -20423,26 +20886,6 @@
 
 
 
-;; From gstpluginsbaseversion.h
-
-(define-function gst_plugins_base_version
-  (c-name "gst_plugins_base_version")
-  (return-type "none")
-  (parameters
-    '("guint*" "major")
-    '("guint*" "minor")
-    '("guint*" "micro")
-    '("guint*" "nano")
-  )
-)
-
-(define-function gst_plugins_base_version_string
-  (c-name "gst_plugins_base_version_string")
-  (return-type "gchar*")
-)
-
-
-
 ;; From install-plugins.h
 
 (define-function gst_install_plugins_context_new
@@ -20632,20 +21075,6 @@
 
 
 
-;; From pbutils-enumtypes.h
-
-(define-function gst_install_plugins_return_get_type
-  (c-name "gst_install_plugins_return_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_discoverer_result_get_type
-  (c-name "gst_discoverer_result_get_type")
-  (return-type "GType")
-)
-
-
-
 ;; From pbutils.h
 
 (define-function gst_pb_utils_init
@@ -20667,6 +21096,10 @@
 
 
 
+;; From riff.h
+
+
+
 ;; From riff-ids.h
 
 
@@ -21617,6 +22050,15 @@
   )
 )
 
+(define-method get_extension_bytes
+  (of-object "GstRTPBuffer")
+  (c-name "gst_rtp_buffer_get_extension_bytes")
+  (return-type "GBytes*")
+  (parameters
+    '("guint16*" "bits")
+  )
+)
+
 (define-method set_extension_data
   (of-object "GstRTPBuffer")
   (c-name "gst_rtp_buffer_set_extension_data")
@@ -21755,6 +22197,12 @@
   (return-type "gpointer")
 )
 
+(define-method get_payload_bytes
+  (of-object "GstRTPBuffer")
+  (c-name "gst_rtp_buffer_get_payload_bytes")
+  (return-type "GBytes*")
+)
+
 (define-function gst_rtp_buffer_default_clock_rate
   (c-name "gst_rtp_buffer_default_clock_rate")
   (return-type "guint32")
@@ -21831,6 +22279,50 @@
 
 
 
+;; From gstrtphdrext.h
+
+(define-function gst_rtp_hdrext_set_ntp_64
+  (c-name "gst_rtp_hdrext_set_ntp_64")
+  (return-type "gboolean")
+  (parameters
+    '("gpointer" "data")
+    '("guint" "size")
+    '("guint64" "ntptime")
+  )
+)
+
+(define-function gst_rtp_hdrext_get_ntp_64
+  (c-name "gst_rtp_hdrext_get_ntp_64")
+  (return-type "gboolean")
+  (parameters
+    '("gpointer" "data")
+    '("guint" "size")
+    '("guint64*" "ntptime")
+  )
+)
+
+(define-function gst_rtp_hdrext_set_ntp_56
+  (c-name "gst_rtp_hdrext_set_ntp_56")
+  (return-type "gboolean")
+  (parameters
+    '("gpointer" "data")
+    '("guint" "size")
+    '("guint64" "ntptime")
+  )
+)
+
+(define-function gst_rtp_hdrext_get_ntp_56
+  (c-name "gst_rtp_hdrext_get_ntp_56")
+  (return-type "gboolean")
+  (parameters
+    '("gpointer" "data")
+    '("guint" "size")
+    '("guint64*" "ntptime")
+  )
+)
+
+
+
 ;; From gstrtppayloads.h
 
 (define-function gst_rtp_payload_info_for_pt
@@ -21852,6 +22344,10 @@
 
 
 
+;; From rtp.h
+
+
+
 ;; From gstrtspconnection.h
 
 (define-function gst_rtsp_connection_create
@@ -21906,6 +22402,30 @@
   (return-type "GstRTSPResult")
 )
 
+(define-method get_tls
+  (of-object "GstRTSPConnection")
+  (c-name "gst_rtsp_connection_get_tls")
+  (return-type "GTlsConnection*")
+  (parameters
+    '("GError**" "error")
+  )
+)
+
+(define-method set_tls_validation_flags
+  (of-object "GstRTSPConnection")
+  (c-name "gst_rtsp_connection_set_tls_validation_flags")
+  (return-type "gboolean")
+  (parameters
+    '("GTlsCertificateFlags" "flags")
+  )
+)
+
+(define-method get_tls_validation_flags
+  (of-object "GstRTSPConnection")
+  (c-name "gst_rtsp_connection_get_tls_validation_flags")
+  (return-type "GTlsCertificateFlags")
+)
+
 (define-method read
   (of-object "GstRTSPConnection")
   (c-name "gst_rtsp_connection_read")
@@ -22101,6 +22621,21 @@
   )
 )
 
+(define-method set_remember_session_id
+  (of-object "GstRTSPConnection")
+  (c-name "gst_rtsp_connection_set_remember_session_id")
+  (return-type "none")
+  (parameters
+    '("gboolean" "remember")
+  )
+)
+
+(define-method get_remember_session_id
+  (of-object "GstRTSPConnection")
+  (c-name "gst_rtsp_connection_get_remember_session_id")
+  (return-type "gboolean")
+)
+
 (define-function gst_rtsp_watch_new
   (c-name "gst_rtsp_watch_new")
   (is-constructor-of "GstRtspWatch")
@@ -22134,6 +22669,26 @@
   )
 )
 
+(define-method set_send_backlog
+  (of-object "GstRTSPWatch")
+  (c-name "gst_rtsp_watch_set_send_backlog")
+  (return-type "none")
+  (parameters
+    '("gsize" "bytes")
+    '("guint" "messages")
+  )
+)
+
+(define-method get_send_backlog
+  (of-object "GstRTSPWatch")
+  (c-name "gst_rtsp_watch_get_send_backlog")
+  (return-type "none")
+  (parameters
+    '("gsize*" "bytes")
+    '("guint*" "messages")
+  )
+)
+
 (define-method write_data
   (of-object "GstRTSPWatch")
   (c-name "gst_rtsp_watch_write_data")
@@ -22203,6 +22758,14 @@
   )
 )
 
+(define-function gst_rtsp_options_from_text
+  (c-name "gst_rtsp_options_from_text")
+  (return-type "GstRTSPMethod")
+  (parameters
+    '("const-gchar*" "options")
+  )
+)
+
 (define-function gst_rtsp_find_header_field
   (c-name "gst_rtsp_find_header_field")
   (return-type "GstRTSPHeaderField")
@@ -22229,55 +22792,6 @@
 
 
 
-;; From gstrtsp-enumtypes.h
-
-(define-function gst_rtsp_result_get_type
-  (c-name "gst_rtsp_result_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_rtsp_event_get_type
-  (c-name "gst_rtsp_event_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_rtsp_family_get_type
-  (c-name "gst_rtsp_family_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_rtsp_state_get_type
-  (c-name "gst_rtsp_state_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_rtsp_version_get_type
-  (c-name "gst_rtsp_version_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_rtsp_method_get_type
-  (c-name "gst_rtsp_method_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_rtsp_auth_method_get_type
-  (c-name "gst_rtsp_auth_method_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_rtsp_header_field_get_type
-  (c-name "gst_rtsp_header_field_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_rtsp_status_code_get_type
-  (c-name "gst_rtsp_status_code_get_type")
-  (return-type "GType")
-)
-
-
-
 ;; From gstrtspextension.h
 
 (define-function gst_rtsp_extension_get_type
@@ -22385,10 +22899,6 @@
 
 
 
-;; From gstrtsp-marshal.h
-
-
-
 ;; From gstrtspmessage.h
 
 (define-function gst_rtsp_message_new
@@ -22639,10 +23149,34 @@
   )
 )
 
+(define-function gst_rtsp_range_get_times
+  (c-name "gst_rtsp_range_get_times")
+  (return-type "gboolean")
+  (parameters
+    '("const-GstRTSPTimeRange*" "range")
+    '("GstClockTime*" "min")
+    '("GstClockTime*" "max")
+  )
+)
+
+(define-function gst_rtsp_range_convert_units
+  (c-name "gst_rtsp_range_convert_units")
+  (return-type "gboolean")
+  (parameters
+    '("GstRTSPTimeRange*" "range")
+    '("GstRTSPRangeUnit" "unit")
+  )
+)
+
 
 
 ;; From gstrtsptransport.h
 
+(define-function gst_rtsp_profile_get_type
+  (c-name "gst_rtsp_profile_get_type")
+  (return-type "GType")
+)
+
 (define-function gst_rtsp_lower_trans_get_type
   (c-name "gst_rtsp_lower_trans_get_type")
   (return-type "GType")
@@ -22764,12 +23298,105 @@
 
 
 
+;; From rtsp.h
+
+
+
 ;; From gstsdp.h
 
 
 
 ;; From gstsdpmessage.h
 
+(define-method set
+  (of-object "GstSDPConnection")
+  (c-name "gst_sdp_connection_set")
+  (return-type "GstSDPResult")
+  (parameters
+    '("const-gchar*" "nettype")
+    '("const-gchar*" "addrtype")
+    '("const-gchar*" "address")
+    '("guint" "ttl")
+    '("guint" "addr_number")
+  )
+)
+
+(define-method clear
+  (of-object "GstSDPConnection")
+  (c-name "gst_sdp_connection_clear")
+  (return-type "GstSDPResult")
+)
+
+(define-method set
+  (of-object "GstSDPBandwidth")
+  (c-name "gst_sdp_bandwidth_set")
+  (return-type "GstSDPResult")
+  (parameters
+    '("const-gchar*" "bwtype")
+    '("guint" "bandwidth")
+  )
+)
+
+(define-method clear
+  (of-object "GstSDPBandwidth")
+  (c-name "gst_sdp_bandwidth_clear")
+  (return-type "GstSDPResult")
+)
+
+(define-method set
+  (of-object "GstSDPTime")
+  (c-name "gst_sdp_time_set")
+  (return-type "GstSDPResult")
+  (parameters
+    '("const-gchar*" "start")
+    '("const-gchar*" "stop")
+    '("const-gchar**" "repeat")
+  )
+)
+
+(define-method clear
+  (of-object "GstSDPTime")
+  (c-name "gst_sdp_time_clear")
+  (return-type "GstSDPResult")
+)
+
+(define-method set
+  (of-object "GstSDPZone")
+  (c-name "gst_sdp_zone_set")
+  (return-type "GstSDPResult")
+  (parameters
+    '("const-gchar*" "adj_time")
+    '("const-gchar*" "typed_time")
+  )
+)
+
+(define-method clear
+  (of-object "GstSDPZone")
+  (c-name "gst_sdp_zone_clear")
+  (return-type "GstSDPResult")
+)
+
+(define-method set
+  (of-object "GstSDPAttribute")
+  (c-name "gst_sdp_attribute_set")
+  (return-type "GstSDPResult")
+  (parameters
+    '("const-gchar*" "key")
+    '("const-gchar*" "value")
+  )
+)
+
+(define-method clear
+  (of-object "GstSDPAttribute")
+  (c-name "gst_sdp_attribute_clear")
+  (return-type "GstSDPResult")
+)
+
+(define-function gst_sdp_message_get_type
+  (c-name "gst_sdp_message_get_type")
+  (return-type "GType")
+)
+
 (define-function gst_sdp_message_new
   (c-name "gst_sdp_message_new")
   (return-type "GstSDPResult")
@@ -22796,6 +23423,15 @@
   (return-type "GstSDPResult")
 )
 
+(define-method copy
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_copy")
+  (return-type "GstSDPResult")
+  (parameters
+    '("GstSDPMessage**" "copy")
+  )
+)
+
 (define-function gst_sdp_message_parse_buffer
   (c-name "gst_sdp_message_parse_buffer")
   (return-type "GstSDPResult")
@@ -22935,6 +23571,35 @@
   )
 )
 
+(define-method insert_email
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_insert_email")
+  (return-type "GstSDPResult")
+  (parameters
+    '("gint" "idx")
+    '("const-gchar*" "email")
+  )
+)
+
+(define-method replace_email
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_replace_email")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+    '("const-gchar*" "email")
+  )
+)
+
+(define-method remove_email
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_remove_email")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+  )
+)
+
 (define-method add_email
   (of-object "GstSDPMessage")
   (c-name "gst_sdp_message_add_email")
@@ -22959,6 +23624,35 @@
   )
 )
 
+(define-method insert_phone
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_insert_phone")
+  (return-type "GstSDPResult")
+  (parameters
+    '("gint" "idx")
+    '("const-gchar*" "phone")
+  )
+)
+
+(define-method replace_phone
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_replace_phone")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+    '("const-gchar*" "phone")
+  )
+)
+
+(define-method remove_phone
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_remove_phone")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+  )
+)
+
 (define-method add_phone
   (of-object "GstSDPMessage")
   (c-name "gst_sdp_message_add_phone")
@@ -23002,6 +23696,35 @@
   )
 )
 
+(define-method insert_bandwidth
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_insert_bandwidth")
+  (return-type "GstSDPResult")
+  (parameters
+    '("gint" "idx")
+    '("GstSDPBandwidth*" "bw")
+  )
+)
+
+(define-method replace_bandwidth
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_replace_bandwidth")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+    '("GstSDPBandwidth*" "bw")
+  )
+)
+
+(define-method remove_bandwidth
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_remove_bandwidth")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+  )
+)
+
 (define-method add_bandwidth
   (of-object "GstSDPMessage")
   (c-name "gst_sdp_message_add_bandwidth")
@@ -23027,6 +23750,35 @@
   )
 )
 
+(define-method insert_time
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_insert_time")
+  (return-type "GstSDPResult")
+  (parameters
+    '("gint" "idx")
+    '("GstSDPTime*" "t")
+  )
+)
+
+(define-method replace_time
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_replace_time")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+    '("GstSDPTime*" "t")
+  )
+)
+
+(define-method remove_time
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_remove_time")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+  )
+)
+
 (define-method add_time
   (of-object "GstSDPMessage")
   (c-name "gst_sdp_message_add_time")
@@ -23053,6 +23805,35 @@
   )
 )
 
+(define-method insert_zone
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_insert_zone")
+  (return-type "GstSDPResult")
+  (parameters
+    '("gint" "idx")
+    '("GstSDPZone*" "zone")
+  )
+)
+
+(define-method replace_zone
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_replace_zone")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+    '("GstSDPZone*" "zone")
+  )
+)
+
+(define-method remove_zone
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_remove_zone")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+  )
+)
+
 (define-method add_zone
   (of-object "GstSDPMessage")
   (c-name "gst_sdp_message_add_zone")
@@ -23113,6 +23894,35 @@
   )
 )
 
+(define-method insert_attribute
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_insert_attribute")
+  (return-type "GstSDPResult")
+  (parameters
+    '("gint" "idx")
+    '("GstSDPAttribute*" "attr")
+  )
+)
+
+(define-method replace_attribute
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_replace_attribute")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+    '("GstSDPAttribute*" "attr")
+  )
+)
+
+(define-method remove_attribute
+  (of-object "GstSDPMessage")
+  (c-name "gst_sdp_message_remove_attribute")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+  )
+)
+
 (define-method add_attribute
   (of-object "GstSDPMessage")
   (c-name "gst_sdp_message_add_attribute")
@@ -23179,6 +23989,15 @@
   (return-type "GstSDPResult")
 )
 
+(define-method copy
+  (of-object "GstSDPMedia")
+  (c-name "gst_sdp_media_copy")
+  (return-type "GstSDPResult")
+  (parameters
+    '("GstSDPMedia**" "copy")
+  )
+)
+
 (define-method as_text
   (of-object "GstSDPMedia")
   (c-name "gst_sdp_media_as_text")
@@ -23252,6 +24071,35 @@
   )
 )
 
+(define-method insert_format
+  (of-object "GstSDPMedia")
+  (c-name "gst_sdp_media_insert_format")
+  (return-type "GstSDPResult")
+  (parameters
+    '("gint" "idx")
+    '("const-gchar*" "format")
+  )
+)
+
+(define-method replace_format
+  (of-object "GstSDPMedia")
+  (c-name "gst_sdp_media_replace_format")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+    '("const-gchar*" "format")
+  )
+)
+
+(define-method remove_format
+  (of-object "GstSDPMedia")
+  (c-name "gst_sdp_media_remove_format")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+  )
+)
+
 (define-method add_format
   (of-object "GstSDPMedia")
   (c-name "gst_sdp_media_add_format")
@@ -23291,6 +24139,35 @@
   )
 )
 
+(define-method insert_connection
+  (of-object "GstSDPMedia")
+  (c-name "gst_sdp_media_insert_connection")
+  (return-type "GstSDPResult")
+  (parameters
+    '("gint" "idx")
+    '("GstSDPConnection*" "conn")
+  )
+)
+
+(define-method replace_connection
+  (of-object "GstSDPMedia")
+  (c-name "gst_sdp_media_replace_connection")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+    '("GstSDPConnection*" "conn")
+  )
+)
+
+(define-method remove_connection
+  (of-object "GstSDPMedia")
+  (c-name "gst_sdp_media_remove_connection")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+  )
+)
+
 (define-method add_connection
   (of-object "GstSDPMedia")
   (c-name "gst_sdp_media_add_connection")
@@ -23319,6 +24196,35 @@
   )
 )
 
+(define-method insert_bandwidth
+  (of-object "GstSDPMedia")
+  (c-name "gst_sdp_media_insert_bandwidth")
+  (return-type "GstSDPResult")
+  (parameters
+    '("gint" "idx")
+    '("GstSDPBandwidth*" "bw")
+  )
+)
+
+(define-method replace_bandwidth
+  (of-object "GstSDPMedia")
+  (c-name "gst_sdp_media_replace_bandwidth")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+    '("GstSDPBandwidth*" "bw")
+  )
+)
+
+(define-method remove_bandwidth
+  (of-object "GstSDPMedia")
+  (c-name "gst_sdp_media_remove_bandwidth")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+  )
+)
+
 (define-method add_bandwidth
   (of-object "GstSDPMedia")
   (c-name "gst_sdp_media_add_bandwidth")
@@ -23379,6 +24285,35 @@
   )
 )
 
+(define-method insert_attribute
+  (of-object "GstSDPMedia")
+  (c-name "gst_sdp_media_insert_attribute")
+  (return-type "GstSDPResult")
+  (parameters
+    '("gint" "idx")
+    '("GstSDPAttribute*" "attr")
+  )
+)
+
+(define-method replace_attribute
+  (of-object "GstSDPMedia")
+  (c-name "gst_sdp_media_replace_attribute")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+    '("GstSDPAttribute*" "attr")
+  )
+)
+
+(define-method remove_attribute
+  (of-object "GstSDPMedia")
+  (c-name "gst_sdp_media_remove_attribute")
+  (return-type "GstSDPResult")
+  (parameters
+    '("guint" "idx")
+  )
+)
+
 (define-method add_attribute
   (of-object "GstSDPMedia")
   (c-name "gst_sdp_media_add_attribute")
@@ -23391,6 +24326,10 @@
 
 
 
+;; From sdp.h
+
+
+
 ;; From gsttagdemux.h
 
 (define-function gst_tag_demux_result_get_type
@@ -24119,6 +25058,15 @@
   )
 )
 
+(define-method release_frame
+  (of-object "GstVideoDecoder")
+  (c-name "gst_video_decoder_release_frame")
+  (return-type "none")
+  (parameters
+    '("GstVideoCodecFrame*" "frame")
+  )
+)
+
 (define-method merge_tags
   (of-object "GstVideoDecoder")
   (c-name "gst_video_decoder_merge_tags")
@@ -24377,6 +25325,85 @@
   (return-type "GQuark")
 )
 
+(define-function gst_video_gl_texture_upload_meta_api_get_type
+  (c-name "gst_video_gl_texture_upload_meta_api_get_type")
+  (return-type "GType")
+)
+
+(define-function gst_video_gl_texture_upload_meta_get_info
+  (c-name "gst_video_gl_texture_upload_meta_get_info")
+  (return-type "const-GstMetaInfo*")
+)
+
+(define-method add_video_gl_texture_upload_meta
+  (of-object "GstBuffer")
+  (c-name "gst_buffer_add_video_gl_texture_upload_meta")
+  (return-type "GstVideoGLTextureUploadMeta*")
+  (parameters
+    '("GstVideoGLTextureOrientation" "texture_orientation")
+    '("guint" "n_textures")
+    '("GstVideoGLTextureType" "texture_type[4]")
+    '("GstVideoGLTextureUpload" "upload")
+    '("gpointer" "user_data")
+    '("GBoxedCopyFunc" "user_data_copy")
+    '("GBoxedFreeFunc" "user_data_free")
+  )
+)
+
+(define-method upload
+  (of-object "GstVideoGLTextureUploadMeta")
+  (c-name "gst_video_gl_texture_upload_meta_upload")
+  (return-type "gboolean")
+  (parameters
+    '("guint" "texture_id[4]")
+  )
+)
+
+(define-function gst_video_region_of_interest_meta_api_get_type
+  (c-name "gst_video_region_of_interest_meta_api_get_type")
+  (return-type "GType")
+)
+
+(define-function gst_video_region_of_interest_meta_get_info
+  (c-name "gst_video_region_of_interest_meta_get_info")
+  (return-type "const-GstMetaInfo*")
+)
+
+(define-method get_video_region_of_interest_meta_id
+  (of-object "GstBuffer")
+  (c-name "gst_buffer_get_video_region_of_interest_meta_id")
+  (return-type "GstVideoRegionOfInterestMeta*")
+  (parameters
+    '("gint" "id")
+  )
+)
+
+(define-method add_video_region_of_interest_meta
+  (of-object "GstBuffer")
+  (c-name "gst_buffer_add_video_region_of_interest_meta")
+  (return-type "GstVideoRegionOfInterestMeta*")
+  (parameters
+    '("const-gchar*" "roi_type")
+    '("guint" "x")
+    '("guint" "y")
+    '("guint" "w")
+    '("guint" "h")
+  )
+)
+
+(define-method add_video_region_of_interest_meta_id
+  (of-object "GstBuffer")
+  (c-name "gst_buffer_add_video_region_of_interest_meta_id")
+  (return-type "GstVideoRegionOfInterestMeta*")
+  (parameters
+    '("GQuark" "roi_type")
+    '("guint" "x")
+    '("guint" "y")
+    '("guint" "w")
+    '("guint" "h")
+  )
+)
+
 
 
 ;; From gstvideopool.h
@@ -24742,6 +25769,66 @@
 
 
 
+;; From video-chroma.h
+
+(define-function gst_video_chroma_from_string
+  (c-name "gst_video_chroma_from_string")
+  (return-type "GstVideoChromaSite")
+  (parameters
+    '("const-gchar*" "s")
+  )
+)
+
+(define-function gst_video_chroma_to_string
+  (c-name "gst_video_chroma_to_string")
+  (return-type "const-gchar*")
+  (parameters
+    '("GstVideoChromaSite" "site")
+  )
+)
+
+(define-function gst_video_chroma_resample_new
+  (c-name "gst_video_chroma_resample_new")
+  (is-constructor-of "GstVideoChromaResample")
+  (return-type "GstVideoChromaResample*")
+  (parameters
+    '("GstVideoChromaMethod" "method")
+    '("GstVideoChromaSite" "site")
+    '("GstVideoChromaFlags" "flags")
+    '("GstVideoFormat" "format")
+    '("gint" "h_factor")
+    '("gint" "v_factor")
+  )
+)
+
+(define-method free
+  (of-object "GstVideoChromaResample")
+  (c-name "gst_video_chroma_resample_free")
+  (return-type "none")
+)
+
+(define-method get_info
+  (of-object "GstVideoChromaResample")
+  (c-name "gst_video_chroma_resample_get_info")
+  (return-type "none")
+  (parameters
+    '("guint*" "n_lines")
+    '("gint*" "offset")
+  )
+)
+
+(define-method 
+  (of-object "GstVideoChromaResample")
+  (c-name "gst_video_chroma_resample")
+  (return-type "none")
+  (parameters
+    '("gpointer[]" "lines")
+    '("gint" "width")
+  )
+)
+
+
+
 ;; From video-color.h
 
 (define-method matches
@@ -24781,85 +25868,6 @@
 
 
 
-;; From video-enumtypes.h
-
-(define-function gst_video_format_get_type
-  (c-name "gst_video_format_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_video_chroma_site_get_type
-  (c-name "gst_video_chroma_site_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_video_format_flags_get_type
-  (c-name "gst_video_format_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_video_pack_flags_get_type
-  (c-name "gst_video_pack_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_video_color_range_get_type
-  (c-name "gst_video_color_range_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_video_color_matrix_get_type
-  (c-name "gst_video_color_matrix_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_video_transfer_function_get_type
-  (c-name "gst_video_transfer_function_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_video_color_primaries_get_type
-  (c-name "gst_video_color_primaries_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_video_interlace_mode_get_type
-  (c-name "gst_video_interlace_mode_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_video_flags_get_type
-  (c-name "gst_video_flags_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_color_balance_type_get_type
-  (c-name "gst_color_balance_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_navigation_command_get_type
-  (c-name "gst_navigation_command_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_navigation_query_type_get_type
-  (c-name "gst_navigation_query_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_navigation_message_type_get_type
-  (c-name "gst_navigation_message_type_get_type")
-  (return-type "GType")
-)
-
-(define-function gst_navigation_event_type_get_type
-  (c-name "gst_navigation_event_type_get_type")
-  (return-type "GType")
-)
-
-
-
 ;; From video-event.h
 
 (define-function gst_video_event_new_still_frame
@@ -24937,22 +25945,6 @@
 
 ;; From video-format.h
 
-(define-function gst_video_chroma_from_string
-  (c-name "gst_video_chroma_from_string")
-  (return-type "GstVideoChromaSite")
-  (parameters
-    '("const-gchar*" "s")
-  )
-)
-
-(define-function gst_video_chroma_to_string
-  (c-name "gst_video_chroma_to_string")
-  (return-type "const-gchar*")
-  (parameters
-    '("GstVideoChromaSite" "site")
-  )
-)
-
 (define-function gst_video_format_from_masks
   (c-name "gst_video_format_from_masks")
   (return-type "GstVideoFormat")
@@ -24960,10 +25952,10 @@
     '("gint" "depth")
     '("gint" "bpp")
     '("gint" "endianness")
-    '("gint" "red_mask")
-    '("gint" "green_mask")
-    '("gint" "blue_mask")
-    '("gint" "alpha_mask")
+    '("guint" "red_mask")
+    '("guint" "green_mask")
+    '("guint" "blue_mask")
+    '("guint" "alpha_mask")
   )
 )
 
@@ -25001,6 +25993,15 @@
   (return-type "const-GstVideoFormatInfo*")
 )
 
+(define-method get_palette
+  (of-object "GstVideoFormat")
+  (c-name "gst_video_format_get_palette")
+  (return-type "gconstpointer")
+  (parameters
+    '("gsize*" "size")
+  )
+)
+
 
 
 ;; From video-frame.h
@@ -25460,339 +26461,19 @@
   )
 )
 
-(define-function video_orc_unpack_A420
-  (c-name "video_orc_unpack_A420")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("const-guint8*-ORC_RESTRICT" "s2")
-    '("const-guint8*-ORC_RESTRICT" "s3")
-    '("const-guint8*-ORC_RESTRICT" "s4")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_pack_A420
-  (c-name "video_orc_pack_A420")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("guint8*-ORC_RESTRICT" "d2")
-    '("guint8*-ORC_RESTRICT" "d3")
-    '("guint8*-ORC_RESTRICT" "d4")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_resample_bilinear_u32
-  (c-name "video_orc_resample_bilinear_u32")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "p1")
-    '("int" "p2")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_merge_linear_u8
-  (c-name "video_orc_merge_linear_u8")
-  (return-type "none")
-  (parameters
-    '("orc_uint8*-ORC_RESTRICT" "d1")
-    '("const-orc_uint8*-ORC_RESTRICT" "s1")
-    '("const-orc_uint8*-ORC_RESTRICT" "s2")
-    '("int" "p1")
-    '("int" "n")
-  )
-)
-
-
-
-;; From video-orc.h
-
-(define-function video_orc_blend_little
-  (c-name "video_orc_blend_little")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_blend_big
-  (c-name "video_orc_blend_big")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_unpack_I420
-  (c-name "video_orc_unpack_I420")
+(define-function video_orc_unpack_NV24
+  (c-name "video_orc_unpack_NV24")
   (return-type "none")
   (parameters
     '("guint8*-ORC_RESTRICT" "d1")
     '("const-guint8*-ORC_RESTRICT" "s1")
     '("const-guint8*-ORC_RESTRICT" "s2")
-    '("const-guint8*-ORC_RESTRICT" "s3")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_pack_I420
-  (c-name "video_orc_pack_I420")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("guint8*-ORC_RESTRICT" "d2")
-    '("guint8*-ORC_RESTRICT" "d3")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_unpack_YUY2
-  (c-name "video_orc_unpack_YUY2")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
     '("int" "n")
   )
 )
 
-(define-function video_orc_pack_YUY2
-  (c-name "video_orc_pack_YUY2")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_pack_UYVY
-  (c-name "video_orc_pack_UYVY")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_unpack_UYVY
-  (c-name "video_orc_unpack_UYVY")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_unpack_YVYU
-  (c-name "video_orc_unpack_YVYU")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_pack_YVYU
-  (c-name "video_orc_pack_YVYU")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_unpack_YUV9
-  (c-name "video_orc_unpack_YUV9")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("const-guint8*-ORC_RESTRICT" "s2")
-    '("const-guint8*-ORC_RESTRICT" "s3")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_unpack_Y42B
-  (c-name "video_orc_unpack_Y42B")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("const-guint8*-ORC_RESTRICT" "s2")
-    '("const-guint8*-ORC_RESTRICT" "s3")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_pack_Y42B
-  (c-name "video_orc_pack_Y42B")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("guint8*-ORC_RESTRICT" "d2")
-    '("guint8*-ORC_RESTRICT" "d3")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_unpack_Y444
-  (c-name "video_orc_unpack_Y444")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("const-guint8*-ORC_RESTRICT" "s2")
-    '("const-guint8*-ORC_RESTRICT" "s3")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_pack_Y444
-  (c-name "video_orc_pack_Y444")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("guint8*-ORC_RESTRICT" "d2")
-    '("guint8*-ORC_RESTRICT" "d3")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_unpack_GRAY8
-  (c-name "video_orc_unpack_GRAY8")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_pack_GRAY8
-  (c-name "video_orc_pack_GRAY8")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_unpack_BGRA
-  (c-name "video_orc_unpack_BGRA")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_pack_BGRA
-  (c-name "video_orc_pack_BGRA")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_pack_RGBA
-  (c-name "video_orc_pack_RGBA")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_unpack_RGBA
-  (c-name "video_orc_unpack_RGBA")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_unpack_ABGR
-  (c-name "video_orc_unpack_ABGR")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_pack_ABGR
-  (c-name "video_orc_pack_ABGR")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_unpack_NV12
-  (c-name "video_orc_unpack_NV12")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("const-guint8*-ORC_RESTRICT" "s2")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_pack_NV12
-  (c-name "video_orc_pack_NV12")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("guint8*-ORC_RESTRICT" "d2")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_unpack_NV21
-  (c-name "video_orc_unpack_NV21")
-  (return-type "none")
-  (parameters
-    '("guint8*-ORC_RESTRICT" "d1")
-    '("const-guint8*-ORC_RESTRICT" "s1")
-    '("const-guint8*-ORC_RESTRICT" "s2")
-    '("int" "n")
-  )
-)
-
-(define-function video_orc_pack_NV21
-  (c-name "video_orc_pack_NV21")
+(define-function video_orc_pack_NV24
+  (c-name "video_orc_pack_NV24")
   (return-type "none")
   (parameters
     '("guint8*-ORC_RESTRICT" "d1")
diff --git a/gstreamer/src/gst_methods.defs.patch b/gstreamer/src/gst_methods.defs.patch
index 88040e1..6fa2e00 100644
--- a/gstreamer/src/gst_methods.defs.patch
+++ b/gstreamer/src/gst_methods.defs.patch
@@ -1,128 +1,2 @@
 --- gst_methods.defs   2013-06-11 19:22:01.000000000 -0400
 +++ gst_methods.defs.new       2013-06-11 17:53:39.000000000 -0400
-@@ -1,4 +1,7 @@
- ;; -*- scheme -*-
-+
-+;; Apply gst_methods.defs.patch after regenerating.
-+
- ; object definitions ...
- (define-object DataQueue
-   (in-module "Gst")
-@@ -586,66 +589,6 @@
-   )
- )
- 
--(define-enum EventType
--  (in-module "Gst")
--  (c-name "GstEventType")
--  (gtype-id "GST_TYPE_EVENT_TYPE")
--  (values
--    '("gst-event-unknown" "GST_EVENT_UNKNOWN")
--    '("0)" "0)")
--    '("gst-event-flush-start" "GST_EVENT_FLUSH_START")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-event-flush-stop" "GST_EVENT_FLUSH_STOP")
--    '("flag(both)" "FLAG(BOTH)")
--    '("gst-event-stream-start" "GST_EVENT_STREAM_START")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--    '("gst-event-caps" "GST_EVENT_CAPS")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--    '("gst-event-segment" "GST_EVENT_SEGMENT")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--    '("gst-event-tag" "GST_EVENT_TAG")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--    '("gst-event-buffersize" "GST_EVENT_BUFFERSIZE")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--    '("gst-event-sink-message" "GST_EVENT_SINK_MESSAGE")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--    '("gst-event-eos" "GST_EVENT_EOS")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--    '("gst-event-toc" "GST_EVENT_TOC")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--    '("gst-event-segment-done" "GST_EVENT_SEGMENT_DONE")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--    '("gst-event-gap" "GST_EVENT_GAP")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--    '("gst-event-qos" "GST_EVENT_QOS")
--    '("flag(upstream))" "FLAG(UPSTREAM))")
--    '("gst-event-seek" "GST_EVENT_SEEK")
--    '("flag(upstream))" "FLAG(UPSTREAM))")
--    '("gst-event-navigation" "GST_EVENT_NAVIGATION")
--    '("flag(upstream))" "FLAG(UPSTREAM))")
--    '("gst-event-latency" "GST_EVENT_LATENCY")
--    '("flag(upstream))" "FLAG(UPSTREAM))")
--    '("gst-event-step" "GST_EVENT_STEP")
--    '("flag(upstream))" "FLAG(UPSTREAM))")
--    '("gst-event-reconfigure" "GST_EVENT_RECONFIGURE")
--    '("flag(upstream))" "FLAG(UPSTREAM))")
--    '("gst-event-toc-select" "GST_EVENT_TOC_SELECT")
--    '("flag(upstream))" "FLAG(UPSTREAM))")
--    '("gst-event-custom-upstream" "GST_EVENT_CUSTOM_UPSTREAM")
--    '("flag(upstream))" "FLAG(UPSTREAM))")
--    '("gst-event-custom-downstream" "GST_EVENT_CUSTOM_DOWNSTREAM")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--    '("gst-event-custom-downstream-oob" "GST_EVENT_CUSTOM_DOWNSTREAM_OOB")
--    '("flag(downstream))" "FLAG(DOWNSTREAM))")
--    '("gst-event-custom-downstream-sticky" "GST_EVENT_CUSTOM_DOWNSTREAM_STICKY")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--    '("gst-event-custom-both" "GST_EVENT_CUSTOM_BOTH")
--    '("flag(both)" "FLAG(BOTH)")
--    '("gst-event-custom-both-oob" "GST_EVENT_CUSTOM_BOTH_OOB")
--    '("flag(both))" "FLAG(BOTH))")
--  )
--)
--
- (define-enum QOSType
-   (in-module "Gst")
-   (c-name "GstQOSType")
-@@ -1146,50 +1087,6 @@
-   )
- )
- 
--(define-enum QueryType
--  (in-module "Gst")
--  (c-name "GstQueryType")
--  (gtype-id "GST_TYPE_QUERY_TYPE")
--  (values
--    '("gst-query-unknown" "GST_QUERY_UNKNOWN")
--    '("0)" "0)")
--    '("gst-query-position" "GST_QUERY_POSITION")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-duration" "GST_QUERY_DURATION")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-latency" "GST_QUERY_LATENCY")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-jitter" "GST_QUERY_JITTER")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-rate" "GST_QUERY_RATE")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-seeking" "GST_QUERY_SEEKING")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-segment" "GST_QUERY_SEGMENT")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-convert" "GST_QUERY_CONVERT")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-formats" "GST_QUERY_FORMATS")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-buffering" "GST_QUERY_BUFFERING")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-custom" "GST_QUERY_CUSTOM")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-uri" "GST_QUERY_URI")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-allocation" "GST_QUERY_ALLOCATION")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--    '("gst-query-scheduling" "GST_QUERY_SCHEDULING")
--    '("flag(upstream))" "FLAG(UPSTREAM))")
--    '("gst-query-accept-caps" "GST_QUERY_ACCEPT_CAPS")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-caps" "GST_QUERY_CAPS")
--    '("flag(both))" "FLAG(BOTH))")
--    '("gst-query-drain" "GST_QUERY_DRAIN")
--    '("flag(downstream)" "FLAG(DOWNSTREAM)")
--  )
--)
--
- (define-enum BufferingMode
-   (in-module "Gst")
-   (c-name "GstBufferingMode")
diff --git a/gstreamer/src/gst_signals.defs b/gstreamer/src/gst_signals.defs
index 1044f1a..a2b6387 100644
--- a/gstreamer/src/gst_signals.defs
+++ b/gstreamer/src/gst_signals.defs
@@ -1,5 +1,3 @@
-;; Apply gst_signals.defs.patch after regenerating.
-
 ;; From GstBus
 
 (define-signal message
@@ -288,6 +286,8 @@
   (construct-only #t)
 )
 
+;; From GstStaticPadTemplate
+
 ;; From GstPipeline
 
 (define-property delay
@@ -485,7 +485,16 @@
 (define-property throttle-time
   (of-object "GstBaseSink")
   (prop-type "GParamUInt64")
-  (docs "The time to keep between rendered buffers")
+  (docs "The time to keep between rendered buffers (0 = disabled)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property max-bitrate
+  (of-object "GstBaseSink")
+  (prop-type "GParamUInt64")
+  (docs "The maximum bits per second to render (0 = disabled)")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -504,6 +513,15 @@
 
 ;; From GstBaseParse
 
+(define-property disable-passthrough
+  (of-object "GstBaseParse")
+  (prop-type "GParamBoolean")
+  (docs "Force processing (disables passthrough)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GstPushSrc
 
 ;; From GstAdapter
@@ -1430,6 +1448,15 @@
   (construct-only #f)
 )
 
+(define-property flush-on-eos
+  (of-object "GstQueue")
+  (prop-type "GParamBoolean")
+  (docs "Discard all data in the queue when an EOS event is received")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GstQueue2
 
 (define-property current-level-buffers
@@ -1608,7 +1635,7 @@
 (define-property alloc-pad
   (of-object "GstTee")
   (prop-type "GParamObject")
-  (docs "The pad used for gst_pad_alloc_buffer")
+  (docs "The pad ALLOCATION queries will be proxied to (unused)")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -2262,6 +2289,15 @@
   (construct-only #f)
 )
 
+(define-property current-level-bytes
+  (of-object "GstAppSrc")
+  (prop-type "GParamUInt64")
+  (docs "The number of currently queued bytes")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
 ;; From GstAppSink
 
 (define-signal eos
@@ -2315,7 +2351,7 @@
 (define-property emit-signals
   (of-object "GstAppSink")
   (prop-type "GParamBoolean")
-  (docs "Emit new-preroll, new-buffer and new-buffer-list signals")
+  (docs "Emit new-preroll and new-sample signals")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -2435,6 +2471,24 @@
   (construct-only #f)
 )
 
+(define-property sinc-filter-mode
+  (of-object "GstAudioResample")
+  (prop-type "GParamEnum")
+  (docs "What sinc filter table mode to use")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property sinc-filter-auto-threshold
+  (of-object "GstAudioResample")
+  (prop-type "GParamUInt")
+  (docs "Memory usage threshold to use if sinc filter mode is AUTO, given in bytes")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GstAudioTestSrc
 
 (define-property samplesperbuffer
@@ -2509,6 +2563,71 @@
   (construct-only #f)
 )
 
+;; From GstCdParanoiaSrc
+
+(define-signal transport-error
+  (of-object "GstCdParanoiaSrc")
+  (return-type "void")
+  (when "last")
+  (parameters
+    '("gint" "p0")
+  )
+)
+
+(define-signal uncorrected-error
+  (of-object "GstCdParanoiaSrc")
+  (return-type "void")
+  (when "last")
+  (parameters
+    '("gint" "p0")
+  )
+)
+
+(define-property read-speed
+  (of-object "GstCdParanoiaSrc")
+  (prop-type "GParamInt")
+  (docs "Read from device at specified speed (-1 and 0 = full speed)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property paranoia-mode
+  (of-object "GstCdParanoiaSrc")
+  (prop-type "GParamFlags")
+  (docs "Type of checking to perform")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property search-overlap
+  (of-object "GstCdParanoiaSrc")
+  (prop-type "GParamInt")
+  (docs "Force minimum overlap search during verification to n sectors")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property generic-device
+  (of-object "GstCdParanoiaSrc")
+  (prop-type "GParamString")
+  (docs "Use specified generic scsi device")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property cache-size
+  (of-object "GstCdParanoiaSrc")
+  (prop-type "GParamInt")
+  (docs "Set CD cache size to n sectors (-1 = auto)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GstClockOverlay
 
 (define-property time-format
@@ -2574,6 +2693,17 @@
   )
 )
 
+(define-signal autoplug-query
+  (of-object "GstDecodeBin")
+  (return-type "gboolean")
+  (when "last")
+  (parameters
+    '("GstPad*" "p0")
+    '("GstElement*" "p1")
+    '("GstQuery*" "p2")
+  )
+)
+
 (define-signal drained
   (of-object "GstDecodeBin")
   (return-type "void")
@@ -2839,6 +2969,46 @@
   (construct-only #f)
 )
 
+;; From GstOggDemux
+
+;; From GstOggMux
+
+(define-property max-delay
+  (of-object "GstOggMux")
+  (prop-type "GParamUInt64")
+  (docs "Maximum delay in multiplexing streams")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property max-page-delay
+  (of-object "GstOggMux")
+  (prop-type "GParamUInt64")
+  (docs "Maximum delay for sending out a page")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property max-tolerance
+  (of-object "GstOggMux")
+  (prop-type "GParamUInt64")
+  (docs "Maximum timestamp difference for maintaining perfect granules")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property skeleton
+  (of-object "GstOggMux")
+  (prop-type "GParamBoolean")
+  (docs "Whether to include a Skeleton track")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GstPlayBin
 
 (define-signal source-setup
@@ -3117,6 +3287,33 @@
   (construct-only #f)
 )
 
+(define-property video-stream-combiner
+  (of-object "GstPlayBin")
+  (prop-type "GParamObject")
+  (docs "Current video stream combiner (NULL = input-selector)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property audio-stream-combiner
+  (of-object "GstPlayBin")
+  (prop-type "GParamObject")
+  (docs "Current audio stream combiner (NULL = input-selector)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property text-stream-combiner
+  (of-object "GstPlayBin")
+  (prop-type "GParamObject")
+  (docs "Current text stream combiner (NULL = input-selector)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-property volume
   (of-object "GstPlayBin")
   (prop-type "GParamDouble")
@@ -3392,6 +3589,129 @@
   (construct-only #f)
 )
 
+;; From GstTheoraDec
+
+;; From GstTheoraEnc
+
+(define-property bitrate
+  (of-object "GstTheoraEnc")
+  (prop-type "GParamInt")
+  (docs "Compressed video bitrate (kbps)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property quality
+  (of-object "GstTheoraEnc")
+  (prop-type "GParamInt")
+  (docs "Video quality")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property keyframe-auto
+  (of-object "GstTheoraEnc")
+  (prop-type "GParamBoolean")
+  (docs "Automatic keyframe detection")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property keyframe-freq
+  (of-object "GstTheoraEnc")
+  (prop-type "GParamInt")
+  (docs "Keyframe frequency")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property keyframe-force
+  (of-object "GstTheoraEnc")
+  (prop-type "GParamInt")
+  (docs "Force keyframe every N frames")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property speed-level
+  (of-object "GstTheoraEnc")
+  (prop-type "GParamInt")
+  (docs "Controls the amount of motion vector searching done while encoding")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property vp3-compatible
+  (of-object "GstTheoraEnc")
+  (prop-type "GParamBoolean")
+  (docs "Disables non-VP3 compatible features")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property drop-frames
+  (of-object "GstTheoraEnc")
+  (prop-type "GParamBoolean")
+  (docs "Allow or disallow frame dropping")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property cap-overflow
+  (of-object "GstTheoraEnc")
+  (prop-type "GParamBoolean")
+  (docs "Enable capping of bit reservoir overflows")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property cap-underflow
+  (of-object "GstTheoraEnc")
+  (prop-type "GParamBoolean")
+  (docs "Enable capping of bit reservoir underflows")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property rate-buffer
+  (of-object "GstTheoraEnc")
+  (prop-type "GParamInt")
+  (docs "Sets the size of the rate control buffer, in units of frames.  The default value of 0 instructs the 
encoder to automatically select an appropriate value")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property multipass-cache-file
+  (of-object "GstTheoraEnc")
+  (prop-type "GParamString")
+  (docs "Multipass cache file")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property multipass-mode
+  (of-object "GstTheoraEnc")
+  (prop-type "GParamEnum")
+  (docs "Single pass or first/second pass")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+;; From GstTheoraParse
+
 ;; From GstTimeOverlay
 
 ;; From GstURIDecodeBin
@@ -3448,6 +3768,17 @@
   )
 )
 
+(define-signal autoplug-query
+  (of-object "GstURIDecodeBin")
+  (return-type "gboolean")
+  (when "last")
+  (parameters
+    '("GstPad*" "p0")
+    '("GstElement*" "p1")
+    '("GstQuery*" "p2")
+  )
+)
+
 (define-signal drained
   (of-object "GstURIDecodeBin")
   (return-type "void")
@@ -3894,6 +4225,68 @@
   (construct-only #f)
 )
 
+;; From GstVorbisDec
+
+;; From GstVorbisEnc
+
+(define-property max-bitrate
+  (of-object "GstVorbisEnc")
+  (prop-type "GParamInt")
+  (docs "Specify a maximum bitrate (in bps). Useful for streaming applications. (-1 == disabled)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property bitrate
+  (of-object "GstVorbisEnc")
+  (prop-type "GParamInt")
+  (docs "Attempt to encode at a bitrate averaging this (in bps). This uses the bitrate management engine, 
and is not recommended for most users. Quality is a better alternative. (-1 == disabled)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property min-bitrate
+  (of-object "GstVorbisEnc")
+  (prop-type "GParamInt")
+  (docs "Specify a minimum bitrate (in bps). Useful for encoding for a fixed-size channel. (-1 == disabled)")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property quality
+  (of-object "GstVorbisEnc")
+  (prop-type "GParamFloat")
+  (docs "Specify quality instead of specifying a particular bitrate.")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property managed
+  (of-object "GstVorbisEnc")
+  (prop-type "GParamBoolean")
+  (docs "Enable bitrate management engine")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property last-message
+  (of-object "GstVorbisEnc")
+  (prop-type "GParamString")
+  (docs "The last status message")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
+;; From GstVorbisParse
+
+;; From GstVorbisTag
+
 ;; From GstXImageSink
 
 (define-property display
diff --git a/gstreamer/src/gst_signals.defs.patch b/gstreamer/src/gst_signals.defs.patch
index 3f09466..c51da35 100644
--- a/gstreamer/src/gst_signals.defs.patch
+++ b/gstreamer/src/gst_signals.defs.patch
@@ -1,39 +1,6 @@
---- gst_signals.defs   2012-01-31 19:02:28.000000000 -0500
-+++ gst_signals.defs.new       2012-01-31 18:44:04.000000000 -0500
-@@ -1,3 +1,5 @@
-+;; Apply gst_signals.defs.patch after regenerating.
-+
- ;; From GstBus
- 
- (define-signal message
-@@ -73,7 +75,7 @@
-   (return-type "void")
-   (when "first")
-   (parameters
--    '("GObject*" "p0")
-+    '("GstObject*" "p0")
-   )
- )
- 
-@@ -82,7 +84,7 @@
-   (return-type "void")
-   (when "first")
-   (parameters
--    '("GObject*" "p0")
-+    '("GstObject*" "p0")
-   )
- )
- 
-@@ -213,7 +215,7 @@
-   (return-type "void")
-   (when "last")
-   (parameters
--    '("gpointer" "p0")
-+    '("GstXmlNodePtr" "p0")
-   )
- )
- 
-@@ -223,7 +225,7 @@
+--- a/gstreamer/src/gst_signals.defs
++++ b/gstreamer/src/gst_signals.defs
+@@ -170,7 +170,7 @@
    (when "first")
    (parameters
      '("GstObject*" "p0")
@@ -42,34 +9,7 @@
    )
  )
  
-@@ -378,7 +380,7 @@
-   (return-type "void")
-   (when "last")
-   (parameters
--    '("gpointer" "p0")
-+    '("GstPlugin*" "p0")
-   )
- )
- 
-@@ -387,7 +389,7 @@
-   (return-type "void")
-   (when "last")
-   (parameters
--    '("gpointer" "p0")
-+    '("GstPluginFeature*" "p0")
-   )
- )
- 
-@@ -435,7 +437,7 @@
-   (when "last")
-   (parameters
-     '("GstObject*" "p0")
--    '("gpointer" "p1")
-+    '("xmlNodePtr" "p1")
-   )
- )
- 
-@@ -2185,7 +2187,7 @@
+@@ -1889,7 +1889,7 @@
    (when "last")
    (parameters
      '("GstDiscovererInfo*" "p0")
@@ -78,12 +18,6 @@
    )
  )
  
-@@ -2318,7 +2320,7 @@
-   (return-type "void")
-   (when "last")
-   (parameters
--    '("gpointer" "p0")
-+    '("const-GParamSpec*" "p0")
-   )
- )
- 
+-- 
+1.9.1
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]