From 46ead1f36cb7b2b524708200edcef445326680ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 13 Nov 2024 17:02:43 +0200 Subject: [PATCH] Regenerate with latest gir / gst-gir-files Part-of: --- gstreamer-allocators/src/auto/versions.txt | 4 +- .../sys/src/auto/versions.txt | 4 +- gstreamer-analytics/src/auto/versions.txt | 4 +- gstreamer-analytics/sys/src/auto/versions.txt | 4 +- gstreamer-analytics/sys/src/lib.rs | 145 ++++++++++++++++++ gstreamer-analytics/sys/tests/abi.rs | 60 ++++++++ gstreamer-analytics/sys/tests/constant.c | 18 +++ gstreamer-analytics/sys/tests/layout.c | 6 + gstreamer-app/src/auto/versions.txt | 4 +- gstreamer-app/sys/src/auto/versions.txt | 4 +- gstreamer-audio/src/auto/versions.txt | 4 +- gstreamer-audio/sys/src/auto/versions.txt | 4 +- gstreamer-base/src/auto/versions.txt | 4 +- gstreamer-base/sys/src/auto/versions.txt | 4 +- gstreamer-check/src/auto/versions.txt | 4 +- gstreamer-check/sys/src/auto/versions.txt | 4 +- gstreamer-controller/src/auto/versions.txt | 4 +- .../sys/src/auto/versions.txt | 4 +- .../src/auto/versions.txt | 4 +- .../sys/src/auto/versions.txt | 4 +- gstreamer-gl/egl/src/auto/versions.txt | 4 +- gstreamer-gl/egl/sys/src/auto/versions.txt | 4 +- gstreamer-gl/src/auto/versions.txt | 4 +- gstreamer-gl/sys/src/auto/versions.txt | 4 +- gstreamer-gl/wayland/src/auto/versions.txt | 4 +- .../wayland/sys/src/auto/versions.txt | 4 +- gstreamer-gl/x11/src/auto/versions.txt | 4 +- gstreamer-gl/x11/sys/src/auto/versions.txt | 4 +- gstreamer-mpegts/src/auto/versions.txt | 4 +- gstreamer-mpegts/sys/src/auto/versions.txt | 4 +- gstreamer-net/src/auto/versions.txt | 4 +- gstreamer-net/sys/src/auto/versions.txt | 4 +- gstreamer-pbutils/src/auto/versions.txt | 4 +- gstreamer-pbutils/sys/src/auto/versions.txt | 4 +- gstreamer-play/src/auto/enums.rs | 55 +++++++ gstreamer-play/src/auto/versions.txt | 4 +- gstreamer-play/sys/src/auto/versions.txt | 4 +- gstreamer-play/sys/src/lib.rs | 18 +++ gstreamer-player/src/auto/versions.txt | 4 +- gstreamer-player/sys/src/auto/versions.txt | 4 +- gstreamer-rtp/src/auto/versions.txt | 4 +- gstreamer-rtp/sys/src/auto/versions.txt | 4 +- .../src/auto/rtsp_stream_transport.rs | 63 +++++++- gstreamer-rtsp-server/src/auto/versions.txt | 4 +- .../sys/src/auto/versions.txt | 4 +- gstreamer-rtsp/src/auto/versions.txt | 4 +- gstreamer-rtsp/sys/src/auto/versions.txt | 4 +- gstreamer-sdp/src/auto/versions.txt | 4 +- gstreamer-sdp/sys/src/auto/versions.txt | 4 +- gstreamer-tag/sys/src/auto/versions.txt | 4 +- gstreamer-tag/sys/src/lib.rs | 1 + gstreamer-tag/sys/tests/abi.rs | 1 + gstreamer-tag/sys/tests/constant.c | 1 + gstreamer-validate/src/auto/scenario.rs | 27 ++++ gstreamer-validate/src/auto/versions.txt | 4 +- gstreamer-validate/sys/src/auto/versions.txt | 4 +- gstreamer-video/src/auto/enums.rs | 8 + gstreamer-video/src/auto/versions.txt | 4 +- gstreamer-video/sys/src/auto/versions.txt | 4 +- gstreamer-video/sys/src/lib.rs | 5 +- gstreamer-video/sys/tests/abi.rs | 3 +- gstreamer-video/sys/tests/constant.c | 1 + gstreamer-webrtc/src/auto/versions.txt | 4 +- gstreamer-webrtc/sys/src/auto/versions.txt | 4 +- gstreamer/src/auto/versions.txt | 4 +- gstreamer/sys/src/auto/versions.txt | 4 +- 66 files changed, 508 insertions(+), 108 deletions(-) diff --git a/gstreamer-allocators/src/auto/versions.txt b/gstreamer-allocators/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-allocators/src/auto/versions.txt +++ b/gstreamer-allocators/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-allocators/sys/src/auto/versions.txt b/gstreamer-allocators/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-allocators/sys/src/auto/versions.txt +++ b/gstreamer-allocators/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-analytics/src/auto/versions.txt b/gstreamer-analytics/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-analytics/src/auto/versions.txt +++ b/gstreamer-analytics/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-analytics/sys/src/auto/versions.txt b/gstreamer-analytics/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-analytics/sys/src/auto/versions.txt +++ b/gstreamer-analytics/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-analytics/sys/src/lib.rs b/gstreamer-analytics/sys/src/lib.rs index edf1ac543..fed96b543 100644 --- a/gstreamer-analytics/sys/src/lib.rs +++ b/gstreamer-analytics/sys/src/lib.rs @@ -36,6 +36,30 @@ pub type GstSegmentationType = c_int; pub const GST_SEGMENTATION_TYPE_SEMANTIC: GstSegmentationType = 0; pub const GST_SEGMENTATION_TYPE_INSTANCE: GstSegmentationType = 1; +pub type GstTensorDataType = c_int; +pub const GST_TENSOR_DATA_TYPE_INT4: GstTensorDataType = 0; +pub const GST_TENSOR_DATA_TYPE_INT8: GstTensorDataType = 1; +pub const GST_TENSOR_DATA_TYPE_INT16: GstTensorDataType = 2; +pub const GST_TENSOR_DATA_TYPE_INT32: GstTensorDataType = 3; +pub const GST_TENSOR_DATA_TYPE_INT64: GstTensorDataType = 4; +pub const GST_TENSOR_DATA_TYPE_UINT4: GstTensorDataType = 5; +pub const GST_TENSOR_DATA_TYPE_UINT8: GstTensorDataType = 6; +pub const GST_TENSOR_DATA_TYPE_UINT16: GstTensorDataType = 7; +pub const GST_TENSOR_DATA_TYPE_UINT32: GstTensorDataType = 8; +pub const GST_TENSOR_DATA_TYPE_UINT64: GstTensorDataType = 9; +pub const GST_TENSOR_DATA_TYPE_FLOAT16: GstTensorDataType = 10; +pub const GST_TENSOR_DATA_TYPE_FLOAT32: GstTensorDataType = 11; +pub const GST_TENSOR_DATA_TYPE_FLOAT64: GstTensorDataType = 12; +pub const GST_TENSOR_DATA_TYPE_BFLOAT16: GstTensorDataType = 13; + +pub type GstTensorDimOrder = c_int; +pub const GST_TENSOR_DIM_ORDER_ROW_MAJOR: GstTensorDimOrder = 0; +pub const GST_TENSOR_DIM_ORDER_COL_MAJOR: GstTensorDimOrder = 1; +pub const GST_TENSOR_DIM_ORDER_INDEXED: GstTensorDimOrder = 2; + +pub type GstTensorLayout = c_int; +pub const GST_TENSOR_LAYOUT_STRIDED: GstTensorLayout = 0; + // Constants pub const GST_INF_RELATION_SPAN: c_int = -1; pub const GST_ANALYTICS_MTD_TYPE_ANY: c_int = 0; @@ -182,6 +206,68 @@ impl ::std::fmt::Debug for GstAnalyticsTrackingMtd { } } +#[repr(C)] +#[allow(dead_code)] +pub struct GstTensor { + pub id: glib::GQuark, + pub layout: GstTensorLayout, + pub data_type: GstTensorDataType, + pub batch_size: size_t, + pub data: *mut gst::GstBuffer, + pub dims_order: GstTensorDimOrder, + pub num_dims: size_t, + _truncated_record_marker: c_void, + // /*Ignored*/field dims has empty c:type +} + +impl ::std::fmt::Debug for GstTensor { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!("GstTensor @ {self:p}")) + .field("id", &self.id) + .field("layout", &self.layout) + .field("data_type", &self.data_type) + .field("batch_size", &self.batch_size) + .field("data", &self.data) + .field("dims_order", &self.dims_order) + .field("num_dims", &self.num_dims) + .finish() + } +} + +#[derive(Copy, Clone)] +#[repr(C)] +pub struct GstTensorDim { + pub size: size_t, + pub order_index: size_t, +} + +impl ::std::fmt::Debug for GstTensorDim { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!("GstTensorDim @ {self:p}")) + .field("size", &self.size) + .field("order_index", &self.order_index) + .finish() + } +} + +#[derive(Copy, Clone)] +#[repr(C)] +pub struct GstTensorMeta { + pub meta: gst::GstMeta, + pub num_tensors: size_t, + pub tensors: *mut *mut GstTensor, +} + +impl ::std::fmt::Debug for GstTensorMeta { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!("GstTensorMeta @ {self:p}")) + .field("meta", &self.meta) + .field("num_tensors", &self.num_tensors) + .field("tensors", &self.tensors) + .finish() + } +} + extern "C" { //========================================================================= @@ -391,6 +477,56 @@ extern "C" { ) -> gboolean; pub fn gst_analytics_tracking_mtd_get_mtd_type() -> GstAnalyticsMtdType; + //========================================================================= + // GstTensor + //========================================================================= + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_tensor_get_type() -> GType; + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_tensor_alloc(num_dims: size_t) -> *mut GstTensor; + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_tensor_new_simple( + id: glib::GQuark, + data_type: GstTensorDataType, + batch_size: size_t, + data: *mut gst::GstBuffer, + dims_order: GstTensorDimOrder, + num_dims: size_t, + dims: *mut size_t, + ) -> *mut GstTensor; + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_tensor_copy(tensor: *const GstTensor) -> *mut GstTensor; + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_tensor_free(tensor: *mut GstTensor); + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_tensor_get_dims(tensor: *mut GstTensor, num_dims: *mut size_t) -> *mut GstTensorDim; + + //========================================================================= + // GstTensorMeta + //========================================================================= + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_tensor_meta_get(tmeta: *mut GstTensorMeta, index: size_t) -> *const GstTensor; + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_tensor_meta_get_index_from_id(meta: *mut GstTensorMeta, id: glib::GQuark) -> c_int; + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_tensor_meta_set( + tmeta: *mut GstTensorMeta, + num_tensors: c_uint, + tensors: *mut *mut GstTensor, + ); + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_tensor_meta_get_info() -> *const gst::GstMetaInfo; + //========================================================================= // Other functions //========================================================================= @@ -401,10 +537,19 @@ extern "C" { buffer: *mut gst::GstBuffer, init_params: *mut GstAnalyticsRelationMetaInitParams, ) -> *mut GstAnalyticsRelationMeta; + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_buffer_add_tensor_meta(buffer: *mut gst::GstBuffer) -> *mut GstTensorMeta; pub fn gst_buffer_get_analytics_relation_meta( buffer: *mut gst::GstBuffer, ) -> *mut GstAnalyticsRelationMeta; + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_buffer_get_tensor_meta(buffer: *mut gst::GstBuffer) -> *mut GstTensorMeta; pub fn gst_analytics_relation_get_length(instance: *const GstAnalyticsRelationMeta) -> size_t; pub fn gst_analytics_relation_meta_api_get_type() -> GType; + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_tensor_meta_api_get_type() -> GType; } diff --git a/gstreamer-analytics/sys/tests/abi.rs b/gstreamer-analytics/sys/tests/abi.rs index 41779222b..dfe01a4c7 100644 --- a/gstreamer-analytics/sys/tests/abi.rs +++ b/gstreamer-analytics/sys/tests/abi.rs @@ -272,6 +272,48 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[ alignment: align_of::(), }, ), + ( + "GstTensor", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), + ( + "GstTensorDataType", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), + ( + "GstTensorDim", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), + ( + "GstTensorDimOrder", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), + ( + "GstTensorLayout", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), + ( + "GstTensorMeta", + Layout { + size: size_of::(), + alignment: align_of::(), + }, + ), ]; const RUST_CONSTANTS: &[(&str, &str)] = &[ @@ -285,4 +327,22 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("GST_INF_RELATION_SPAN", "-1"), ("(gint) GST_SEGMENTATION_TYPE_INSTANCE", "1"), ("(gint) GST_SEGMENTATION_TYPE_SEMANTIC", "0"), + ("(gint) GST_TENSOR_DATA_TYPE_BFLOAT16", "13"), + ("(gint) GST_TENSOR_DATA_TYPE_FLOAT16", "10"), + ("(gint) GST_TENSOR_DATA_TYPE_FLOAT32", "11"), + ("(gint) GST_TENSOR_DATA_TYPE_FLOAT64", "12"), + ("(gint) GST_TENSOR_DATA_TYPE_INT16", "2"), + ("(gint) GST_TENSOR_DATA_TYPE_INT32", "3"), + ("(gint) GST_TENSOR_DATA_TYPE_INT4", "0"), + ("(gint) GST_TENSOR_DATA_TYPE_INT64", "4"), + ("(gint) GST_TENSOR_DATA_TYPE_INT8", "1"), + ("(gint) GST_TENSOR_DATA_TYPE_UINT16", "7"), + ("(gint) GST_TENSOR_DATA_TYPE_UINT32", "8"), + ("(gint) GST_TENSOR_DATA_TYPE_UINT4", "5"), + ("(gint) GST_TENSOR_DATA_TYPE_UINT64", "9"), + ("(gint) GST_TENSOR_DATA_TYPE_UINT8", "6"), + ("(gint) GST_TENSOR_DIM_ORDER_COL_MAJOR", "1"), + ("(gint) GST_TENSOR_DIM_ORDER_INDEXED", "2"), + ("(gint) GST_TENSOR_DIM_ORDER_ROW_MAJOR", "0"), + ("(gint) GST_TENSOR_LAYOUT_STRIDED", "0"), ]; diff --git a/gstreamer-analytics/sys/tests/constant.c b/gstreamer-analytics/sys/tests/constant.c index 2d874e48f..9f59fcc77 100644 --- a/gstreamer-analytics/sys/tests/constant.c +++ b/gstreamer-analytics/sys/tests/constant.c @@ -39,5 +39,23 @@ int main() { PRINT_CONSTANT(GST_INF_RELATION_SPAN); PRINT_CONSTANT((gint) GST_SEGMENTATION_TYPE_INSTANCE); PRINT_CONSTANT((gint) GST_SEGMENTATION_TYPE_SEMANTIC); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_BFLOAT16); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_FLOAT16); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_FLOAT32); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_FLOAT64); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_INT16); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_INT32); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_INT4); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_INT64); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_INT8); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_UINT16); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_UINT32); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_UINT4); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_UINT64); + PRINT_CONSTANT((gint) GST_TENSOR_DATA_TYPE_UINT8); + PRINT_CONSTANT((gint) GST_TENSOR_DIM_ORDER_COL_MAJOR); + PRINT_CONSTANT((gint) GST_TENSOR_DIM_ORDER_INDEXED); + PRINT_CONSTANT((gint) GST_TENSOR_DIM_ORDER_ROW_MAJOR); + PRINT_CONSTANT((gint) GST_TENSOR_LAYOUT_STRIDED); return 0; } diff --git a/gstreamer-analytics/sys/tests/layout.c b/gstreamer-analytics/sys/tests/layout.c index 0406b4212..b3f500cf8 100644 --- a/gstreamer-analytics/sys/tests/layout.c +++ b/gstreamer-analytics/sys/tests/layout.c @@ -18,5 +18,11 @@ int main() { printf("%s;%zu;%zu\n", "GstAnalyticsSegmentationMtd", sizeof(GstAnalyticsSegmentationMtd), alignof(GstAnalyticsSegmentationMtd)); printf("%s;%zu;%zu\n", "GstAnalyticsTrackingMtd", sizeof(GstAnalyticsTrackingMtd), alignof(GstAnalyticsTrackingMtd)); printf("%s;%zu;%zu\n", "GstSegmentationType", sizeof(GstSegmentationType), alignof(GstSegmentationType)); + printf("%s;%zu;%zu\n", "GstTensor", sizeof(GstTensor), alignof(GstTensor)); + printf("%s;%zu;%zu\n", "GstTensorDataType", sizeof(GstTensorDataType), alignof(GstTensorDataType)); + printf("%s;%zu;%zu\n", "GstTensorDim", sizeof(GstTensorDim), alignof(GstTensorDim)); + printf("%s;%zu;%zu\n", "GstTensorDimOrder", sizeof(GstTensorDimOrder), alignof(GstTensorDimOrder)); + printf("%s;%zu;%zu\n", "GstTensorLayout", sizeof(GstTensorLayout), alignof(GstTensorLayout)); + printf("%s;%zu;%zu\n", "GstTensorMeta", sizeof(GstTensorMeta), alignof(GstTensorMeta)); return 0; } diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-app/src/auto/versions.txt +++ b/gstreamer-app/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-app/sys/src/auto/versions.txt b/gstreamer-app/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-app/sys/src/auto/versions.txt +++ b/gstreamer-app/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-audio/src/auto/versions.txt +++ b/gstreamer-audio/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-audio/sys/src/auto/versions.txt b/gstreamer-audio/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-audio/sys/src/auto/versions.txt +++ b/gstreamer-audio/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-base/src/auto/versions.txt +++ b/gstreamer-base/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-base/sys/src/auto/versions.txt b/gstreamer-base/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-base/sys/src/auto/versions.txt +++ b/gstreamer-base/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-check/src/auto/versions.txt +++ b/gstreamer-check/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-check/sys/src/auto/versions.txt b/gstreamer-check/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-check/sys/src/auto/versions.txt +++ b/gstreamer-check/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-controller/src/auto/versions.txt +++ b/gstreamer-controller/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-controller/sys/src/auto/versions.txt b/gstreamer-controller/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-controller/sys/src/auto/versions.txt +++ b/gstreamer-controller/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-editing-services/src/auto/versions.txt +++ b/gstreamer-editing-services/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-editing-services/sys/src/auto/versions.txt b/gstreamer-editing-services/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-editing-services/sys/src/auto/versions.txt +++ b/gstreamer-editing-services/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-gl/egl/src/auto/versions.txt +++ b/gstreamer-gl/egl/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-gl/egl/sys/src/auto/versions.txt b/gstreamer-gl/egl/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-gl/egl/sys/src/auto/versions.txt +++ b/gstreamer-gl/egl/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-gl/src/auto/versions.txt +++ b/gstreamer-gl/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-gl/sys/src/auto/versions.txt b/gstreamer-gl/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-gl/sys/src/auto/versions.txt +++ b/gstreamer-gl/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-gl/wayland/src/auto/versions.txt +++ b/gstreamer-gl/wayland/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-gl/wayland/sys/src/auto/versions.txt b/gstreamer-gl/wayland/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-gl/wayland/sys/src/auto/versions.txt +++ b/gstreamer-gl/wayland/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-gl/x11/src/auto/versions.txt +++ b/gstreamer-gl/x11/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-gl/x11/sys/src/auto/versions.txt b/gstreamer-gl/x11/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-gl/x11/sys/src/auto/versions.txt +++ b/gstreamer-gl/x11/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-mpegts/src/auto/versions.txt b/gstreamer-mpegts/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-mpegts/src/auto/versions.txt +++ b/gstreamer-mpegts/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-mpegts/sys/src/auto/versions.txt b/gstreamer-mpegts/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-mpegts/sys/src/auto/versions.txt +++ b/gstreamer-mpegts/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-net/src/auto/versions.txt +++ b/gstreamer-net/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-net/sys/src/auto/versions.txt b/gstreamer-net/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-net/sys/src/auto/versions.txt +++ b/gstreamer-net/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-pbutils/src/auto/versions.txt +++ b/gstreamer-pbutils/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-pbutils/sys/src/auto/versions.txt b/gstreamer-pbutils/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-pbutils/sys/src/auto/versions.txt +++ b/gstreamer-pbutils/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-play/src/auto/enums.rs b/gstreamer-play/src/auto/enums.rs index 526a1b52a..6ad6fab09 100644 --- a/gstreamer-play/src/auto/enums.rs +++ b/gstreamer-play/src/auto/enums.rs @@ -309,6 +309,20 @@ impl PlayMessage { } } + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + #[doc(alias = "gst_play_message_parse_buffering")] + pub fn parse_buffering(msg: &gst::Message) -> u32 { + assert_initialized_main_thread!(); + unsafe { + let mut percent = std::mem::MaybeUninit::uninit(); + ffi::gst_play_message_parse_buffering(msg.to_glib_none().0, percent.as_mut_ptr()); + percent.assume_init() + } + } + + #[cfg_attr(feature = "v1_26", deprecated = "Since 1.26")] + #[allow(deprecated)] #[doc(alias = "gst_play_message_parse_buffering_percent")] pub fn parse_buffering_percent(msg: &gst::Message) -> u32 { assert_initialized_main_thread!(); @@ -322,6 +336,23 @@ impl PlayMessage { } } + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + #[doc(alias = "gst_play_message_parse_duration_changed")] + pub fn parse_duration_changed(msg: &gst::Message) -> Option { + assert_initialized_main_thread!(); + unsafe { + let mut duration = std::mem::MaybeUninit::uninit(); + ffi::gst_play_message_parse_duration_changed( + msg.to_glib_none().0, + duration.as_mut_ptr(), + ); + from_glib(duration.assume_init()) + } + } + + #[cfg_attr(feature = "v1_26", deprecated = "Since 1.26")] + #[allow(deprecated)] #[doc(alias = "gst_play_message_parse_duration_updated")] pub fn parse_duration_updated(msg: &gst::Message) -> Option { assert_initialized_main_thread!(); @@ -379,6 +410,18 @@ impl PlayMessage { } } + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + #[doc(alias = "gst_play_message_parse_seek_done")] + pub fn parse_seek_done(msg: &gst::Message) -> Option { + assert_initialized_main_thread!(); + unsafe { + let mut position = std::mem::MaybeUninit::uninit(); + ffi::gst_play_message_parse_seek_done(msg.to_glib_none().0, position.as_mut_ptr()); + from_glib(position.assume_init()) + } + } + #[doc(alias = "gst_play_message_parse_state_changed")] pub fn parse_state_changed(msg: &gst::Message) -> PlayState { assert_initialized_main_thread!(); @@ -399,6 +442,18 @@ impl PlayMessage { } } + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + #[doc(alias = "gst_play_message_parse_uri_loaded")] + pub fn parse_uri_loaded(msg: &gst::Message) -> glib::GString { + assert_initialized_main_thread!(); + unsafe { + let mut uri = std::ptr::null_mut(); + ffi::gst_play_message_parse_uri_loaded(msg.to_glib_none().0, &mut uri); + from_glib_full(uri) + } + } + #[doc(alias = "gst_play_message_parse_video_dimensions_changed")] pub fn parse_video_dimensions_changed(msg: &gst::Message) -> (u32, u32) { assert_initialized_main_thread!(); diff --git a/gstreamer-play/src/auto/versions.txt b/gstreamer-play/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-play/src/auto/versions.txt +++ b/gstreamer-play/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-play/sys/src/auto/versions.txt b/gstreamer-play/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-play/sys/src/auto/versions.txt +++ b/gstreamer-play/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-play/sys/src/lib.rs b/gstreamer-play/sys/src/lib.rs index c3b006b6e..393e541ff 100644 --- a/gstreamer-play/sys/src/lib.rs +++ b/gstreamer-play/sys/src/lib.rs @@ -321,10 +321,19 @@ extern "C" { //========================================================================= pub fn gst_play_message_get_type() -> GType; pub fn gst_play_message_get_name(message_type: GstPlayMessage) -> *const c_char; + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_play_message_parse_buffering(msg: *mut gst::GstMessage, percent: *mut c_uint); pub fn gst_play_message_parse_buffering_percent( msg: *mut gst::GstMessage, percent: *mut c_uint, ); + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_play_message_parse_duration_changed( + msg: *mut gst::GstMessage, + duration: *mut gst::GstClockTime, + ); pub fn gst_play_message_parse_duration_updated( msg: *mut gst::GstMessage, duration: *mut gst::GstClockTime, @@ -343,11 +352,20 @@ extern "C" { msg: *mut gst::GstMessage, position: *mut gst::GstClockTime, ); + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_play_message_parse_seek_done( + msg: *mut gst::GstMessage, + position: *mut gst::GstClockTime, + ); pub fn gst_play_message_parse_state_changed( msg: *mut gst::GstMessage, state: *mut GstPlayState, ); pub fn gst_play_message_parse_type(msg: *mut gst::GstMessage, type_: *mut GstPlayMessage); + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + pub fn gst_play_message_parse_uri_loaded(msg: *mut gst::GstMessage, uri: *mut *mut c_char); pub fn gst_play_message_parse_video_dimensions_changed( msg: *mut gst::GstMessage, width: *mut c_uint, diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-player/src/auto/versions.txt +++ b/gstreamer-player/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-player/sys/src/auto/versions.txt b/gstreamer-player/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-player/sys/src/auto/versions.txt +++ b/gstreamer-player/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-rtp/src/auto/versions.txt +++ b/gstreamer-rtp/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-rtp/sys/src/auto/versions.txt b/gstreamer-rtp/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-rtp/sys/src/auto/versions.txt +++ b/gstreamer-rtp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs index 5436145fd..7defca6f8 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs @@ -156,10 +156,65 @@ pub trait RTSPStreamTransportExt: IsA + 'static { } } - //#[doc(alias = "gst_rtsp_stream_transport_set_callbacks")] - //fn set_callbacks bool + 'static, Q: Fn(&gst::Buffer, u8) -> bool + 'static>(&self, send_rtp: P, send_rtcp: Q) { - // unsafe { TODO: call ffi:gst_rtsp_stream_transport_set_callbacks() } - //} + #[doc(alias = "gst_rtsp_stream_transport_set_callbacks")] + fn set_callbacks< + P: Fn(&gst::Buffer, u8) -> bool + 'static, + Q: Fn(&gst::Buffer, u8) -> bool + 'static, + >( + &self, + send_rtp: P, + send_rtcp: Q, + ) { + let send_rtp_data: P = send_rtp; + unsafe extern "C" fn send_rtp_func< + P: Fn(&gst::Buffer, u8) -> bool + 'static, + Q: Fn(&gst::Buffer, u8) -> bool + 'static, + >( + buffer: *mut gst::ffi::GstBuffer, + channel: u8, + user_data: glib::ffi::gpointer, + ) -> glib::ffi::gboolean { + let buffer = from_glib_borrow(buffer); + let callback: &Box_<(P, Q)> = &*(user_data as *mut _); + let callback = &callback.0; + (*callback)(&buffer, channel).into_glib() + } + let send_rtp = Some(send_rtp_func:: as _); + let send_rtcp_data: Q = send_rtcp; + unsafe extern "C" fn send_rtcp_func< + P: Fn(&gst::Buffer, u8) -> bool + 'static, + Q: Fn(&gst::Buffer, u8) -> bool + 'static, + >( + buffer: *mut gst::ffi::GstBuffer, + channel: u8, + user_data: glib::ffi::gpointer, + ) -> glib::ffi::gboolean { + let buffer = from_glib_borrow(buffer); + let callback: &Box_<(P, Q)> = &*(user_data as *mut _); + let callback = &callback.1; + (*callback)(&buffer, channel).into_glib() + } + let send_rtcp = Some(send_rtcp_func:: as _); + unsafe extern "C" fn notify_func< + P: Fn(&gst::Buffer, u8) -> bool + 'static, + Q: Fn(&gst::Buffer, u8) -> bool + 'static, + >( + data: glib::ffi::gpointer, + ) { + let _callback: Box_<(P, Q)> = Box_::from_raw(data as *mut _); + } + let destroy_call4 = Some(notify_func:: as _); + let super_callback0: Box_<(P, Q)> = Box_::new((send_rtp_data, send_rtcp_data)); + unsafe { + ffi::gst_rtsp_stream_transport_set_callbacks( + self.as_ref().to_glib_none().0, + send_rtp, + send_rtcp, + Box_::into_raw(super_callback0) as *mut _, + destroy_call4, + ); + } + } #[doc(alias = "gst_rtsp_stream_transport_set_keepalive")] fn set_keepalive(&self, keep_alive: P) { diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-rtsp-server/src/auto/versions.txt +++ b/gstreamer-rtsp-server/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-rtsp-server/sys/src/auto/versions.txt b/gstreamer-rtsp-server/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-rtsp-server/sys/src/auto/versions.txt +++ b/gstreamer-rtsp-server/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-rtsp/src/auto/versions.txt +++ b/gstreamer-rtsp/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-rtsp/sys/src/auto/versions.txt b/gstreamer-rtsp/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-rtsp/sys/src/auto/versions.txt +++ b/gstreamer-rtsp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-sdp/src/auto/versions.txt +++ b/gstreamer-sdp/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-sdp/sys/src/auto/versions.txt b/gstreamer-sdp/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-sdp/sys/src/auto/versions.txt +++ b/gstreamer-sdp/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-tag/sys/src/auto/versions.txt b/gstreamer-tag/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-tag/sys/src/auto/versions.txt +++ b/gstreamer-tag/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-tag/sys/src/lib.rs b/gstreamer-tag/sys/src/lib.rs index 58ca88c51..4fcf85f7e 100644 --- a/gstreamer-tag/sys/src/lib.rs +++ b/gstreamer-tag/sys/src/lib.rs @@ -72,6 +72,7 @@ pub const GST_TAG_CAPTURING_FOCAL_LENGTH_35_MM: &[u8] = b"capturing-focal-length pub const GST_TAG_CAPTURING_FOCAL_RATIO: &[u8] = b"capturing-focal-ratio\0"; pub const GST_TAG_CAPTURING_GAIN_ADJUSTMENT: &[u8] = b"capturing-gain-adjustment\0"; pub const GST_TAG_CAPTURING_ISO_SPEED: &[u8] = b"capturing-iso-speed\0"; +pub const GST_TAG_CAPTURING_LIGHT_SOURCE: &[u8] = b"capturing-light-source\0"; pub const GST_TAG_CAPTURING_METERING_MODE: &[u8] = b"capturing-metering-mode\0"; pub const GST_TAG_CAPTURING_SATURATION: &[u8] = b"capturing-saturation\0"; pub const GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE: &[u8] = b"capturing-scene-capture-type\0"; diff --git a/gstreamer-tag/sys/tests/abi.rs b/gstreamer-tag/sys/tests/abi.rs index 191954ca4..439b09207 100644 --- a/gstreamer-tag/sys/tests/abi.rs +++ b/gstreamer-tag/sys/tests/abi.rs @@ -290,6 +290,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ "capturing-gain-adjustment", ), ("GST_TAG_CAPTURING_ISO_SPEED", "capturing-iso-speed"), + ("GST_TAG_CAPTURING_LIGHT_SOURCE", "capturing-light-source"), ("GST_TAG_CAPTURING_METERING_MODE", "capturing-metering-mode"), ("GST_TAG_CAPTURING_SATURATION", "capturing-saturation"), ( diff --git a/gstreamer-tag/sys/tests/constant.c b/gstreamer-tag/sys/tests/constant.c index 998cf32a8..ceb26d462 100644 --- a/gstreamer-tag/sys/tests/constant.c +++ b/gstreamer-tag/sys/tests/constant.c @@ -43,6 +43,7 @@ int main() { PRINT_CONSTANT(GST_TAG_CAPTURING_FOCAL_RATIO); PRINT_CONSTANT(GST_TAG_CAPTURING_GAIN_ADJUSTMENT); PRINT_CONSTANT(GST_TAG_CAPTURING_ISO_SPEED); + PRINT_CONSTANT(GST_TAG_CAPTURING_LIGHT_SOURCE); PRINT_CONSTANT(GST_TAG_CAPTURING_METERING_MODE); PRINT_CONSTANT(GST_TAG_CAPTURING_SATURATION); PRINT_CONSTANT(GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE); diff --git a/gstreamer-validate/src/auto/scenario.rs b/gstreamer-validate/src/auto/scenario.rs index 1ddbcf68e..391adbfa6 100644 --- a/gstreamer-validate/src/auto/scenario.rs +++ b/gstreamer-validate/src/auto/scenario.rs @@ -159,6 +159,33 @@ pub trait ScenarioExt: IsA + 'static { } } + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + #[doc(alias = "stopping")] + fn connect_stopping(&self, f: F) -> SignalHandlerId { + unsafe extern "C" fn stopping_trampoline< + P: IsA, + F: Fn(&P) + Send + Sync + 'static, + >( + this: *mut ffi::GstValidateScenario, + f: glib::ffi::gpointer, + ) { + let f: &F = &*(f as *const F); + f(Scenario::from_glib_borrow(this).unsafe_cast_ref()) + } + unsafe { + let f: Box_ = Box_::new(f); + connect_raw( + self.as_ptr() as *mut _, + b"stopping\0".as_ptr() as *const _, + Some(std::mem::transmute::<*const (), unsafe extern "C" fn()>( + stopping_trampoline:: as *const (), + )), + Box_::into_raw(f), + ) + } + } + #[doc(alias = "execute-on-idle")] fn connect_execute_on_idle_notify( &self, diff --git a/gstreamer-validate/src/auto/versions.txt b/gstreamer-validate/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-validate/src/auto/versions.txt +++ b/gstreamer-validate/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-validate/sys/src/auto/versions.txt b/gstreamer-validate/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-validate/sys/src/auto/versions.txt +++ b/gstreamer-validate/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-video/src/auto/enums.rs b/gstreamer-video/src/auto/enums.rs index 8279352f1..045eca029 100644 --- a/gstreamer-video/src/auto/enums.rs +++ b/gstreamer-video/src/auto/enums.rs @@ -2587,6 +2587,10 @@ pub enum VideoFormat { #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] #[doc(alias = "GST_VIDEO_FORMAT_Y416_BE")] Y416Be, + #[cfg(feature = "v1_26")] + #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] + #[doc(alias = "GST_VIDEO_FORMAT_GRAY10_LE16")] + Gray10Le16, #[doc(hidden)] __Unknown(i32), } @@ -2825,6 +2829,8 @@ impl IntoGlib for VideoFormat { Self::Y416Le => ffi::GST_VIDEO_FORMAT_Y416_LE, #[cfg(feature = "v1_26")] Self::Y416Be => ffi::GST_VIDEO_FORMAT_Y416_BE, + #[cfg(feature = "v1_26")] + Self::Gray10Le16 => ffi::GST_VIDEO_FORMAT_GRAY10_LE16, Self::__Unknown(value) => value, } } @@ -3031,6 +3037,8 @@ impl FromGlib for VideoFormat { ffi::GST_VIDEO_FORMAT_Y416_LE => Self::Y416Le, #[cfg(feature = "v1_26")] ffi::GST_VIDEO_FORMAT_Y416_BE => Self::Y416Be, + #[cfg(feature = "v1_26")] + ffi::GST_VIDEO_FORMAT_GRAY10_LE16 => Self::Gray10Le16, value => Self::__Unknown(value), } } diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-video/src/auto/versions.txt +++ b/gstreamer-video/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-video/sys/src/auto/versions.txt b/gstreamer-video/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-video/sys/src/auto/versions.txt +++ b/gstreamer-video/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-video/sys/src/lib.rs b/gstreamer-video/sys/src/lib.rs index 4c9a4437c..d0284cfd5 100644 --- a/gstreamer-video/sys/src/lib.rs +++ b/gstreamer-video/sys/src/lib.rs @@ -420,6 +420,9 @@ pub const GST_VIDEO_FORMAT_Y416_LE: GstVideoFormat = 136; #[cfg(feature = "v1_26")] #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] pub const GST_VIDEO_FORMAT_Y416_BE: GstVideoFormat = 137; +#[cfg(feature = "v1_26")] +#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))] +pub const GST_VIDEO_FORMAT_GRAY10_LE16: GstVideoFormat = 138; pub type GstVideoGLTextureOrientation = c_int; pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL: GstVideoGLTextureOrientation = 0; @@ -607,7 +610,7 @@ pub const GST_VIDEO_DECODER_SINK_NAME: &[u8] = b"sink\0"; pub const GST_VIDEO_DECODER_SRC_NAME: &[u8] = b"src\0"; pub const GST_VIDEO_ENCODER_SINK_NAME: &[u8] = b"sink\0"; pub const GST_VIDEO_ENCODER_SRC_NAME: &[u8] = b"src\0"; -pub const GST_VIDEO_FORMAT_LAST: c_int = 138; +pub const GST_VIDEO_FORMAT_LAST: c_int = 139; pub const GST_VIDEO_FPS_RANGE: &[u8] = b"(fraction) [ 0, max ]\0"; pub const GST_VIDEO_MAX_COMPONENTS: c_int = 4; pub const GST_VIDEO_MAX_PLANES: c_int = 4; diff --git a/gstreamer-video/sys/tests/abi.rs b/gstreamer-video/sys/tests/abi.rs index e4116e1c6..832c16f8d 100644 --- a/gstreamer-video/sys/tests/abi.rs +++ b/gstreamer-video/sys/tests/abi.rs @@ -1369,6 +1369,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("(gint) GST_VIDEO_FORMAT_GBR_12LE", "69"), ("(gint) GST_VIDEO_FORMAT_GBR_16BE", "132"), ("(gint) GST_VIDEO_FORMAT_GBR_16LE", "131"), + ("(gint) GST_VIDEO_FORMAT_GRAY10_LE16", "138"), ("(gint) GST_VIDEO_FORMAT_GRAY10_LE32", "78"), ("(gint) GST_VIDEO_FORMAT_GRAY16_BE", "26"), ("(gint) GST_VIDEO_FORMAT_GRAY16_LE", "27"), @@ -1384,7 +1385,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[ ("(gint) GST_VIDEO_FORMAT_I422_12LE", "75"), ("(gint) GST_VIDEO_FORMAT_IYU1", "38"), ("(gint) GST_VIDEO_FORMAT_IYU2", "63"), - ("GST_VIDEO_FORMAT_LAST", "138"), + ("GST_VIDEO_FORMAT_LAST", "139"), ("(gint) GST_VIDEO_FORMAT_MT2110R", "116"), ("(gint) GST_VIDEO_FORMAT_MT2110T", "115"), ("(gint) GST_VIDEO_FORMAT_NV12", "23"), diff --git a/gstreamer-video/sys/tests/constant.c b/gstreamer-video/sys/tests/constant.c index 53853ffaa..1c1108c93 100644 --- a/gstreamer-video/sys/tests/constant.c +++ b/gstreamer-video/sys/tests/constant.c @@ -319,6 +319,7 @@ int main() { PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GBR_12LE); PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GBR_16BE); PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GBR_16LE); + PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GRAY10_LE16); PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GRAY10_LE32); PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GRAY16_BE); PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_GRAY16_LE); diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-webrtc/src/auto/versions.txt +++ b/gstreamer-webrtc/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer-webrtc/sys/src/auto/versions.txt b/gstreamer-webrtc/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer-webrtc/sys/src/auto/versions.txt +++ b/gstreamer-webrtc/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer/src/auto/versions.txt +++ b/gstreamer/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2) diff --git a/gstreamer/sys/src/auto/versions.txt b/gstreamer/sys/src/auto/versions.txt index 4e9bd1482..0bd429bcf 100644 --- a/gstreamer/sys/src/auto/versions.txt +++ b/gstreamer/sys/src/auto/versions.txt @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05) +Generated by gir (https://github.com/gtk-rs/gir @ a49194361243) from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 05cc12709e2f) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 5e1587dfbcd2)