From 3b4bdb85f97e6b411c0b31fd1559f3b8328921f1 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Fri, 29 Jan 2021 09:39:26 +0100 Subject: [PATCH] gir-files: Import from preliminary gstreamer-base 1.18.4 at 7b1fc3ea --- gir-files/GstApp-1.0.gir | 59 +++++++++++++++++++++++++++++++----- gir-files/GstGL-1.0.gir | 24 ++++++++++++--- gir-files/GstPbutils-1.0.gir | 4 +-- gir-files/GstVideo-1.0.gir | 2 +- 4 files changed, 74 insertions(+), 15 deletions(-) diff --git a/gir-files/GstApp-1.0.gir b/gir-files/GstApp-1.0.gir index 643a9de73..9c6770571 100644 --- a/gir-files/GstApp-1.0.gir +++ b/gir-files/GstApp-1.0.gir @@ -1583,61 +1583,106 @@ application should connect to the seek-data signal. + Notify @appsrc that no more buffer are available. + Signal that the source has enough data. It is recommended that the +application stops calling push-buffer until the need-data signal is +emitted again to avoid excessive buffer queueing. + Signal that the source needs more data. In the callback or from another +thread you should call push-buffer or end-of-stream. + +@length is just a hint and when it is set to -1, any number of bytes can be +pushed into @appsrc. + +You can call push-buffer multiple times until the enough-data signal is +fired. - + + the amount of bytes needed. + Adds a buffer to the queue of buffers that the appsrc element will +push to its source pad. This function does not take ownership of the +buffer so the buffer needs to be unreffed after calling this function. + +When the block property is TRUE, this function can block until free space +becomes available in the queue. - + + a buffer to push - + + Adds a buffer list to the queue of buffers and buffer lists that the +appsrc element will push to its source pad. This function does not take +ownership of the buffer list so the buffer list needs to be unreffed +after calling this function. + +When the block property is TRUE, this function can block until free space +becomes available in the queue. - + + a buffer list to push - + + Extract a buffer from the provided sample and adds the extracted buffer +to the queue of buffers that the appsrc element will +push to its source pad. This function set the appsrc caps based on the caps +in the sample and reset the caps if they change. +Only the caps and the buffer of the provided sample are used and not +for example the segment in the sample. +This function does not take ownership of the +sample so the sample needs to be unreffed after calling this function. + +When the block property is TRUE, this function can block until free space +becomes available in the queue. - + + a sample from which extract buffer to push + Seek to the given offset. The next push-buffer should produce buffers from +the new @offset. +This callback is only called for seekable stream types. + %TRUE if the seek succeeded. - + + the offset to seek to diff --git a/gir-files/GstGL-1.0.gir b/gir-files/GstGL-1.0.gir index 093d18558..6376d705a 100644 --- a/gir-files/GstGL-1.0.gir +++ b/gir-files/GstGL-1.0.gir @@ -3555,7 +3555,13 @@ OpenGL textures. #GstGLMemory is created or wrapped through gst_gl_base_memory_alloc() with #GstGLVideoAllocationParams. -Data is uploaded or downloaded from the GPU as is necessary. +Data is uploaded or downloaded from the GPU as is necessary. + +The #GstCaps that is used for #GstGLMemory based buffers should contain +the %GST_CAPS_FEATURE_MEMORY_GL_MEMORY as a #GstCapsFeatures and should +contain a 'texture-target' field with one of the #GstGLTextureTarget values +as a string, i.e. some combination of 'texture-target=(string){2D, +rectangle, external-oes}'. the parent #GstGLBaseMemory object @@ -6275,17 +6281,24 @@ the sync point are now visible. + The OpenGL texture target that an OpenGL texture can be bound to. The +gst_gl_value_set_texture_target_from_mask(), +gst_gl_value_get_texture_target_mask(), and +gst_gl_value_set_texture_target() functions can be used for handling texture +targets with #GValue's when e.g. dealing with #GstCaps. no texture target - 2D texture target + 2D texture target (`GL_TEXTURE_2D`) - rectangle texture target + rectangle texture target + (`GL_TEXTURE_RECTANGLE`) - external oes texture target + external oes texture target + (`GL_TEXTURE_EXTERNAL_OES`) @@ -9735,7 +9748,8 @@ multiple times. This must be called before any other GstGLRenderbuffer operatio See gst_gl_value_set_texture_target_from_mask() for what entails a mask - the mask of #GstGLTextureTarget's in @value + the mask of #GstGLTextureTarget's in @value or + %GST_GL_TEXTURE_TARGET_NONE on failure diff --git a/gir-files/GstPbutils-1.0.gir b/gir-files/GstPbutils-1.0.gir index 34c822851..920adabb6 100644 --- a/gir-files/GstPbutils-1.0.gir +++ b/gir-files/GstPbutils-1.0.gir @@ -2568,7 +2568,7 @@ in debugging. The major version of GStreamer's gst-plugins-base libraries at compile time. - + The micro version of GStreamer's gst-plugins-base libraries at compile time. @@ -2576,7 +2576,7 @@ in debugging. The minor version of GStreamer's gst-plugins-base libraries at compile time. - + The nano version of GStreamer's gst-plugins-base libraries at compile time. Actual releases have 0, GIT versions have 1, prerelease versions have 2-... diff --git a/gir-files/GstVideo-1.0.gir b/gir-files/GstVideo-1.0.gir index c74c7165a..34512c392 100644 --- a/gir-files/GstVideo-1.0.gir +++ b/gir-files/GstVideo-1.0.gir @@ -9203,7 +9203,7 @@ mode. a #GstVideoInfo - +