mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-09-01 01:13:48 +00:00
Regenerate with latest gir / gir-files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1754>
This commit is contained in:
parent
22112569eb
commit
b9ef8f9e7c
69 changed files with 334 additions and 189 deletions
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -88,6 +88,7 @@ pub type GstTensorLayout = c_int;
|
|||
pub const GST_TENSOR_LAYOUT_CONTIGUOUS: GstTensorLayout = 0;
|
||||
|
||||
// Constants
|
||||
pub const GST_CAPS_FEATURE_META_GST_ANALYTICS_BATCH_META: &[u8] = b"meta:GstAnalyticsBatchMeta\0";
|
||||
pub const GST_INF_RELATION_SPAN: c_int = -1;
|
||||
pub const GST_ANALYTICS_MTD_TYPE_ANY: c_int = 0;
|
||||
|
||||
|
@ -103,6 +104,68 @@ pub const GST_ANALYTICS_REL_TYPE_N_TO_N: GstAnalyticsRelTypes = 16;
|
|||
pub const GST_ANALYTICS_REL_TYPE_ANY: GstAnalyticsRelTypes = 2147483647;
|
||||
|
||||
// Records
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub struct GstAnalyticsBatchBuffer {
|
||||
pub sticky_events: *mut *mut gst::GstEvent,
|
||||
pub n_sticky_events: size_t,
|
||||
pub serialized_events: *mut *mut gst::GstEvent,
|
||||
pub n_serialized_events: size_t,
|
||||
pub buffer: *mut gst::GstBuffer,
|
||||
pub buffer_list: *mut gst::GstBufferList,
|
||||
pub padding: [gpointer; 4],
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstAnalyticsBatchBuffer {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAnalyticsBatchBuffer @ {self:p}"))
|
||||
.field("sticky_events", &self.sticky_events)
|
||||
.field("n_sticky_events", &self.n_sticky_events)
|
||||
.field("serialized_events", &self.serialized_events)
|
||||
.field("n_serialized_events", &self.n_serialized_events)
|
||||
.field("buffer", &self.buffer)
|
||||
.field("buffer_list", &self.buffer_list)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub struct GstAnalyticsBatchMeta {
|
||||
pub meta: gst::GstMeta,
|
||||
pub streams: *mut GstAnalyticsBatchStream,
|
||||
pub n_streams: size_t,
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstAnalyticsBatchMeta {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAnalyticsBatchMeta @ {self:p}"))
|
||||
.field("meta", &self.meta)
|
||||
.field("streams", &self.streams)
|
||||
.field("n_streams", &self.n_streams)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub struct GstAnalyticsBatchStream {
|
||||
pub index: c_uint,
|
||||
pub buffers: *mut GstAnalyticsBatchBuffer,
|
||||
pub n_buffers: size_t,
|
||||
pub padding: [gpointer; 4],
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstAnalyticsBatchStream {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAnalyticsBatchStream @ {self:p}"))
|
||||
.field("index", &self.index)
|
||||
.field("buffers", &self.buffers)
|
||||
.field("n_buffers", &self.n_buffers)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub struct GstAnalyticsClsMtd {
|
||||
|
@ -255,6 +318,32 @@ impl ::std::fmt::Debug for GstTensorMeta {
|
|||
|
||||
extern "C" {
|
||||
|
||||
//=========================================================================
|
||||
// GstAnalyticsBatchBuffer
|
||||
//=========================================================================
|
||||
#[cfg(feature = "v1_28")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
|
||||
pub fn gst_analytics_batch_buffer_get_caps(
|
||||
buffer: *mut GstAnalyticsBatchBuffer,
|
||||
) -> *mut gst::GstCaps;
|
||||
#[cfg(feature = "v1_28")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
|
||||
pub fn gst_analytics_batch_buffer_get_segment(
|
||||
buffer: *mut GstAnalyticsBatchBuffer,
|
||||
) -> *const gst::GstSegment;
|
||||
#[cfg(feature = "v1_28")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
|
||||
pub fn gst_analytics_batch_buffer_get_stream_id(
|
||||
buffer: *mut GstAnalyticsBatchBuffer,
|
||||
) -> *const c_char;
|
||||
|
||||
//=========================================================================
|
||||
// GstAnalyticsBatchMeta
|
||||
//=========================================================================
|
||||
#[cfg(feature = "v1_28")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
|
||||
pub fn gst_analytics_batch_meta_get_info() -> *const gst::GstMetaInfo;
|
||||
|
||||
//=========================================================================
|
||||
// GstAnalyticsClsMtd
|
||||
//=========================================================================
|
||||
|
@ -573,6 +662,14 @@ extern "C" {
|
|||
//=========================================================================
|
||||
// Other functions
|
||||
//=========================================================================
|
||||
#[cfg(feature = "v1_28")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
|
||||
pub fn gst_analytics_batch_meta_api_get_type() -> GType;
|
||||
#[cfg(feature = "v1_28")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
|
||||
pub fn gst_buffer_add_analytics_batch_meta(
|
||||
buffer: *mut gst::GstBuffer,
|
||||
) -> *mut GstAnalyticsBatchMeta;
|
||||
pub fn gst_buffer_add_analytics_relation_meta(
|
||||
buffer: *mut gst::GstBuffer,
|
||||
) -> *mut GstAnalyticsRelationMeta;
|
||||
|
@ -583,6 +680,11 @@ extern "C" {
|
|||
#[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;
|
||||
#[cfg(feature = "v1_28")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
|
||||
pub fn gst_buffer_get_analytics_batch_meta(
|
||||
buffer: *mut gst::GstBuffer,
|
||||
) -> *mut GstAnalyticsBatchMeta;
|
||||
pub fn gst_buffer_get_analytics_relation_meta(
|
||||
buffer: *mut gst::GstBuffer,
|
||||
) -> *mut GstAnalyticsRelationMeta;
|
||||
|
|
|
@ -202,6 +202,27 @@ fn get_c_output(name: &str) -> Result<String, Box<dyn Error>> {
|
|||
}
|
||||
|
||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||
(
|
||||
"GstAnalyticsBatchBuffer",
|
||||
Layout {
|
||||
size: size_of::<GstAnalyticsBatchBuffer>(),
|
||||
alignment: align_of::<GstAnalyticsBatchBuffer>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GstAnalyticsBatchMeta",
|
||||
Layout {
|
||||
size: size_of::<GstAnalyticsBatchMeta>(),
|
||||
alignment: align_of::<GstAnalyticsBatchMeta>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GstAnalyticsBatchStream",
|
||||
Layout {
|
||||
size: size_of::<GstAnalyticsBatchStream>(),
|
||||
alignment: align_of::<GstAnalyticsBatchStream>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GstAnalyticsClsMtd",
|
||||
Layout {
|
||||
|
@ -317,6 +338,10 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("(guint) GST_ANALYTICS_REL_TYPE_NONE", "0"),
|
||||
("(guint) GST_ANALYTICS_REL_TYPE_N_TO_N", "16"),
|
||||
("(guint) GST_ANALYTICS_REL_TYPE_RELATE_TO", "8"),
|
||||
(
|
||||
"GST_CAPS_FEATURE_META_GST_ANALYTICS_BATCH_META",
|
||||
"meta:GstAnalyticsBatchMeta",
|
||||
),
|
||||
("GST_INF_RELATION_SPAN", "-1"),
|
||||
("(gint) GST_SEGMENTATION_TYPE_INSTANCE", "1"),
|
||||
("(gint) GST_SEGMENTATION_TYPE_SEMANTIC", "0"),
|
||||
|
|
|
@ -36,6 +36,7 @@ int main() {
|
|||
PRINT_CONSTANT((guint) GST_ANALYTICS_REL_TYPE_NONE);
|
||||
PRINT_CONSTANT((guint) GST_ANALYTICS_REL_TYPE_N_TO_N);
|
||||
PRINT_CONSTANT((guint) GST_ANALYTICS_REL_TYPE_RELATE_TO);
|
||||
PRINT_CONSTANT(GST_CAPS_FEATURE_META_GST_ANALYTICS_BATCH_META);
|
||||
PRINT_CONSTANT(GST_INF_RELATION_SPAN);
|
||||
PRINT_CONSTANT((gint) GST_SEGMENTATION_TYPE_INSTANCE);
|
||||
PRINT_CONSTANT((gint) GST_SEGMENTATION_TYPE_SEMANTIC);
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
printf("%s;%zu;%zu\n", "GstAnalyticsBatchBuffer", sizeof(GstAnalyticsBatchBuffer), alignof(GstAnalyticsBatchBuffer));
|
||||
printf("%s;%zu;%zu\n", "GstAnalyticsBatchMeta", sizeof(GstAnalyticsBatchMeta), alignof(GstAnalyticsBatchMeta));
|
||||
printf("%s;%zu;%zu\n", "GstAnalyticsBatchStream", sizeof(GstAnalyticsBatchStream), alignof(GstAnalyticsBatchStream));
|
||||
printf("%s;%zu;%zu\n", "GstAnalyticsClsMtd", sizeof(GstAnalyticsClsMtd), alignof(GstAnalyticsClsMtd));
|
||||
printf("%s;%zu;%zu\n", "GstAnalyticsMtd", sizeof(GstAnalyticsMtd), alignof(GstAnalyticsMtd));
|
||||
printf("%s;%zu;%zu\n", "GstAnalyticsMtdImpl", sizeof(GstAnalyticsMtdImpl), alignof(GstAnalyticsMtdImpl));
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -220,6 +220,9 @@ pub const GST_GL_DRM_FORMAT_LINEAR_ONLY: GstGLDrmFormatFlags = 2;
|
|||
#[cfg(feature = "v1_26")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
|
||||
pub const GST_GL_DRM_FORMAT_INCLUDE_EMULATED: GstGLDrmFormatFlags = 4;
|
||||
#[cfg(feature = "v1_28")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
|
||||
pub const GST_GL_DRM_FORMAT_DIRECT_IMPORT: GstGLDrmFormatFlags = 8;
|
||||
|
||||
pub type GstGLPlatform = c_uint;
|
||||
pub const GST_GL_PLATFORM_NONE: GstGLPlatform = 0;
|
||||
|
|
|
@ -844,6 +844,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("(guint) GST_GL_DISPLAY_TYPE_WIN32", "8"),
|
||||
("(guint) GST_GL_DISPLAY_TYPE_WINRT", "1024"),
|
||||
("(guint) GST_GL_DISPLAY_TYPE_X11", "1"),
|
||||
("(guint) GST_GL_DRM_FORMAT_DIRECT_IMPORT", "8"),
|
||||
("(guint) GST_GL_DRM_FORMAT_INCLUDE_EMULATED", "4"),
|
||||
("(guint) GST_GL_DRM_FORMAT_INCLUDE_EXTERNAL", "1"),
|
||||
("(guint) GST_GL_DRM_FORMAT_LINEAR_ONLY", "2"),
|
||||
|
|
|
@ -121,6 +121,7 @@ int main() {
|
|||
PRINT_CONSTANT((guint) GST_GL_DISPLAY_TYPE_WIN32);
|
||||
PRINT_CONSTANT((guint) GST_GL_DISPLAY_TYPE_WINRT);
|
||||
PRINT_CONSTANT((guint) GST_GL_DISPLAY_TYPE_X11);
|
||||
PRINT_CONSTANT((guint) GST_GL_DRM_FORMAT_DIRECT_IMPORT);
|
||||
PRINT_CONSTANT((guint) GST_GL_DRM_FORMAT_INCLUDE_EMULATED);
|
||||
PRINT_CONSTANT((guint) GST_GL_DRM_FORMAT_INCLUDE_EXTERNAL);
|
||||
PRINT_CONSTANT((guint) GST_GL_DRM_FORMAT_LINEAR_ONLY);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -104,6 +104,16 @@ impl NetClientClock {
|
|||
ObjectExt::set_property(self, "round-trip-limit", round_trip_limit)
|
||||
}
|
||||
|
||||
#[cfg(feature = "v1_28")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
|
||||
#[doc(alias = "gst_net_client_clock_deinit")]
|
||||
pub fn deinit() {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe {
|
||||
ffi::gst_net_client_clock_deinit();
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(alias = "address")]
|
||||
pub fn connect_address_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
&self,
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -286,6 +286,9 @@ extern "C" {
|
|||
remote_port: c_int,
|
||||
base_time: gst::GstClockTime,
|
||||
) -> *mut gst::GstClock;
|
||||
#[cfg(feature = "v1_28")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
|
||||
pub fn gst_net_client_clock_deinit();
|
||||
|
||||
//=========================================================================
|
||||
// GstNetTimeProvider
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -136,9 +136,9 @@ pub trait RTSPClientExt: IsA<RTSPClient> + 'static {
|
|||
#[doc(alias = "gst_rtsp_client_session_filter")]
|
||||
fn session_filter(
|
||||
&self,
|
||||
func: Option<&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult)>,
|
||||
func: Option<&mut dyn FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult>,
|
||||
) -> Vec<RTSPSession> {
|
||||
let mut func_data: Option<&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult)> =
|
||||
let mut func_data: Option<&mut dyn FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult> =
|
||||
func;
|
||||
unsafe extern "C" fn func_func(
|
||||
client: *mut ffi::GstRTSPClient,
|
||||
|
@ -148,7 +148,7 @@ pub trait RTSPClientExt: IsA<RTSPClient> + 'static {
|
|||
let client = from_glib_borrow(client);
|
||||
let sess = from_glib_borrow(sess);
|
||||
let callback = user_data
|
||||
as *mut Option<&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult)>;
|
||||
as *mut Option<&mut dyn FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult>;
|
||||
if let Some(ref mut callback) = *callback {
|
||||
callback(&client, &sess)
|
||||
} else {
|
||||
|
@ -162,7 +162,7 @@ pub trait RTSPClientExt: IsA<RTSPClient> + 'static {
|
|||
None
|
||||
};
|
||||
let super_callback0: &mut Option<
|
||||
&mut dyn (FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult),
|
||||
&mut dyn FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult,
|
||||
> = &mut func_data;
|
||||
unsafe {
|
||||
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_client_session_filter(
|
||||
|
|
|
@ -65,9 +65,9 @@ pub trait RTSPServerExt: IsA<RTSPServer> + 'static {
|
|||
#[doc(alias = "gst_rtsp_server_client_filter")]
|
||||
fn client_filter(
|
||||
&self,
|
||||
func: Option<&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult)>,
|
||||
func: Option<&mut dyn FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult>,
|
||||
) -> Vec<RTSPClient> {
|
||||
let mut func_data: Option<&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult)> =
|
||||
let mut func_data: Option<&mut dyn FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult> =
|
||||
func;
|
||||
unsafe extern "C" fn func_func(
|
||||
server: *mut ffi::GstRTSPServer,
|
||||
|
@ -77,7 +77,7 @@ pub trait RTSPServerExt: IsA<RTSPServer> + 'static {
|
|||
let server = from_glib_borrow(server);
|
||||
let client = from_glib_borrow(client);
|
||||
let callback = user_data
|
||||
as *mut Option<&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult)>;
|
||||
as *mut Option<&mut dyn FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult>;
|
||||
if let Some(ref mut callback) = *callback {
|
||||
callback(&server, &client)
|
||||
} else {
|
||||
|
@ -91,7 +91,7 @@ pub trait RTSPServerExt: IsA<RTSPServer> + 'static {
|
|||
None
|
||||
};
|
||||
let super_callback0: &mut Option<
|
||||
&mut dyn (FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult),
|
||||
&mut dyn FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult,
|
||||
> = &mut func_data;
|
||||
unsafe {
|
||||
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_server_client_filter(
|
||||
|
|
|
@ -44,10 +44,10 @@ pub trait RTSPSessionExt: IsA<RTSPSession> + 'static {
|
|||
#[doc(alias = "gst_rtsp_session_filter")]
|
||||
fn filter(
|
||||
&self,
|
||||
func: Option<&mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult)>,
|
||||
func: Option<&mut dyn FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult>,
|
||||
) -> Vec<RTSPSessionMedia> {
|
||||
let mut func_data: Option<
|
||||
&mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult),
|
||||
&mut dyn FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult,
|
||||
> = func;
|
||||
unsafe extern "C" fn func_func(
|
||||
sess: *mut ffi::GstRTSPSession,
|
||||
|
@ -57,9 +57,7 @@ pub trait RTSPSessionExt: IsA<RTSPSession> + 'static {
|
|||
let sess = from_glib_borrow(sess);
|
||||
let media = from_glib_borrow(media);
|
||||
let callback = user_data
|
||||
as *mut Option<
|
||||
&mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult),
|
||||
>;
|
||||
as *mut Option<&mut dyn FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult>;
|
||||
if let Some(ref mut callback) = *callback {
|
||||
callback(&sess, &media)
|
||||
} else {
|
||||
|
@ -73,7 +71,7 @@ pub trait RTSPSessionExt: IsA<RTSPSession> + 'static {
|
|||
None
|
||||
};
|
||||
let super_callback0: &mut Option<
|
||||
&mut dyn (FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult),
|
||||
&mut dyn FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult,
|
||||
> = &mut func_data;
|
||||
unsafe {
|
||||
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_session_filter(
|
||||
|
|
|
@ -59,10 +59,10 @@ pub trait RTSPSessionPoolExt: IsA<RTSPSessionPool> + 'static {
|
|||
#[doc(alias = "gst_rtsp_session_pool_filter")]
|
||||
fn filter(
|
||||
&self,
|
||||
func: Option<&mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult)>,
|
||||
func: Option<&mut dyn FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult>,
|
||||
) -> Vec<RTSPSession> {
|
||||
let mut func_data: Option<
|
||||
&mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult),
|
||||
&mut dyn FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult,
|
||||
> = func;
|
||||
unsafe extern "C" fn func_func(
|
||||
pool: *mut ffi::GstRTSPSessionPool,
|
||||
|
@ -72,9 +72,7 @@ pub trait RTSPSessionPoolExt: IsA<RTSPSessionPool> + 'static {
|
|||
let pool = from_glib_borrow(pool);
|
||||
let session = from_glib_borrow(session);
|
||||
let callback = user_data
|
||||
as *mut Option<
|
||||
&mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult),
|
||||
>;
|
||||
as *mut Option<&mut dyn FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult>;
|
||||
if let Some(ref mut callback) = *callback {
|
||||
callback(&pool, &session)
|
||||
} else {
|
||||
|
@ -88,7 +86,7 @@ pub trait RTSPSessionPoolExt: IsA<RTSPSessionPool> + 'static {
|
|||
None
|
||||
};
|
||||
let super_callback0: &mut Option<
|
||||
&mut dyn (FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult),
|
||||
&mut dyn FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult,
|
||||
> = &mut func_data;
|
||||
unsafe {
|
||||
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_session_pool_filter(
|
||||
|
|
|
@ -876,10 +876,10 @@ pub trait RTSPStreamExt: IsA<RTSPStream> + 'static {
|
|||
#[doc(alias = "gst_rtsp_stream_transport_filter")]
|
||||
fn transport_filter(
|
||||
&self,
|
||||
func: Option<&mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult)>,
|
||||
func: Option<&mut dyn FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult>,
|
||||
) -> Vec<RTSPStreamTransport> {
|
||||
let mut func_data: Option<
|
||||
&mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult),
|
||||
&mut dyn FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult,
|
||||
> = func;
|
||||
unsafe extern "C" fn func_func(
|
||||
stream: *mut ffi::GstRTSPStream,
|
||||
|
@ -890,7 +890,7 @@ pub trait RTSPStreamExt: IsA<RTSPStream> + 'static {
|
|||
let trans = from_glib_borrow(trans);
|
||||
let callback = user_data
|
||||
as *mut Option<
|
||||
&mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult),
|
||||
&mut dyn FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult,
|
||||
>;
|
||||
if let Some(ref mut callback) = *callback {
|
||||
callback(&stream, &trans)
|
||||
|
@ -905,7 +905,7 @@ pub trait RTSPStreamExt: IsA<RTSPStream> + 'static {
|
|||
None
|
||||
};
|
||||
let super_callback0: &mut Option<
|
||||
&mut dyn (FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult),
|
||||
&mut dyn FnMut(&RTSPStream, &RTSPStreamTransport) -> RTSPFilterResult,
|
||||
> = &mut func_data;
|
||||
unsafe {
|
||||
FromGlibPtrContainer::from_glib_full(ffi::gst_rtsp_stream_transport_filter(
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 2d0807e9c5bc)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 6668d0f5551a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 1faffc53d7fd)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 115f4ce37044)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ fddf588f73ea)
|
||||
|
|
Loading…
Reference in a new issue