diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2019-04-19 02:00:33 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-04-19 02:00:33 +0100 |
commit | 6ad219d5f9571621cf78643c854717170027cbec (patch) | |
tree | d7bd5fd8f8ea78669b6b832681147c071b485fa5 /girs | |
parent | cf3b88ae89c996c3b6cf799a31bab7d7eae599c7 (diff) | |
download | gstreamer-6ad219d5f9571621cf78643c854717170027cbec.tar.gz |
Release 1.16.0gstreamer-sharp-1.16.0
Diffstat (limited to 'girs')
-rw-r--r-- | girs/Gst-1.0.gir | 121 | ||||
-rw-r--r-- | girs/GstAudio-1.0.gir | 93 | ||||
-rw-r--r-- | girs/GstBase-1.0.gir | 139 | ||||
-rw-r--r-- | girs/GstNet-1.0.gir | 2 | ||||
-rw-r--r-- | girs/GstPbutils-1.0.gir | 48 | ||||
-rw-r--r-- | girs/GstRtp-1.0.gir | 14 | ||||
-rw-r--r-- | girs/GstRtsp-1.0.gir | 16 | ||||
-rw-r--r-- | girs/GstSdp-1.0.gir | 42 | ||||
-rw-r--r-- | girs/GstTag-1.0.gir | 20 | ||||
-rw-r--r-- | girs/GstVideo-1.0.gir | 90 |
10 files changed, 413 insertions, 172 deletions
diff --git a/girs/Gst-1.0.gir b/girs/Gst-1.0.gir index 51746d9923..f216946ab4 100644 --- a/girs/Gst-1.0.gir +++ b/girs/Gst-1.0.gir @@ -3893,7 +3893,7 @@ gst_buffer_pool_config_add_option().</doc> <return-value transfer-ownership="none"> <doc xml:space="preserve">a %NULL terminated array of strings.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8"/> </array> </return-value> @@ -4046,7 +4046,7 @@ gst_buffer_pool_config_add_option().</doc> <return-value transfer-ownership="none"> <doc xml:space="preserve">a %NULL terminated array of strings.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8"/> </array> </return-value> @@ -4283,7 +4283,7 @@ return.</doc> <return-value transfer-ownership="none"> <doc xml:space="preserve">a %NULL terminated array of strings.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8"/> </array> </return-value> @@ -13586,9 +13586,9 @@ MT safe.</doc> </method> <method name="get_factory" c:identifier="gst_element_get_factory"> <doc xml:space="preserve">Retrieves the factory that was used to create this element.</doc> - <return-value transfer-ownership="none"> + <return-value transfer-ownership="none" nullable="1"> <doc xml:space="preserve">the #GstElementFactory used for creating this - element. no refcounting is needed.</doc> + element or %NULL if element has not been registered (static element). no refcounting is needed.</doc> <type name="ElementFactory" c:type="GstElementFactory*"/> </return-value> <parameters> @@ -15990,7 +15990,7 @@ make a copy of the protocol string array if you need to.</doc> <return-value transfer-ownership="none"> <doc xml:space="preserve">the supported protocols or %NULL</doc> - <array c:type="gchar**"> + <array c:type="const gchar* const*"> <type name="utf8"/> </array> </return-value> @@ -17278,6 +17278,26 @@ gst_event_new_qos() for more information about the different QoS values. </parameter> </parameters> </method> + <method name="parse_seek_trickmode_interval" + c:identifier="gst_event_parse_seek_trickmode_interval" + version="1.16"> + <doc xml:space="preserve">Retrieve the trickmode interval that may have been set on a +seek event with gst_event_set_seek_trickmode_interval().</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <instance-parameter name="event" transfer-ownership="none"> + <type name="Event" c:type="GstEvent*"/> + </instance-parameter> + <parameter name="interval" + direction="out" + caller-allocates="0" + transfer-ownership="full"> + <type name="ClockTime" c:type="GstClockTime*"/> + </parameter> + </parameters> + </method> <method name="parse_segment" c:identifier="gst_event_parse_segment"> <doc xml:space="preserve">Parses a segment @event and stores the result in the given @segment location. @segment remains valid only until the @event is freed. Don't modify the segment @@ -17653,6 +17673,24 @@ MT safe.</doc> </parameter> </parameters> </method> + <method name="set_seek_trickmode_interval" + c:identifier="gst_event_set_seek_trickmode_interval" + version="1.16"> + <doc xml:space="preserve">Sets a trickmode interval on a (writable) seek event. Elements +that support TRICKMODE_KEY_UNITS seeks SHOULD use this as the minimal +interval between each frame they may output.</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <instance-parameter name="event" transfer-ownership="none"> + <type name="Event" c:type="GstEvent*"/> + </instance-parameter> + <parameter name="interval" transfer-ownership="none"> + <type name="ClockTime" c:type="GstClockTime"/> + </parameter> + </parameters> + </method> <method name="set_seqnum" c:identifier="gst_event_set_seqnum"> <doc xml:space="preserve">Set the sequence number of a event. @@ -20547,8 +20585,11 @@ receiving this message should stop the pipeline.</doc> <doc xml:space="preserve">A debugging string.</doc> <type name="utf8" c:type="const gchar*"/> </parameter> - <parameter name="details" transfer-ownership="full"> - <doc xml:space="preserve">(allow-none): A GstStructure with details</doc> + <parameter name="details" + transfer-ownership="full" + nullable="1" + allow-none="1"> + <doc xml:space="preserve">A GstStructure with details</doc> <type name="Structure" c:type="GstStructure*"/> </parameter> </parameters> @@ -20629,8 +20670,11 @@ MT safe.</doc> <doc xml:space="preserve">A debugging string.</doc> <type name="utf8" c:type="const gchar*"/> </parameter> - <parameter name="details" transfer-ownership="full"> - <doc xml:space="preserve">(allow-none): A GstStructure with details</doc> + <parameter name="details" + transfer-ownership="full" + nullable="1" + allow-none="1"> + <doc xml:space="preserve">A GstStructure with details</doc> <type name="Structure" c:type="GstStructure*"/> </parameter> </parameters> @@ -21347,8 +21391,11 @@ MT safe.</doc> <doc xml:space="preserve">A debugging string.</doc> <type name="utf8" c:type="const gchar*"/> </parameter> - <parameter name="details" transfer-ownership="full"> - <doc xml:space="preserve">(allow-none): A GstStructure with details</doc> + <parameter name="details" + transfer-ownership="full" + nullable="1" + allow-none="1"> + <doc xml:space="preserve">A GstStructure with details</doc> <type name="Structure" c:type="GstStructure*"/> </parameter> </parameters> @@ -23464,7 +23511,7 @@ or a #GCompareDataFunc.</doc> version="1.2"> <return-value transfer-ownership="none"> <doc xml:space="preserve">an array of tags as strings.</doc> - <array c:type="gchar**"> + <array c:type="const gchar* const*"> <type name="utf8"/> </array> </return-value> @@ -23508,7 +23555,7 @@ or a #GCompareDataFunc.</doc> </parameter> <parameter name="tags" transfer-ownership="none"> <doc xml:space="preserve">tags for @api</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -30022,7 +30069,7 @@ codec libraries are currently installed.</doc> or %NULL. Environment variable names may be followed by a path component which will be added to the content of the environment variable, e.g. "HOME/.mystuff/plugins".</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -30032,7 +30079,7 @@ codec libraries are currently installed.</doc> allow-none="1"> <doc xml:space="preserve">%NULL-terminated array of directories/paths where dependent files may be, or %NULL.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -30044,7 +30091,7 @@ codec libraries are currently installed.</doc> depending on @flags) to be used in combination with the paths from @paths and/or the paths extracted from the environment variables in @env_vars, or %NULL.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -34136,7 +34183,7 @@ in the @formats array must be equal to @n_formats.</doc> <parameter name="formats" transfer-ownership="none"> <doc xml:space="preserve">an array containing @n_formats @GstFormat values.</doc> - <array length="0" zero-terminated="0" c:type="GstFormat*"> + <array length="0" zero-terminated="0" c:type="const GstFormat*"> <type name="Format" c:type="GstFormat"/> </array> </parameter> @@ -43510,7 +43557,7 @@ returns and must not be freed.</doc> <return-value transfer-ownership="none" nullable="1"> <doc xml:space="preserve">the requested data, or %NULL if that data is not available.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </return-value> @@ -43777,7 +43824,7 @@ a 0-length list.</doc> <return-value transfer-ownership="none" nullable="1"> <doc xml:space="preserve"> a %NULL-terminated array of extensions associated with this factory</doc> - <array c:type="gchar**"> + <array c:type="const gchar* const*"> <type name="utf8"/> </array> </return-value> @@ -44348,9 +44395,9 @@ See more about Media Fragments URI 1.0 (W3C) at https://www.w3.org/TR/media-frag </method> <method name="get_path" c:identifier="gst_uri_get_path" version="1.6"> <doc xml:space="preserve">Extract the path string from the URI object.</doc> - <return-value transfer-ownership="full"> - <doc xml:space="preserve">(nullable): The path from the URI. Once finished - with the string should be g_free()'d.</doc> + <return-value transfer-ownership="full" nullable="1"> + <doc xml:space="preserve">The path from the URI. Once finished + with the string should be g_free()'d.</doc> <type name="utf8" c:type="gchar*"/> </return-value> <parameters> @@ -45229,11 +45276,11 @@ determine a order for the two provided values.</doc> <doc xml:space="preserve">The major version of GStreamer at compile time:</doc> <type name="gint" c:type="gint"/> </constant> - <constant name="VERSION_MICRO" value="90" c:type="GST_VERSION_MICRO"> + <constant name="VERSION_MICRO" value="0" c:type="GST_VERSION_MICRO"> <doc xml:space="preserve">The micro version of GStreamer at compile time:</doc> <type name="gint" c:type="gint"/> </constant> - <constant name="VERSION_MINOR" value="15" c:type="GST_VERSION_MINOR"> + <constant name="VERSION_MINOR" value="16" c:type="GST_VERSION_MINOR"> <doc xml:space="preserve">The minor version of GStreamer at compile time:</doc> <type name="gint" c:type="gint"/> </constant> @@ -46577,7 +46624,7 @@ is unknown.</doc> <parameters> <parameter name="formats" transfer-ownership="none"> <doc xml:space="preserve">The format array to search</doc> - <array c:type="GstFormat*"> + <array c:type="const GstFormat*"> <type name="Format" c:type="GstFormat"/> </array> </parameter> @@ -46727,8 +46774,8 @@ abort program execution.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">pointer to application's argv</doc> - <array length="0" zero-terminated="0" c:type="char**"> - <type name="utf8" c:type="char*"/> + <array length="0" zero-terminated="0" c:type="char***"> + <type name="utf8" c:type="char**"/> </array> </parameter> </parameters> @@ -46761,8 +46808,8 @@ use gst_init() instead.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">pointer to application's argv</doc> - <array length="0" zero-terminated="0" c:type="char**"> - <type name="utf8" c:type="char*"/> + <array length="0" zero-terminated="0" c:type="char***"> + <type name="utf8" c:type="char**"/> </array> </parameter> </parameters> @@ -46865,7 +46912,7 @@ or gst_init_check().</doc> version="1.2"> <return-value transfer-ownership="none"> <doc xml:space="preserve">an array of tags as strings.</doc> - <array c:type="gchar**"> + <array c:type="const gchar* const*"> <type name="utf8"/> </array> </return-value> @@ -46911,7 +46958,7 @@ or gst_init_check().</doc> </parameter> <parameter name="tags" transfer-ownership="none"> <doc xml:space="preserve">tags for @api</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -47321,7 +47368,7 @@ on failure.</doc> <parameters> <parameter name="argv" transfer-ownership="none"> <doc xml:space="preserve">null-terminated array of arguments</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -47344,7 +47391,7 @@ An error does not mean that the pipeline could not be constructed.</doc> <parameters> <parameter name="argv" transfer-ownership="none"> <doc xml:space="preserve">null-terminated array of arguments</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -47580,7 +47627,7 @@ the @system_identifiers supported by the set of available decryptors, or <doc xml:space="preserve"> A null terminated array of strings that contains the UUID values of each protection system that is to be checked.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -47617,7 +47664,7 @@ element has been found.</doc> <doc xml:space="preserve">A null terminated array of strings that contains the UUID values of each protection system that is to be checked.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -48450,7 +48497,7 @@ the result.</doc> <parameters> <parameter name="mem" transfer-ownership="none"> <doc xml:space="preserve">a pointer to the memory to dump</doc> - <array length="1" zero-terminated="0" c:type="guchar*"> + <array length="1" zero-terminated="0" c:type="const guchar*"> <type name="guint8" c:type="guchar"/> </array> </parameter> diff --git a/girs/GstAudio-1.0.gir b/girs/GstAudio-1.0.gir index 79d07883ed..81348a6b34 100644 --- a/girs/GstAudio-1.0.gir +++ b/girs/GstAudio-1.0.gir @@ -1497,7 +1497,7 @@ positions and the same positions, only in a different order. <doc xml:space="preserve">The channel positions in the buffer.</doc> <array length="2" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -1506,7 +1506,7 @@ positions and the same positions, only in a different order. <doc xml:space="preserve">The channel positions to convert to.</doc> <array length="2" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -1865,14 +1865,14 @@ Perform channel mixing on @in_data and write the result to @out_data. nullable="1" allow-none="1"> <doc xml:space="preserve">input samples</doc> - <type name="gpointer" c:type="const gpointer"/> + <type name="gpointer" c:type="const gpointer*"/> </parameter> <parameter name="out" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve">output samples</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="samples" transfer-ownership="none"> <doc xml:space="preserve">number of samples</doc> @@ -2679,7 +2679,7 @@ are matching and @in and @out point to enough memory.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">input frames</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="in_frames" transfer-ownership="none"> <doc xml:space="preserve">number of input frames</doc> @@ -2690,7 +2690,7 @@ are matching and @in and @out point to enough memory.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">output frames</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="out_frames" transfer-ownership="none"> <doc xml:space="preserve">number of output frames</doc> @@ -3165,6 +3165,37 @@ invalidated by a call to this function.</doc> </parameter> </parameters> </method> + <method name="finish_subframe" + c:identifier="gst_audio_decoder_finish_subframe" + version="1.16"> + <doc xml:space="preserve">Collects decoded data and pushes it downstream. This function may be called +multiple times for a given input frame. + +@buf may be NULL in which case it is assumed that the current input frame is +finished. This is equivalent to calling gst_audio_decoder_finish_subframe() +with a NULL buffer and frames=1 after having pushed out all decoded audio +subframes using this function. + +When called with valid data in @buf the source pad caps must have been set +already. + +Note that a frame received in #GstAudioDecoderClass.handle_frame() may be +invalidated by a call to this function.</doc> + <return-value transfer-ownership="none"> + <doc xml:space="preserve">a #GstFlowReturn that should be escalated to caller (of caller)</doc> + <type name="Gst.FlowReturn" c:type="GstFlowReturn"/> + </return-value> + <parameters> + <instance-parameter name="dec" transfer-ownership="none"> + <doc xml:space="preserve">a #GstAudioDecoder</doc> + <type name="AudioDecoder" c:type="GstAudioDecoder*"/> + </instance-parameter> + <parameter name="buf" transfer-ownership="none"> + <doc xml:space="preserve">decoded data</doc> + <type name="Gst.Buffer" c:type="GstBuffer*"/> + </parameter> + </parameters> + </method> <method name="get_allocator" c:identifier="gst_audio_decoder_get_allocator"> <doc xml:space="preserve">Lets #GstAudioDecoder sub-classes to know the memory @allocator @@ -6234,7 +6265,7 @@ Note: This initializes @info first, no values are preserved.</doc> allow-none="1"> <doc xml:space="preserve">the channel positions</doc> <array zero-terminated="0" - c:type="GstAudioChannelPosition*" + c:type="const GstAudioChannelPosition*" fixed-size="64"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> @@ -6421,14 +6452,14 @@ modified in-place.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">input samples</doc> - <type name="gpointer" c:type="const gpointer"/> + <type name="gpointer" c:type="const gpointer*"/> </parameter> <parameter name="out" transfer-ownership="none" nullable="1" allow-none="1"> <doc xml:space="preserve">output samples</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="samples" transfer-ownership="none"> <doc xml:space="preserve">number of samples</doc> @@ -6599,7 +6630,7 @@ are matching and @in and @out point to enough memory.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">input samples</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="in_frames" transfer-ownership="none"> <doc xml:space="preserve">number of input frames</doc> @@ -6610,7 +6641,7 @@ are matching and @in and @out point to enough memory.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">output samples</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="out_frames" transfer-ownership="none"> <doc xml:space="preserve">number of output frames</doc> @@ -7708,7 +7739,7 @@ be called in when the ringbuffer is acquired.</doc> </instance-parameter> <parameter name="position" transfer-ownership="none"> <doc xml:space="preserve">the device channel positions</doc> - <array zero-terminated="0" c:type="GstAudioChannelPosition*"> + <array zero-terminated="0" c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9301,7 +9332,7 @@ positions and the same positions, only in a different order. <doc xml:space="preserve">The channel positions in the buffer.</doc> <array length="2" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9310,7 +9341,7 @@ positions and the same positions, only in a different order. <doc xml:space="preserve">The channel positions to convert to.</doc> <array length="2" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9498,7 +9529,7 @@ in the order required by GStreamer.</doc> <doc xml:space="preserve">The %GstAudioChannelPositions</doc> <array length="1" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9537,7 +9568,7 @@ Since 1.10</doc> to convert.</doc> <array length="1" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9589,7 +9620,7 @@ checks if the channels are in the order required by GStreamer.</doc> to check.</doc> <array length="1" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9756,7 +9787,7 @@ is possible.</doc> <doc xml:space="preserve">The channel positions to reorder from.</doc> <array length="0" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9765,7 +9796,7 @@ is possible.</doc> <doc xml:space="preserve">The channel positions to reorder to.</doc> <array length="0" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9808,7 +9839,7 @@ otherwise.</doc> <parameters> <parameter name="src" transfer-ownership="none"> <doc xml:space="preserve">a buffer containing the data to payload</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -9929,7 +9960,7 @@ Note: this function assumes the audio data is in interleaved layout</doc> <doc xml:space="preserve">The channel positions in the buffer.</doc> <array length="3" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -9938,7 +9969,7 @@ Note: this function assumes the audio data is in interleaved layout</doc> <doc xml:space="preserve">The channel positions to convert to.</doc> <array length="3" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -10065,7 +10096,7 @@ of the results.</doc> of the source</doc> <array length="2" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -10079,7 +10110,7 @@ of the results.</doc> the destination</doc> <array length="4" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> @@ -10096,8 +10127,7 @@ of the results.</doc> </function> <function name="buffer_add_audio_meta" c:identifier="gst_buffer_add_audio_meta" - version="1.16" - introspectable="0"> + version="1.16"> <doc xml:space="preserve">Allocates and attaches a #GstAudioMeta on @buffer, which must be writable for that purpose. The fields of the #GstAudioMeta are directly populated from the arguments of this function. @@ -10116,7 +10146,7 @@ specified cause this restriction to be violated. It is, obviously, also not allowed to specify parameters that would cause out-of-bounds memory access on @buffer. This is also checked, which means that you must add enough memory on the @buffer before adding this meta.</doc> - <return-value> + <return-value transfer-ownership="none"> <doc xml:space="preserve">the #GstAudioMeta that was attached on the @buffer</doc> <type name="AudioMeta" c:type="GstAudioMeta*"/> </return-value> @@ -10133,11 +10163,14 @@ that you must add enough memory on the @buffer before adding this meta.</doc> <doc xml:space="preserve">the number of valid samples in the buffer</doc> <type name="gsize" c:type="gsize"/> </parameter> - <parameter name="offsets" transfer-ownership="none"> + <parameter name="offsets" + transfer-ownership="none" + nullable="1" + allow-none="1"> <doc xml:space="preserve">the offsets (in bytes) where each channel plane starts in the buffer or %NULL to calculate it (see below); must be %NULL also when @info->layout is %GST_AUDIO_LAYOUT_INTERLEAVED</doc> - <type name="gsize" c:type="gsize"/> + <type name="gsize" c:type="gsize*"/> </parameter> </parameters> </function> @@ -10159,7 +10192,7 @@ channel positions.</doc> the destination</doc> <array length="2" zero-terminated="0" - c:type="GstAudioChannelPosition*"> + c:type="const GstAudioChannelPosition*"> <type name="AudioChannelPosition" c:type="GstAudioChannelPosition"/> </array> diff --git a/girs/GstBase-1.0.gir b/girs/GstBase-1.0.gir index 3f0363d6a4..e1856a567c 100644 --- a/girs/GstBase-1.0.gir +++ b/girs/GstBase-1.0.gir @@ -1841,6 +1841,13 @@ usage.</doc> </instance-parameter> </parameters> </method> + <property name="emit-signals" + version="1.16" + writable="1" + transfer-ownership="none"> + <doc xml:space="preserve">Enables the emission of signals such as #GstAggregatorPad::buffer-consumed</doc> + <type name="gboolean" c:type="gboolean"/> + </property> <field name="parent"> <type name="Gst.Pad" c:type="GstPad"/> </field> @@ -1856,6 +1863,16 @@ usage.</doc> <type name="gpointer" c:type="gpointer"/> </array> </field> + <glib:signal name="buffer-consumed" when="first"> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <parameter name="object" transfer-ownership="none"> + <type name="Gst.Buffer"/> + </parameter> + </parameters> + </glib:signal> </class> <record name="AggregatorPadClass" c:type="GstAggregatorPadClass" @@ -5055,7 +5072,13 @@ blocking operation should be unblocked with the unlock vmethod.</doc> <doc xml:space="preserve">If @automatic_eos is %TRUE, @src will automatically go EOS if a buffer after the total size is returned. By default this is %TRUE but sources that can't return an authoritative size and only know that they're EOS -when trying to read more should set this to %FALSE.</doc> +when trying to read more should set this to %FALSE. + +When @src operates in %GST_FORMAT_TIME, #GstBaseSrc will send an EOS +when a buffer outside of the currently configured segment is pushed if +@automatic_eos is %TRUE. Since 1.16, if @automatic_eos is %FALSE an +EOS will be pushed only when the #GstBaseSrc.create implementation +returns %GST_FLOW_EOS.</doc> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> </return-value> @@ -6923,7 +6946,7 @@ into 8, 16, 32 and 64 bit variables.</doc> <field name="data" writable="1"> <doc xml:space="preserve">Data from which the bit reader will read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </field> @@ -7109,7 +7132,7 @@ can be called on already initialized instances.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">data from which the bit reader should read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -7281,7 +7304,7 @@ Free-function: gst_bit_reader_free</doc> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">Data from which the #GstBitReader should read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -7422,7 +7445,9 @@ Free-function: g_free</doc> </instance-parameter> </parameters> </method> - <method name="init" c:identifier="gst_bit_writer_init"> + <method name="init" + c:identifier="gst_bit_writer_init" + introspectable="0"> <doc xml:space="preserve">Initializes @bitwriter to an empty instance.</doc> <return-value transfer-ownership="none"> <type name="none" c:type="void"/> @@ -7435,7 +7460,8 @@ Free-function: g_free</doc> </parameters> </method> <method name="init_with_data" - c:identifier="gst_bit_writer_init_with_data"> + c:identifier="gst_bit_writer_init_with_data" + introspectable="0"> <doc xml:space="preserve">Initializes @bitwriter with the given memory area @data. IF @initialized is %TRUE it is possible to read @size bits from the #GstBitWriter from the beginning.</doc> @@ -7464,7 +7490,8 @@ Free-function: g_free</doc> </parameters> </method> <method name="init_with_size" - c:identifier="gst_bit_writer_init_with_size"> + c:identifier="gst_bit_writer_init_with_size" + introspectable="0"> <doc xml:space="preserve">Initializes a #GstBitWriter instance and allocates the given data @size.</doc> <return-value transfer-ownership="none"> @@ -7696,14 +7723,20 @@ Free-function: gst_bit_writer_free</doc> <function name="new_with_size" c:identifier="gst_bit_writer_new_with_size" introspectable="0"> - <return-value> + <doc xml:space="preserve">Creates a #GstBitWriter instance with the given initial data size. + +Free-function: gst_bit_writer_free</doc> + <return-value transfer-ownership="full"> + <doc xml:space="preserve">a new #GstBitWriter instance</doc> <type name="BitWriter" c:type="GstBitWriter*"/> </return-value> <parameters> <parameter name="size" transfer-ownership="none"> + <doc xml:space="preserve">Initial size of data in bytes</doc> <type name="guint32" c:type="guint32"/> </parameter> <parameter name="fixed" transfer-ownership="none"> + <doc xml:space="preserve">If %TRUE the data can't be reallocated</doc> <type name="gboolean" c:type="gboolean"/> </parameter> </parameters> @@ -7719,7 +7752,7 @@ in various character encodings.</doc> <field name="data" writable="1"> <doc xml:space="preserve">Data from which the bit reader will read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </field> @@ -7917,7 +7950,7 @@ updates the current position.</doc> transfer-ownership="none"> <doc xml:space="preserve">address of a #guint8 pointer variable in which to store the result</doc> - <array length="0" zero-terminated="0" c:type="guint8**"> + <array length="0" zero-terminated="0" c:type="const guint8**"> <type name="guint8" c:type="guint8*"/> </array> </parameter> @@ -8265,7 +8298,7 @@ This function will fail if no NUL-terminator was found in in the data.</doc> transfer-ownership="none"> <doc xml:space="preserve">address of a #gchar pointer variable in which to store the result</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -8511,7 +8544,7 @@ can be called on already initialized instances.</doc> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">data from which the #GstByteReader should read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -8655,7 +8688,7 @@ keeps the current position.</doc> transfer-ownership="none"> <doc xml:space="preserve">address of a #guint8 pointer variable in which to store the result</doc> - <array length="0" zero-terminated="0" c:type="guint8**"> + <array length="0" zero-terminated="0" c:type="const guint8**"> <type name="guint8" c:type="guint8*"/> </array> </parameter> @@ -8971,7 +9004,7 @@ This function will fail if no NUL-terminator was found in in the data.</doc> transfer-ownership="none"> <doc xml:space="preserve">address of a #gchar pointer variable in which to store the result</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -9309,7 +9342,7 @@ Free-function: gst_byte_reader_free</doc> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">data from which the #GstByteReader should read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -9550,7 +9583,7 @@ read @size bytes from the #GstByteWriter from the beginning.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">Data to write</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -9799,7 +9832,7 @@ read @size bytes from the #GstByteWriter from the beginning.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">UTF16 string to write</doc> - <array c:type="guint16*"> + <array c:type="const guint16*"> <type name="guint16" c:type="guint16"/> </array> </parameter> @@ -9819,7 +9852,7 @@ read @size bytes from the #GstByteWriter from the beginning.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">UTF32 string to write</doc> - <array c:type="guint32*"> + <array c:type="const guint32*"> <type name="guint32" c:type="guint32"/> </array> </parameter> @@ -12510,7 +12543,7 @@ Free-function: gst_bit_reader_free</doc> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">Data from which the #GstBitReader should read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -12520,6 +12553,68 @@ Free-function: gst_bit_reader_free</doc> </parameter> </parameters> </function> + <function name="bit_writer_new" + c:identifier="gst_bit_writer_new" + moved-to="BitWriter.new" + introspectable="0"> + <doc xml:space="preserve">Creates a new, empty #GstBitWriter instance. + +Free-function: gst_bit_writer_free</doc> + <return-value transfer-ownership="full"> + <doc xml:space="preserve">a new, empty #GstByteWriter instance</doc> + <type name="BitWriter" c:type="GstBitWriter*"/> + </return-value> + </function> + <function name="bit_writer_new_with_data" + c:identifier="gst_bit_writer_new_with_data" + moved-to="BitWriter.new_with_data" + introspectable="0"> + <doc xml:space="preserve">Creates a new #GstBitWriter instance with the given memory area. If +@initialized is %TRUE it is possible to read @size bits from the +#GstBitWriter from the beginnig. + +Free-function: gst_bit_writer_free</doc> + <return-value transfer-ownership="full"> + <doc xml:space="preserve">a new #GstBitWriter instance</doc> + <type name="BitWriter" c:type="GstBitWriter*"/> + </return-value> + <parameters> + <parameter name="data" transfer-ownership="none"> + <doc xml:space="preserve">Memory area for writing</doc> + <type name="guint8" c:type="guint8*"/> + </parameter> + <parameter name="size" transfer-ownership="none"> + <doc xml:space="preserve">Size of @data in bytes</doc> + <type name="guint" c:type="guint"/> + </parameter> + <parameter name="initialized" transfer-ownership="none"> + <doc xml:space="preserve">if %TRUE the complete data can be read from the beginning</doc> + <type name="gboolean" c:type="gboolean"/> + </parameter> + </parameters> + </function> + <function name="bit_writer_new_with_size" + c:identifier="gst_bit_writer_new_with_size" + moved-to="BitWriter.new_with_size" + introspectable="0"> + <doc xml:space="preserve">Creates a #GstBitWriter instance with the given initial data size. + +Free-function: gst_bit_writer_free</doc> + <return-value transfer-ownership="full"> + <doc xml:space="preserve">a new #GstBitWriter instance</doc> + <type name="BitWriter" c:type="GstBitWriter*"/> + </return-value> + <parameters> + <parameter name="size" transfer-ownership="none"> + <doc xml:space="preserve">Initial size of data in bytes</doc> + <type name="guint32" c:type="guint32"/> + </parameter> + <parameter name="fixed" transfer-ownership="none"> + <doc xml:space="preserve">If %TRUE the data can't be reallocated</doc> + <type name="gboolean" c:type="gboolean"/> + </parameter> + </parameters> + </function> <function name="byte_reader_new" c:identifier="gst_byte_reader_new" moved-to="ByteReader.new" @@ -12535,7 +12630,7 @@ Free-function: gst_byte_reader_free</doc> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">data from which the #GstByteReader should read</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -12800,7 +12895,7 @@ Free-function: gst_caps_unref</doc> </parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">* a pointer with data to typefind</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -12856,7 +12951,7 @@ Free-function: gst_caps_unref</doc> </parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">* a pointer with data to typefind</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> diff --git a/girs/GstNet-1.0.gir b/girs/GstNet-1.0.gir index 5daf3ce3f3..2356c34efb 100644 --- a/girs/GstNet-1.0.gir +++ b/girs/GstNet-1.0.gir @@ -214,7 +214,7 @@ MT safe. Caller owns return value (gst_net_time_packet_free to free).</doc> <parameters> <parameter name="buffer" transfer-ownership="none"> <doc xml:space="preserve">a buffer from which to construct the packet, or NULL</doc> - <array zero-terminated="0" c:type="guint8*"> + <array zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> diff --git a/girs/GstPbutils-1.0.gir b/girs/GstPbutils-1.0.gir index ca32958f6e..5c70c88316 100644 --- a/girs/GstPbutils-1.0.gir +++ b/girs/GstPbutils-1.0.gir @@ -837,7 +837,7 @@ gst_discoverer_stream_info_list_free().</doc> containing informations about how to install the various missing elements for @info to be usable. If you wish to use the strings after the life-time of @info, you will need to copy them.</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8"/> </array> </return-value> @@ -2753,13 +2753,13 @@ in debugging.</doc> <type name="gint" c:type="gint"/> </constant> <constant name="PLUGINS_BASE_VERSION_MICRO" - value="90" + value="0" c:type="GST_PLUGINS_BASE_VERSION_MICRO"> <doc xml:space="preserve">The micro version of GStreamer's gst-plugins-base libraries at compile time.</doc> <type name="gint" c:type="gint"/> </constant> <constant name="PLUGINS_BASE_VERSION_MINOR" - value="15" + value="16" c:type="GST_PLUGINS_BASE_VERSION_MINOR"> <doc xml:space="preserve">The minor version of GStreamer's gst-plugins-base libraries at compile time.</doc> <type name="gint" c:type="gint"/> @@ -2791,7 +2791,7 @@ If mpegversion is 4, the "base-profile" field is also set in @caps.</doc> <doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1. (See below for more details)</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2815,7 +2815,7 @@ Since 1.10</doc> <doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2865,7 +2865,7 @@ determined.</doc> <doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2890,7 +2890,7 @@ determined.</doc> <doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2915,7 +2915,7 @@ Since 1.10</doc> <doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2957,7 +2957,7 @@ for more details on the parameters.</doc> </parameter> <parameter name="sps" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the sequence parameter set for the stream.</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2979,7 +2979,7 @@ same format as for gst_codec_utils_h264_get_profile().</doc> <parameters> <parameter name="sps" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the sequence parameter set for the stream.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3026,7 +3026,7 @@ byte. <parameters> <parameter name="sps" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the sequence parameter set for the stream.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3056,7 +3056,7 @@ Since 1.4</doc> <parameter name="profile_tier_level" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the profile_tier_level struct</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3081,7 +3081,7 @@ Since 1.4</doc> <parameter name="profile_tier_level" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the profile_tier_level for the stream</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3135,7 +3135,7 @@ Since 1.4</doc> <parameter name="profile_tier_level" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the profile_tier_level structure for the stream.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3160,7 +3160,7 @@ Since 1.4</doc> <parameter name="profile_tier_level" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the profile_tier_level for the stream.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3188,7 +3188,7 @@ parameters.</doc> <parameter name="vis_obj_seq" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the visual object sequence for the stream.</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3212,7 +3212,7 @@ object sequence start code. Only the first byte <parameter name="vis_obj_seq" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the visual object sequence for the stream.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3236,7 +3236,7 @@ object sequence start code. Only the first byte <parameter name="vis_obj_seq" transfer-ownership="none"> <doc xml:space="preserve">Pointer to the visual object sequence for the stream.</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3281,7 +3281,7 @@ invalid Opus caps.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">the mapping between the streams</doc> - <array zero-terminated="0" c:type="guint8*"> + <array zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3344,7 +3344,7 @@ invalid Opus caps.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">the mapping between the streams</doc> - <array zero-terminated="0" c:type="guint8*"> + <array zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3411,7 +3411,7 @@ invalid Opus caps.</doc> caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve">the mapping between the streams</doc> - <array zero-terminated="0" c:type="guint8" fixed-size="256"> + <array zero-terminated="0" c:type="guint8*" fixed-size="256"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3470,7 +3470,7 @@ invalid Opus caps.</doc> caller-allocates="0" transfer-ownership="full"> <doc xml:space="preserve">the mapping between the streams</doc> - <array zero-terminated="0" c:type="guint8" fixed-size="256"> + <array zero-terminated="0" c:type="guint8*" fixed-size="256"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3548,7 +3548,7 @@ installed but no suitable video decoder and no suitable audio decoder).</doc> <parameter name="details" transfer-ownership="none"> <doc xml:space="preserve">NULL-terminated array of installer string details (see below)</doc> - <array c:type="gchar**"> + <array c:type="const gchar* const*"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -3633,7 +3633,7 @@ gst_install_plugins_async() instead of this function.</doc> <parameter name="details" transfer-ownership="none"> <doc xml:space="preserve">NULL-terminated array of installer string details</doc> - <array c:type="gchar**"> + <array c:type="const gchar* const*"> <type name="utf8" c:type="gchar*"/> </array> </parameter> diff --git a/girs/GstRtp-1.0.gir b/girs/GstRtp-1.0.gir index ee94f7cab9..bbfc42c368 100644 --- a/girs/GstRtp-1.0.gir +++ b/girs/GstRtp-1.0.gir @@ -398,7 +398,7 @@ extension.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">profile-specific data</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1154,7 +1154,7 @@ reached.</doc> </parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">the data</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -2341,7 +2341,7 @@ the buffer downstream.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">data to set as payload</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -3092,6 +3092,14 @@ Variable arguments should be in the form field name, field type <property name="mtu" writable="1" transfer-ownership="none"> <type name="guint" c:type="guint"/> </property> + <property name="onvif-no-rate-control" + version="1.16" + writable="1" + transfer-ownership="none"> + <doc xml:space="preserve">Make the payloader timestamp packets according to the Rate-Control=no +behaviour specified in the ONVIF replay spec.</doc> + <type name="gboolean" c:type="gboolean"/> + </property> <property name="perfect-rtptime" writable="1" transfer-ownership="none"> <doc xml:space="preserve">Try to use the offset fields to generate perfect RTP timestamps. When this option is disabled, RTP timestamps are generated from GST_BUFFER_PTS of diff --git a/girs/GstRtsp-1.0.gir b/girs/GstRtsp-1.0.gir index 6948385339..1f2acf875a 100644 --- a/girs/GstRtsp-1.0.gir +++ b/girs/GstRtsp-1.0.gir @@ -1967,8 +1967,18 @@ read from @socket which should be used before starting to read new data.</doc> c:identifier="GST_RTSP_HDR_ACCEPT_RANGES" glib:nick="accept-ranges"> </member> - <member name="last" + <member name="frames" value="87" + c:identifier="GST_RTSP_HDR_FRAMES" + glib:nick="frames"> + </member> + <member name="rate_control" + value="88" + c:identifier="GST_RTSP_HDR_RATE_CONTROL" + glib:nick="rate-control"> + </member> + <member name="last" + value="89" c:identifier="GST_RTSP_HDR_LAST" glib:nick="last"> </member> @@ -2620,7 +2630,7 @@ will be replaced by the new body.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">the data</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -4326,7 +4336,7 @@ are reached. #GST_RTSP_EINTR when @watch was flushing.</doc> </instance-parameter> <parameter name="data" transfer-ownership="full"> <doc xml:space="preserve">the data to queue</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> diff --git a/girs/GstSdp-1.0.gir b/girs/GstSdp-1.0.gir index dc1324da13..b3c7d00817 100644 --- a/girs/GstSdp-1.0.gir +++ b/girs/GstSdp-1.0.gir @@ -44,6 +44,11 @@ and/or use gtk-doc annotations. --> c:identifier="GST_MIKEY_ENC_AES_KW_128"> <doc xml:space="preserve">AES Key Wrap using a 128-bit key</doc> </member> + <member name="aes_gcm_128" + value="6" + c:identifier="GST_MIKEY_ENC_AES_GCM_128"> + <doc xml:space="preserve">AES-GCM using a 128-bit key (Since 1.16)</doc> + </member> </enumeration> <record name="MIKEYEncryptInfo" c:type="GstMIKEYEncryptInfo" disguised="1"> </record> @@ -293,7 +298,7 @@ parameters to decrypt and verify the data.</doc> </parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">the encrypted envelope key</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -318,7 +323,7 @@ parameters to decrypt and verify the data.</doc> </parameter> <parameter name="rand" transfer-ownership="none"> <doc xml:space="preserve">random data</doc> - <array length="0" zero-terminated="0" c:type="guint8*"> + <array length="0" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -362,7 +367,7 @@ parameters to decrypt and verify the data.</doc> </parameter> <parameter name="ts_value" transfer-ownership="none"> <doc xml:space="preserve">The timestamp value of the specified @type</doc> - <array zero-terminated="0" c:type="guint8*"> + <array zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -858,7 +863,7 @@ payload.</doc> </parameter> <parameter name="vf_data" transfer-ownership="none"> <doc xml:space="preserve">the Valid From data</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -868,7 +873,7 @@ payload.</doc> </parameter> <parameter name="vt_data" transfer-ownership="none"> <doc xml:space="preserve">the Valid To data</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -898,7 +903,7 @@ payload.</doc> </parameter> <parameter name="key_data" transfer-ownership="none"> <doc xml:space="preserve">the key of type @key_type</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -927,7 +932,7 @@ salt data will be removed.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">the salt</doc> - <array length="0" zero-terminated="0" c:type="guint8*"> + <array length="0" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -952,7 +957,7 @@ salt data will be removed.</doc> </parameter> <parameter name="spi_data" transfer-ownership="none"> <doc xml:space="preserve">the SPI/MKI data</doc> - <array length="0" zero-terminated="0" c:type="guint8*"> + <array length="0" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -982,7 +987,7 @@ salt data will be removed.</doc> </parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">the encrypted envelope key</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1007,7 +1012,7 @@ salt data will be removed.</doc> </parameter> <parameter name="rand" transfer-ownership="none"> <doc xml:space="preserve">random values</doc> - <array length="0" zero-terminated="0" c:type="guint8*"> + <array length="0" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1037,7 +1042,7 @@ and @val.</doc> </parameter> <parameter name="val" transfer-ownership="none"> <doc xml:space="preserve">@len bytes of data</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1142,7 +1147,7 @@ at @idx.</doc> </parameter> <parameter name="ts_value" transfer-ownership="none"> <doc xml:space="preserve">the timestamp value</doc> - <array zero-terminated="0" c:type="guint8*"> + <array zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1424,6 +1429,11 @@ specific security protocol</doc> c:identifier="GST_MIKEY_SP_SRTP_SRTP_PREFIX_LEN"> <doc xml:space="preserve">SRTP prefix length</doc> </member> + <member name="aead_auth_tag_len" + value="20" + c:identifier="GST_MIKEY_SP_SRTP_AEAD_AUTH_TAG_LEN"> + <doc xml:space="preserve">AEAD authentication tag length (Since 1.16)</doc> + </member> </enumeration> <enumeration name="MIKEYTSType" c:type="GstMIKEYTSType"> <doc xml:space="preserve">Specifies the timestamp type.</doc> @@ -2798,7 +2808,7 @@ gst_sdp_media_init() before it can be used again.</doc> </parameter> <parameter name="repeat" transfer-ownership="none"> <doc xml:space="preserve">the repeat times</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -3943,7 +3953,7 @@ stack and initialized with gst_sdp_message_init().</doc> <parameters> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">the start of the buffer</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -4079,7 +4089,7 @@ a conference session.</doc> </parameter> <parameter name="repeat" transfer-ownership="none"> <doc xml:space="preserve">the repeat times</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -4322,7 +4332,7 @@ a=rtcp-fb:(payload) (param1) [param2]...</doc> <parameters> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">the start of the buffer</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> diff --git a/girs/GstTag-1.0.gir b/girs/GstTag-1.0.gir index 4307b88cdd..ebda563c56 100644 --- a/girs/GstTag-1.0.gir +++ b/girs/GstTag-1.0.gir @@ -1039,7 +1039,7 @@ WINDOWS-1252/ISO-8859-1 is assumed (which will almost always succeed).</doc> <parameters> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">string data</doc> - <array length="1" zero-terminated="0" c:type="gchar*"> + <array length="1" zero-terminated="0" c:type="const gchar*"> <type name="gchar"/> </array> </parameter> @@ -1050,7 +1050,7 @@ WINDOWS-1252/ISO-8859-1 is assumed (which will almost always succeed).</doc> <parameter name="env_vars" transfer-ownership="none"> <doc xml:space="preserve"> a NULL-terminated string array of environment variable names, or NULL</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> @@ -1391,7 +1391,7 @@ data (we can't trust the declared mime type).</doc> <parameters> <parameter name="image_data" transfer-ownership="none"> <doc xml:space="preserve">the (encoded) image</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1423,7 +1423,7 @@ more information on image tags in GStreamer.</doc> </parameter> <parameter name="image_data" transfer-ownership="none"> <doc xml:space="preserve">the (encoded) image</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1505,7 +1505,7 @@ vorbiscomment packet.</doc> <parameters> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">data to convert</doc> - <array length="1" zero-terminated="0" c:type="guint8*"> + <array length="1" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1515,7 +1515,7 @@ vorbiscomment packet.</doc> </parameter> <parameter name="id_data" transfer-ownership="none"> <doc xml:space="preserve">identification data at start of stream</doc> - <array length="3" zero-terminated="0" c:type="guint8*"> + <array length="3" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1551,7 +1551,7 @@ vorbiscomment packet.</doc> </parameter> <parameter name="id_data" transfer-ownership="none"> <doc xml:space="preserve">identification data at start of stream</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1596,7 +1596,7 @@ parsed data.</doc> <parameters> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">128 bytes of data containing the ID3v1 tag</doc> - <array zero-terminated="0" c:type="guint8*" fixed-size="128"> + <array zero-terminated="0" c:type="const guint8*" fixed-size="128"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1655,7 +1655,7 @@ is put in the beginning of the buffer.</doc> </parameter> <parameter name="id_data" transfer-ownership="none"> <doc xml:space="preserve">identification data at start of stream</doc> - <array length="2" zero-terminated="0" c:type="guint8*"> + <array length="2" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -1693,7 +1693,7 @@ be used</doc> <parameter name="schemas" transfer-ownership="none"> <doc xml:space="preserve"> %NULL terminated array of schemas to be used on serialization</doc> - <array c:type="gchar**"> + <array c:type="const gchar**"> <type name="utf8" c:type="gchar*"/> </array> </parameter> diff --git a/girs/GstVideo-1.0.gir b/girs/GstVideo-1.0.gir index deb1fb324b..761bbcf8a3 100644 --- a/girs/GstVideo-1.0.gir +++ b/girs/GstVideo-1.0.gir @@ -1716,7 +1716,7 @@ of cores.</doc> <type name="utf8" c:type="gchar*"/> </constant> <constant name="VIDEO_FORMATS_ALL" - value="{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }" + value="{ I420, YV12, YUY2, UYVY, AYUV, VUYA, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, BGR10A2_LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }" c:type="GST_VIDEO_FORMATS_ALL"> <type name="utf8" c:type="gchar*"/> </constant> @@ -1888,7 +1888,7 @@ Performs the multiplication, meta->matrix X matrix.</doc> </instance-parameter> <parameter name="matrix" transfer-ownership="none"> <doc xml:space="preserve">a 4x4 transformation matrix to be applied</doc> - <type name="gfloat" c:type="const gfloat"/> + <type name="gfloat" c:type="const gfloat*"/> </parameter> </parameters> </method> @@ -2900,7 +2900,7 @@ type, or %GST_VIDEO_CAPTION_TYPE_UNKNOWN.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">pixel lines</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="width" transfer-ownership="none"> <doc xml:space="preserve">the number of pixels on one line</doc> @@ -3453,6 +3453,30 @@ the CIE XYZ colorspace.</doc> glib:nick="adobergb"> <doc xml:space="preserve">Adobe RGB primaries. Since: 1.8</doc> </member> + <member name="smptest428" + value="9" + c:identifier="GST_VIDEO_COLOR_PRIMARIES_SMPTEST428" + glib:nick="smptest428"> + <doc xml:space="preserve">SMPTE ST 428 primaries. Since: 1.16</doc> + </member> + <member name="smpterp431" + value="10" + c:identifier="GST_VIDEO_COLOR_PRIMARIES_SMPTERP431" + glib:nick="smpterp431"> + <doc xml:space="preserve">SMPTE RP 431 primaries. Since: 1.16</doc> + </member> + <member name="smpteeg432" + value="11" + c:identifier="GST_VIDEO_COLOR_PRIMARIES_SMPTEEG432" + glib:nick="smpteeg432"> + <doc xml:space="preserve">SMPTE EG 432 primaries. Since: 1.16</doc> + </member> + <member name="ebu3213" + value="12" + c:identifier="GST_VIDEO_COLOR_PRIMARIES_EBU3213" + glib:nick="ebu3213"> + <doc xml:space="preserve">EBU 3213 primaries. Since: 1.16</doc> + </member> <function name="get_info" c:identifier="gst_video_color_primaries_get_info" version="1.6"> @@ -3563,7 +3587,7 @@ the component values in range [0.0 .. 1.0] back to their representation in caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve">output offsets</doc> - <array zero-terminated="0" c:type="gint" fixed-size="4"> + <array zero-terminated="0" c:type="gint*" fixed-size="4"> <type name="gint" c:type="gint"/> </array> </parameter> @@ -3572,7 +3596,7 @@ the component values in range [0.0 .. 1.0] back to their representation in caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve">output scale</doc> - <array zero-terminated="0" c:type="gint" fixed-size="4"> + <array zero-terminated="0" c:type="gint*" fixed-size="4"> <type name="gint" c:type="gint"/> </array> </parameter> @@ -5320,7 +5344,7 @@ performance is achived when @quantizer is a power of 2. </parameter> <parameter name="quantizer" transfer-ownership="none"> <doc xml:space="preserve">quantizer</doc> - <type name="guint" c:type="guint"/> + <type name="guint" c:type="guint*"/> </parameter> <parameter name="width" transfer-ownership="none"> <doc xml:space="preserve">the width of the lines</doc> @@ -7200,6 +7224,18 @@ for details about the layout and packing of these formats in memory.</doc> glib:nick="y410"> <doc xml:space="preserve">packed 4:4:4 YUV, 10 bits per channel(A-V-Y-U...) (Since: 1.16)</doc> </member> + <member name="vuya" + value="84" + c:identifier="GST_VIDEO_FORMAT_VUYA" + glib:nick="vuya"> + <doc xml:space="preserve">packed 4:4:4 YUV with alpha channel (V0-U0-Y0-A0...) (Since: 1.16)</doc> + </member> + <member name="bgr10a2_le" + value="85" + c:identifier="GST_VIDEO_FORMAT_BGR10A2_LE" + glib:nick="bgr10a2-le"> + <doc xml:space="preserve">packed 4:4:4 RGB with alpha channel(B-G-R-A), 10 bits for R/G/B channel and MSB 2 bits for alpha channel (Since: 1.16)</doc> + </member> <function name="from_fourcc" c:identifier="gst_video_format_from_fourcc"> <doc xml:space="preserve">Converts a FOURCC value into the corresponding #GstVideoFormat. If the FOURCC cannot be represented by #GstVideoFormat, @@ -7567,11 +7603,11 @@ formats this means that a complete pixel needs to be packed.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">pointers to the destination data planes</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="stride" transfer-ownership="none"> <doc xml:space="preserve">strides of the destination planes</doc> - <type name="gint" c:type="const gint"/> + <type name="gint" c:type="const gint*"/> </parameter> <parameter name="chroma_site" transfer-ownership="none"> <doc xml:space="preserve">the chroma siting of the target when subsampled (not used)</doc> @@ -7625,11 +7661,11 @@ separate step after unpacking.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">pointers to the data planes</doc> - <type name="gpointer" c:type="const gpointer"/> + <type name="gpointer" c:type="const gpointer*"/> </parameter> <parameter name="stride" transfer-ownership="none"> <doc xml:space="preserve">strides of the planes</doc> - <type name="gint" c:type="const gint"/> + <type name="gint" c:type="const gint*"/> </parameter> <parameter name="x" transfer-ownership="none"> <doc xml:space="preserve">the x position in the image to start from</doc> @@ -8003,7 +8039,7 @@ All video planes of @buffer will be mapped and the pointers will be set in c:type="GstVideoGLTextureUploadMeta*"/> </parameter> <parameter name="texture_id" transfer-ownership="none"> - <type name="guint" c:type="guint"/> + <type name="guint" c:type="guint*"/> </parameter> </parameters> </callback> @@ -8064,7 +8100,7 @@ to upload something to an OpenGL texture.</doc> </instance-parameter> <parameter name="texture_id" transfer-ownership="none"> <doc xml:space="preserve">the texture IDs to upload to</doc> - <type name="guint" c:type="guint"/> + <type name="guint" c:type="guint*"/> </parameter> </parameters> </method> @@ -11346,7 +11382,7 @@ gst_video_scaler_get_info().</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">source pixels lines</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="dest" transfer-ownership="none" @@ -12460,7 +12496,7 @@ the parity check bits).</doc> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">The user data content of the Ancillary packet. Does not contain the ADF, DID, SDID nor CS.</doc> - <array length="4" zero-terminated="0" c:type="guint8*"> + <array length="4" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -12552,7 +12588,7 @@ to get the Ancillary data that might be present on that line.</doc> </instance-parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">The line of data to parse</doc> - <array zero-terminated="0" c:type="guint8*"> + <array zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -12669,7 +12705,7 @@ parameters.</doc> </parameter> <parameter name="data" transfer-ownership="none"> <doc xml:space="preserve">The Closed Caption data</doc> - <array length="3" zero-terminated="0" c:type="guint8*"> + <array length="3" zero-terminated="0" c:type="const guint8*"> <type name="guint8" c:type="guint8"/> </array> </parameter> @@ -12704,7 +12740,7 @@ parameters.</doc> </parameter> <parameter name="texture_type" transfer-ownership="none"> <doc xml:space="preserve">array of #GstVideoGLTextureType</doc> - <type name="VideoGLTextureType" c:type="GstVideoGLTextureType"/> + <type name="VideoGLTextureType" c:type="GstVideoGLTextureType*"/> </parameter> <parameter name="upload" transfer-ownership="none" @@ -12802,13 +12838,13 @@ gst_buffer_add_video_meta_full() with them.</doc> </parameter> <parameter name="offset" transfer-ownership="none"> <doc xml:space="preserve">offset of each plane</doc> - <array zero-terminated="0" c:type="gsize" fixed-size="4"> + <array zero-terminated="0" c:type="gsize*" fixed-size="4"> <type name="gsize" c:type="gsize"/> </array> </parameter> <parameter name="stride" transfer-ownership="none"> <doc xml:space="preserve">stride of each plane</doc> - <array zero-terminated="0" c:type="gint" fixed-size="4"> + <array zero-terminated="0" c:type="gint*" fixed-size="4"> <type name="gint" c:type="gint"/> </array> </parameter> @@ -12916,8 +12952,9 @@ parameters.</doc> version="1.10"> <doc xml:space="preserve">Attaches #GstVideoTimeCodeMeta metadata to @buffer with the given parameters.</doc> - <return-value transfer-ownership="none"> - <doc xml:space="preserve">the #GstVideoTimeCodeMeta on @buffer.</doc> + <return-value transfer-ownership="none" nullable="1"> + <doc xml:space="preserve">the #GstVideoTimeCodeMeta on @buffer, or +(since 1.16) %NULL if the timecode was invalid.</doc> <type name="VideoTimeCodeMeta" c:type="GstVideoTimeCodeMeta*"/> </return-value> <parameters> @@ -12937,7 +12974,8 @@ parameters.</doc> <doc xml:space="preserve">Attaches #GstVideoTimeCodeMeta metadata to @buffer with the given parameters.</doc> <return-value transfer-ownership="none"> - <doc xml:space="preserve">the #GstVideoTimeCodeMeta on @buffer.</doc> + <doc xml:space="preserve">the #GstVideoTimeCodeMeta on @buffer, or +(since 1.16) %NULL if the timecode was invalid.</doc> <type name="VideoTimeCodeMeta" c:type="GstVideoTimeCodeMeta*"/> </return-value> <parameters> @@ -13832,7 +13870,7 @@ not contain a valid chroma description.</doc> nullable="1" allow-none="1"> <doc xml:space="preserve">pixel lines</doc> - <type name="gpointer" c:type="gpointer"/> + <type name="gpointer" c:type="gpointer*"/> </parameter> <parameter name="width" transfer-ownership="none"> <doc xml:space="preserve">the number of pixels on one line</doc> @@ -13991,7 +14029,7 @@ the component values in range [0.0 .. 1.0] back to their representation in caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve">output offsets</doc> - <array zero-terminated="0" c:type="gint" fixed-size="4"> + <array zero-terminated="0" c:type="gint*" fixed-size="4"> <type name="gint" c:type="gint"/> </array> </parameter> @@ -14000,7 +14038,7 @@ the component values in range [0.0 .. 1.0] back to their representation in caller-allocates="1" transfer-ownership="none"> <doc xml:space="preserve">output scale</doc> - <array zero-terminated="0" c:type="gint" fixed-size="4"> + <array zero-terminated="0" c:type="gint*" fixed-size="4"> <type name="gint" c:type="gint"/> </array> </parameter> @@ -14219,7 +14257,7 @@ performance is achived when @quantizer is a power of 2. </parameter> <parameter name="quantizer" transfer-ownership="none"> <doc xml:space="preserve">quantizer</doc> - <type name="guint" c:type="guint"/> + <type name="guint" c:type="guint*"/> </parameter> <parameter name="width" transfer-ownership="none"> <doc xml:space="preserve">the width of the lines</doc> |