forked from mirrors/gstreamer-rs
Regenerate with new gir and gir files
This commit is contained in:
parent
1856d47a06
commit
4b8f85c4c6
138 changed files with 1027 additions and 401 deletions
|
@ -463,7 +463,7 @@ doc-stripping:
|
|||
extends: .img-nightly
|
||||
stage: 'extras'
|
||||
script:
|
||||
- PATH=~/.cargo/bin/:$PATH ./generator.py --strip-docs --no-fmt
|
||||
- PATH=~/.cargo/bin/:$PATH ./generator.py --gir-files-directories gir-files gst-gir-files --strip-docs --no-fmt
|
||||
- git diff --quiet || (echo 'Files changed after running `rustdoc-stripper -s`, make sure all documentation is protected with `// rustdoc-stripper-ignore-next`!'; git diff; false)
|
||||
|
||||
docs:
|
||||
|
@ -475,7 +475,7 @@ docs:
|
|||
- curl --proto '=https' --tlsv1.2 -sSf -o gir-rustdoc.py
|
||||
https://gitlab.gnome.org/World/Rust/gir-rustdoc/-/raw/main/gir-rustdoc.py
|
||||
- chmod +x gir-rustdoc.py
|
||||
- PATH=~/.cargo/bin/:$PATH ./generator.py --embed-docs --no-fmt
|
||||
- PATH=~/.cargo/bin/:$PATH ./generator.py --gir-files-directories gir-files gst-gir-files --embed-docs --no-fmt
|
||||
- |
|
||||
RUSTDOCFLAGS="$RUST_DOCS_FLAGS"
|
||||
eval $(./gir-rustdoc.py pre-docs)
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
use glib::object::ObjectExt;
|
||||
use glib::object::ObjectType as ObjectType_;
|
||||
use glib::signal::connect_raw;
|
||||
use glib::signal::SignalHandlerId;
|
||||
|
@ -63,6 +66,13 @@ impl AppSink {
|
|||
unsafe { from_glib(ffi::gst_app_sink_is_eos(self.to_glib_none().0)) }
|
||||
}
|
||||
|
||||
//#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
//#[doc(alias = "gst_app_sink_pull_object")]
|
||||
//pub fn pull_object(&self) -> /*Ignored*/Option<gst::MiniObject> {
|
||||
// unsafe { TODO: call ffi:gst_app_sink_pull_object() }
|
||||
//}
|
||||
|
||||
#[doc(alias = "gst_app_sink_pull_preroll")]
|
||||
pub fn pull_preroll(&self) -> Result<gst::Sample, glib::BoolError> {
|
||||
unsafe {
|
||||
|
@ -124,6 +134,13 @@ impl AppSink {
|
|||
}
|
||||
}
|
||||
|
||||
//#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
//#[doc(alias = "gst_app_sink_try_pull_object")]
|
||||
//pub fn try_pull_object(&self, timeout: impl Into<Option<gst::ClockTime>>) -> /*Ignored*/Option<gst::MiniObject> {
|
||||
// unsafe { TODO: call ffi:gst_app_sink_try_pull_object() }
|
||||
//}
|
||||
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||
#[doc(alias = "gst_app_sink_try_pull_preroll")]
|
||||
|
@ -180,6 +197,42 @@ impl AppSink {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "new-serialized-event")]
|
||||
pub fn connect_new_serialized_event<F: Fn(&Self) -> bool + Send + Sync + 'static>(
|
||||
&self,
|
||||
f: F,
|
||||
) -> SignalHandlerId {
|
||||
unsafe extern "C" fn new_serialized_event_trampoline<
|
||||
F: Fn(&AppSink) -> bool + Send + Sync + 'static,
|
||||
>(
|
||||
this: *mut ffi::GstAppSink,
|
||||
f: glib::ffi::gpointer,
|
||||
) -> glib::ffi::gboolean {
|
||||
let f: &F = &*(f as *const F);
|
||||
f(&from_glib_borrow(this)).into_glib()
|
||||
}
|
||||
unsafe {
|
||||
let f: Box_<F> = Box_::new(f);
|
||||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"new-serialized-event\0".as_ptr() as *const _,
|
||||
Some(transmute::<_, unsafe extern "C" fn()>(
|
||||
new_serialized_event_trampoline::<F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
//#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
//#[doc(alias = "try-pull-object")]
|
||||
//pub fn connect_try_pull_object<Unsupported or ignored types>(&self, f: F) -> SignalHandlerId {
|
||||
// Ignored return value Gst.MiniObject
|
||||
//}
|
||||
|
||||
#[doc(alias = "buffer-list")]
|
||||
pub fn connect_buffer_list_notify<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
&self,
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
@ -43,7 +43,8 @@ pub struct GstAppSinkCallbacks {
|
|||
pub eos: Option<unsafe extern "C" fn(*mut GstAppSink, gpointer)>,
|
||||
pub new_preroll: Option<unsafe extern "C" fn(*mut GstAppSink, gpointer) -> gst::GstFlowReturn>,
|
||||
pub new_sample: Option<unsafe extern "C" fn(*mut GstAppSink, gpointer) -> gst::GstFlowReturn>,
|
||||
pub _gst_reserved: [gpointer; 4],
|
||||
pub new_event: Option<unsafe extern "C" fn(*mut GstAppSink, gpointer) -> gboolean>,
|
||||
pub _gst_reserved: [gpointer; 3],
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstAppSinkCallbacks {
|
||||
|
@ -52,6 +53,7 @@ impl ::std::fmt::Debug for GstAppSinkCallbacks {
|
|||
.field("eos", &self.eos)
|
||||
.field("new_preroll", &self.new_preroll)
|
||||
.field("new_sample", &self.new_sample)
|
||||
.field("new_event", &self.new_event)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -69,7 +71,9 @@ pub struct GstAppSinkClass {
|
|||
Option<unsafe extern "C" fn(*mut GstAppSink, gst::GstClockTime) -> *mut gst::GstSample>,
|
||||
pub try_pull_sample:
|
||||
Option<unsafe extern "C" fn(*mut GstAppSink, gst::GstClockTime) -> *mut gst::GstSample>,
|
||||
pub _gst_reserved: [gpointer; 2],
|
||||
pub try_pull_object:
|
||||
Option<unsafe extern "C" fn(*mut GstAppSink, gst::GstClockTime) -> *mut gst::GstMiniObject>,
|
||||
pub _gst_reserved: [gpointer; 1],
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstAppSinkClass {
|
||||
|
@ -83,6 +87,7 @@ impl ::std::fmt::Debug for GstAppSinkClass {
|
|||
.field("pull_sample", &self.pull_sample)
|
||||
.field("try_pull_preroll", &self.try_pull_preroll)
|
||||
.field("try_pull_sample", &self.try_pull_sample)
|
||||
.field("try_pull_object", &self.try_pull_object)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -209,6 +214,9 @@ extern "C" {
|
|||
pub fn gst_app_sink_get_max_buffers(appsink: *mut GstAppSink) -> c_uint;
|
||||
pub fn gst_app_sink_get_wait_on_eos(appsink: *mut GstAppSink) -> gboolean;
|
||||
pub fn gst_app_sink_is_eos(appsink: *mut GstAppSink) -> gboolean;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn gst_app_sink_pull_object(appsink: *mut GstAppSink) -> *mut gst::GstMiniObject;
|
||||
pub fn gst_app_sink_pull_preroll(appsink: *mut GstAppSink) -> *mut gst::GstSample;
|
||||
pub fn gst_app_sink_pull_sample(appsink: *mut GstAppSink) -> *mut gst::GstSample;
|
||||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
|
@ -225,6 +233,12 @@ extern "C" {
|
|||
pub fn gst_app_sink_set_emit_signals(appsink: *mut GstAppSink, emit: gboolean);
|
||||
pub fn gst_app_sink_set_max_buffers(appsink: *mut GstAppSink, max: c_uint);
|
||||
pub fn gst_app_sink_set_wait_on_eos(appsink: *mut GstAppSink, wait: gboolean);
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn gst_app_sink_try_pull_object(
|
||||
appsink: *mut GstAppSink,
|
||||
timeout: gst::GstClockTime,
|
||||
) -> *mut gst::GstMiniObject;
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||
pub fn gst_app_sink_try_pull_preroll(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_app_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_audio_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_base_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_check_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_controller_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -88,6 +88,11 @@ pub trait TimelineExt: 'static {
|
|||
#[doc(alias = "ges_timeline_commit_sync")]
|
||||
fn commit_sync(&self) -> bool;
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "ges_timeline_freeze_commit")]
|
||||
fn freeze_commit(&self);
|
||||
|
||||
#[doc(alias = "ges_timeline_get_auto_transition")]
|
||||
#[doc(alias = "get_auto_transition")]
|
||||
fn is_auto_transition(&self) -> bool;
|
||||
|
@ -183,6 +188,11 @@ pub trait TimelineExt: 'static {
|
|||
#[doc(alias = "ges_timeline_set_snapping_distance")]
|
||||
fn set_snapping_distance(&self, snapping_distance: gst::ClockTime);
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "ges_timeline_thaw_commit")]
|
||||
fn thaw_commit(&self);
|
||||
|
||||
#[doc(alias = "commited")]
|
||||
fn connect_commited<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
|
||||
|
||||
|
@ -282,6 +292,14 @@ impl<O: IsA<Timeline>> TimelineExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
fn freeze_commit(&self) {
|
||||
unsafe {
|
||||
ffi::ges_timeline_freeze_commit(self.as_ref().to_glib_none().0);
|
||||
}
|
||||
}
|
||||
|
||||
fn is_auto_transition(&self) -> bool {
|
||||
unsafe {
|
||||
from_glib(ffi::ges_timeline_get_auto_transition(
|
||||
|
@ -506,6 +524,14 @@ impl<O: IsA<Timeline>> TimelineExt for O {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
fn thaw_commit(&self) {
|
||||
unsafe {
|
||||
ffi::ges_timeline_thaw_commit(self.as_ref().to_glib_none().0);
|
||||
}
|
||||
}
|
||||
|
||||
fn connect_commited<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId {
|
||||
unsafe extern "C" fn commited_trampoline<P: IsA<Timeline>, F: Fn(&P) + 'static>(
|
||||
this: *mut ffi::GESTimeline,
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
@ -200,6 +200,10 @@ pub const GES_VERSION_MINOR: c_int = 19;
|
|||
pub const GES_VERSION_NANO: c_int = 1;
|
||||
|
||||
// Flags
|
||||
pub type GESMarkerFlags = c_uint;
|
||||
pub const GES_MARKER_FLAG_NONE: GESMarkerFlags = 0;
|
||||
pub const GES_MARKER_FLAG_SNAPPABLE: GESMarkerFlags = 1;
|
||||
|
||||
pub type GESMetaFlag = c_uint;
|
||||
pub const GES_META_READABLE: GESMetaFlag = 1;
|
||||
pub const GES_META_WRITABLE: GESMetaFlag = 2;
|
||||
|
@ -2662,6 +2666,13 @@ extern "C" {
|
|||
//=========================================================================
|
||||
pub fn ges_video_test_pattern_get_type() -> GType;
|
||||
|
||||
//=========================================================================
|
||||
// GESMarkerFlags
|
||||
//=========================================================================
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn ges_marker_flags_get_type() -> GType;
|
||||
|
||||
//=========================================================================
|
||||
// GESMetaFlag
|
||||
//=========================================================================
|
||||
|
@ -3346,6 +3357,9 @@ extern "C" {
|
|||
pub fn ges_timeline_append_layer(timeline: *mut GESTimeline) -> *mut GESLayer;
|
||||
pub fn ges_timeline_commit(timeline: *mut GESTimeline) -> gboolean;
|
||||
pub fn ges_timeline_commit_sync(timeline: *mut GESTimeline) -> gboolean;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn ges_timeline_freeze_commit(timeline: *mut GESTimeline);
|
||||
pub fn ges_timeline_get_auto_transition(timeline: *mut GESTimeline) -> gboolean;
|
||||
pub fn ges_timeline_get_duration(timeline: *mut GESTimeline) -> gst::GstClockTime;
|
||||
pub fn ges_timeline_get_element(
|
||||
|
@ -3410,6 +3424,9 @@ extern "C" {
|
|||
timeline: *mut GESTimeline,
|
||||
snapping_distance: gst::GstClockTime,
|
||||
);
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn ges_timeline_thaw_commit(timeline: *mut GESTimeline);
|
||||
|
||||
//=========================================================================
|
||||
// GESTimelineElement
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_editing_services_sys::*;
|
||||
|
@ -561,6 +561,13 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
|||
alignment: align_of::<GESMarkerClass>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GESMarkerFlags",
|
||||
Layout {
|
||||
size: size_of::<GESMarkerFlags>(),
|
||||
alignment: align_of::<GESMarkerFlags>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GESMarkerListClass",
|
||||
Layout {
|
||||
|
@ -1087,6 +1094,8 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("(gint) GES_ERROR_NEGATIVE_TIME", "5"),
|
||||
("(gint) GES_ERROR_NOT_ENOUGH_INTERNAL_CONTENT", "6"),
|
||||
("GES_FRAME_NUMBER_NONE", "9223372036854775807"),
|
||||
("(guint) GES_MARKER_FLAG_NONE", "0"),
|
||||
("(guint) GES_MARKER_FLAG_SNAPPABLE", "1"),
|
||||
("GES_META_DESCRIPTION", "description"),
|
||||
("GES_META_FORMATTER_EXTENSION", "extension"),
|
||||
("GES_META_FORMATTER_MIMETYPE", "mimetype"),
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
@ -55,6 +55,8 @@ int main() {
|
|||
PRINT_CONSTANT((gint) GES_ERROR_NEGATIVE_TIME);
|
||||
PRINT_CONSTANT((gint) GES_ERROR_NOT_ENOUGH_INTERNAL_CONTENT);
|
||||
PRINT_CONSTANT(GES_FRAME_NUMBER_NONE);
|
||||
PRINT_CONSTANT((guint) GES_MARKER_FLAG_NONE);
|
||||
PRINT_CONSTANT((guint) GES_MARKER_FLAG_SNAPPABLE);
|
||||
PRINT_CONSTANT(GES_META_DESCRIPTION);
|
||||
PRINT_CONSTANT(GES_META_FORMATTER_EXTENSION);
|
||||
PRINT_CONSTANT(GES_META_FORMATTER_MIMETYPE);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
@ -58,6 +58,7 @@ int main() {
|
|||
printf("%s;%zu;%zu\n", "GESLayer", sizeof(GESLayer), alignof(GESLayer));
|
||||
printf("%s;%zu;%zu\n", "GESLayerClass", sizeof(GESLayerClass), alignof(GESLayerClass));
|
||||
printf("%s;%zu;%zu\n", "GESMarkerClass", sizeof(GESMarkerClass), alignof(GESMarkerClass));
|
||||
printf("%s;%zu;%zu\n", "GESMarkerFlags", sizeof(GESMarkerFlags), alignof(GESMarkerFlags));
|
||||
printf("%s;%zu;%zu\n", "GESMarkerListClass", sizeof(GESMarkerListClass), alignof(GESMarkerListClass));
|
||||
printf("%s;%zu;%zu\n", "GESMetaContainerInterface", sizeof(GESMetaContainerInterface), alignof(GESMetaContainerInterface));
|
||||
printf("%s;%zu;%zu\n", "GESMetaFlag", sizeof(GESMetaFlag), alignof(GESMetaFlag));
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_egl_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -118,6 +118,14 @@ pub trait GLWindowExt: 'static {
|
|||
&self,
|
||||
f: F,
|
||||
) -> SignalHandlerId;
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "window-handle-changed")]
|
||||
fn connect_window_handle_changed<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
&self,
|
||||
f: F,
|
||||
) -> SignalHandlerId;
|
||||
}
|
||||
|
||||
impl<O: IsA<GLWindow>> GLWindowExt for O {
|
||||
|
@ -380,4 +388,33 @@ impl<O: IsA<GLWindow>> GLWindowExt for O {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
fn connect_window_handle_changed<F: Fn(&Self) + Send + Sync + 'static>(
|
||||
&self,
|
||||
f: F,
|
||||
) -> SignalHandlerId {
|
||||
unsafe extern "C" fn window_handle_changed_trampoline<
|
||||
P: IsA<GLWindow>,
|
||||
F: Fn(&P) + Send + Sync + 'static,
|
||||
>(
|
||||
this: *mut ffi::GstGLWindow,
|
||||
f: glib::ffi::gpointer,
|
||||
) {
|
||||
let f: &F = &*(f as *const F);
|
||||
f(GLWindow::from_glib_borrow(this).unsafe_cast_ref())
|
||||
}
|
||||
unsafe {
|
||||
let f: Box_<F> = Box_::new(f);
|
||||
connect_raw(
|
||||
self.as_ptr() as *mut _,
|
||||
b"window-handle-changed\0".as_ptr() as *const _,
|
||||
Some(transmute::<_, unsafe extern "C" fn()>(
|
||||
window_handle_changed_trampoline::<Self, F> as *const (),
|
||||
)),
|
||||
Box_::into_raw(f),
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_wayland_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_gl_x11_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_mpegts_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_net_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -23,6 +23,13 @@ pub fn encoding_list_available_categories() -> Vec<glib::GString> {
|
|||
unsafe { FromGlibPtrContainer::from_glib_full(ffi::gst_encoding_list_available_categories()) }
|
||||
}
|
||||
|
||||
//#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
//#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
//#[doc(alias = "gst_pb_utils_get_caps_description_flags")]
|
||||
//pub fn pb_utils_get_caps_description_flags(caps: &gst::Caps) -> /*Ignored*/PbUtilsCapsDescriptionFlags {
|
||||
// unsafe { TODO: call ffi:gst_pb_utils_get_caps_description_flags() }
|
||||
//}
|
||||
|
||||
#[doc(alias = "gst_pb_utils_get_element_description")]
|
||||
pub fn pb_utils_get_element_description(
|
||||
factory_name: &str,
|
||||
|
@ -36,6 +43,18 @@ pub fn pb_utils_get_element_description(
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "gst_pb_utils_get_file_extension_from_caps")]
|
||||
pub fn pb_utils_get_file_extension_from_caps(caps: &gst::Caps) -> Option<glib::GString> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_pb_utils_get_file_extension_from_caps(
|
||||
caps.to_glib_none().0,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
#[doc(alias = "gst_pb_utils_get_sink_description")]
|
||||
pub fn pb_utils_get_sink_description(protocol: &str) -> Result<glib::GString, glib::BoolError> {
|
||||
assert_initialized_main_thread!();
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
@ -88,6 +88,15 @@ pub const GST_DISCOVERER_SERIALIZE_TAGS: GstDiscovererSerializeFlags = 2;
|
|||
pub const GST_DISCOVERER_SERIALIZE_MISC: GstDiscovererSerializeFlags = 4;
|
||||
pub const GST_DISCOVERER_SERIALIZE_ALL: GstDiscovererSerializeFlags = 7;
|
||||
|
||||
pub type GstPbUtilsCapsDescriptionFlags = c_uint;
|
||||
pub const GST_PBUTILS_CAPS_DESCRIPTION_FLAG_CONTAINER: GstPbUtilsCapsDescriptionFlags = 1;
|
||||
pub const GST_PBUTILS_CAPS_DESCRIPTION_FLAG_AUDIO: GstPbUtilsCapsDescriptionFlags = 2;
|
||||
pub const GST_PBUTILS_CAPS_DESCRIPTION_FLAG_VIDEO: GstPbUtilsCapsDescriptionFlags = 4;
|
||||
pub const GST_PBUTILS_CAPS_DESCRIPTION_FLAG_IMAGE: GstPbUtilsCapsDescriptionFlags = 8;
|
||||
pub const GST_PBUTILS_CAPS_DESCRIPTION_FLAG_SUBTITLE: GstPbUtilsCapsDescriptionFlags = 16;
|
||||
pub const GST_PBUTILS_CAPS_DESCRIPTION_FLAG_TAG: GstPbUtilsCapsDescriptionFlags = 32;
|
||||
pub const GST_PBUTILS_CAPS_DESCRIPTION_FLAG_GENERIC: GstPbUtilsCapsDescriptionFlags = 64;
|
||||
|
||||
// Callbacks
|
||||
pub type GstAudioVisualizerShaderFunc = Option<
|
||||
unsafe extern "C" fn(
|
||||
|
@ -364,6 +373,13 @@ extern "C" {
|
|||
//=========================================================================
|
||||
pub fn gst_discoverer_serialize_flags_get_type() -> GType;
|
||||
|
||||
//=========================================================================
|
||||
// GstPbUtilsCapsDescriptionFlags
|
||||
//=========================================================================
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn gst_pb_utils_caps_description_flags_get_type() -> GType;
|
||||
|
||||
//=========================================================================
|
||||
// GstInstallPluginsContext
|
||||
//=========================================================================
|
||||
|
@ -741,6 +757,9 @@ extern "C" {
|
|||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||
pub fn gst_codec_utils_aac_get_sample_rate(audio_config: *const u8, len: c_uint) -> c_uint;
|
||||
pub fn gst_codec_utils_aac_get_sample_rate_from_index(sr_idx: c_uint) -> c_uint;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn gst_codec_utils_caps_get_mime_codec(caps: *mut gst::GstCaps) -> *mut c_char;
|
||||
pub fn gst_codec_utils_h264_caps_set_level_and_profile(
|
||||
caps: *mut gst::GstCaps,
|
||||
sps: *const u8,
|
||||
|
@ -749,6 +768,15 @@ extern "C" {
|
|||
pub fn gst_codec_utils_h264_get_level(sps: *const u8, len: c_uint) -> *const c_char;
|
||||
pub fn gst_codec_utils_h264_get_level_idc(level: *const c_char) -> u8;
|
||||
pub fn gst_codec_utils_h264_get_profile(sps: *const u8, len: c_uint) -> *const c_char;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn gst_codec_utils_h264_get_profile_flags_level(
|
||||
codecs_data: *const u8,
|
||||
len: c_uint,
|
||||
profile: *mut u8,
|
||||
flags: *mut u8,
|
||||
level: *mut u8,
|
||||
) -> gboolean;
|
||||
pub fn gst_codec_utils_h265_caps_set_level_tier_and_profile(
|
||||
caps: *mut gst::GstCaps,
|
||||
profile_tier_level: *const u8,
|
||||
|
@ -875,10 +903,18 @@ extern "C" {
|
|||
codec_tag: *const c_char,
|
||||
caps: *const gst::GstCaps,
|
||||
) -> gboolean;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn gst_pb_utils_get_caps_description_flags(
|
||||
caps: *const gst::GstCaps,
|
||||
) -> GstPbUtilsCapsDescriptionFlags;
|
||||
pub fn gst_pb_utils_get_codec_description(caps: *const gst::GstCaps) -> *mut c_char;
|
||||
pub fn gst_pb_utils_get_decoder_description(caps: *const gst::GstCaps) -> *mut c_char;
|
||||
pub fn gst_pb_utils_get_element_description(factory_name: *const c_char) -> *mut c_char;
|
||||
pub fn gst_pb_utils_get_encoder_description(caps: *const gst::GstCaps) -> *mut c_char;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn gst_pb_utils_get_file_extension_from_caps(caps: *const gst::GstCaps) -> *mut c_char;
|
||||
pub fn gst_pb_utils_get_sink_description(protocol: *const c_char) -> *mut c_char;
|
||||
pub fn gst_pb_utils_get_source_description(protocol: *const c_char) -> *mut c_char;
|
||||
pub fn gst_pb_utils_init();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_pbutils_sys::*;
|
||||
|
@ -316,6 +316,13 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
|||
alignment: align_of::<GstInstallPluginsReturn>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GstPbUtilsCapsDescriptionFlags",
|
||||
Layout {
|
||||
size: size_of::<GstPbUtilsCapsDescriptionFlags>(),
|
||||
alignment: align_of::<GstPbUtilsCapsDescriptionFlags>(),
|
||||
},
|
||||
),
|
||||
];
|
||||
|
||||
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||
|
@ -371,4 +378,11 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("(gint) GST_INSTALL_PLUGINS_STARTED_OK", "200"),
|
||||
("(gint) GST_INSTALL_PLUGINS_SUCCESS", "0"),
|
||||
("(gint) GST_INSTALL_PLUGINS_USER_ABORT", "4"),
|
||||
("(guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_AUDIO", "2"),
|
||||
("(guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_CONTAINER", "1"),
|
||||
("(guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_GENERIC", "64"),
|
||||
("(guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_IMAGE", "8"),
|
||||
("(guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_SUBTITLE", "16"),
|
||||
("(guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_TAG", "32"),
|
||||
("(guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_VIDEO", "4"),
|
||||
];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
@ -66,5 +66,12 @@ int main() {
|
|||
PRINT_CONSTANT((gint) GST_INSTALL_PLUGINS_STARTED_OK);
|
||||
PRINT_CONSTANT((gint) GST_INSTALL_PLUGINS_SUCCESS);
|
||||
PRINT_CONSTANT((gint) GST_INSTALL_PLUGINS_USER_ABORT);
|
||||
PRINT_CONSTANT((guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_AUDIO);
|
||||
PRINT_CONSTANT((guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_CONTAINER);
|
||||
PRINT_CONSTANT((guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_GENERIC);
|
||||
PRINT_CONSTANT((guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_IMAGE);
|
||||
PRINT_CONSTANT((guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_SUBTITLE);
|
||||
PRINT_CONSTANT((guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_TAG);
|
||||
PRINT_CONSTANT((guint) GST_PBUTILS_CAPS_DESCRIPTION_FLAG_VIDEO);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
@ -23,5 +23,6 @@ int main() {
|
|||
printf("%s;%zu;%zu\n", "GstDiscovererVideoInfoClass", sizeof(GstDiscovererVideoInfoClass), alignof(GstDiscovererVideoInfoClass));
|
||||
printf("%s;%zu;%zu\n", "GstEncodingTargetClass", sizeof(GstEncodingTargetClass), alignof(GstEncodingTargetClass));
|
||||
printf("%s;%zu;%zu\n", "GstInstallPluginsReturn", sizeof(GstInstallPluginsReturn), alignof(GstInstallPluginsReturn));
|
||||
printf("%s;%zu;%zu\n", "GstPbUtilsCapsDescriptionFlags", sizeof(GstPbUtilsCapsDescriptionFlags), alignof(GstPbUtilsCapsDescriptionFlags));
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_player_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -131,6 +131,34 @@ pub enum RTCPSDESType {
|
|||
Note,
|
||||
#[doc(alias = "GST_RTCP_SDES_PRIV")]
|
||||
Priv,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "GST_RTCP_SDES_H323_CADDR")]
|
||||
H323Caddr,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "GST_RTCP_SDES_APSI")]
|
||||
Apsi,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "GST_RTCP_SDES_RGRP")]
|
||||
Rgrp,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "GST_RTCP_SDES_RTP_STREAM_ID")]
|
||||
RtpStreamId,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "GST_RTCP_SDES_REPAIRED_RTP_STREAM_ID")]
|
||||
RepairedRtpStreamId,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "GST_RTCP_SDES_CCID")]
|
||||
Ccid,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "GST_RTCP_SDES_MID")]
|
||||
Mid,
|
||||
#[doc(hidden)]
|
||||
__Unknown(i32),
|
||||
}
|
||||
|
@ -151,6 +179,20 @@ impl IntoGlib for RTCPSDESType {
|
|||
Self::Tool => ffi::GST_RTCP_SDES_TOOL,
|
||||
Self::Note => ffi::GST_RTCP_SDES_NOTE,
|
||||
Self::Priv => ffi::GST_RTCP_SDES_PRIV,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
Self::H323Caddr => ffi::GST_RTCP_SDES_H323_CADDR,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
Self::Apsi => ffi::GST_RTCP_SDES_APSI,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
Self::Rgrp => ffi::GST_RTCP_SDES_RGRP,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
Self::RtpStreamId => ffi::GST_RTCP_SDES_RTP_STREAM_ID,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
Self::RepairedRtpStreamId => ffi::GST_RTCP_SDES_REPAIRED_RTP_STREAM_ID,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
Self::Ccid => ffi::GST_RTCP_SDES_CCID,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
Self::Mid => ffi::GST_RTCP_SDES_MID,
|
||||
Self::__Unknown(value) => value,
|
||||
}
|
||||
}
|
||||
|
@ -171,6 +213,20 @@ impl FromGlib<ffi::GstRTCPSDESType> for RTCPSDESType {
|
|||
ffi::GST_RTCP_SDES_TOOL => Self::Tool,
|
||||
ffi::GST_RTCP_SDES_NOTE => Self::Note,
|
||||
ffi::GST_RTCP_SDES_PRIV => Self::Priv,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
ffi::GST_RTCP_SDES_H323_CADDR => Self::H323Caddr,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
ffi::GST_RTCP_SDES_APSI => Self::Apsi,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
ffi::GST_RTCP_SDES_RGRP => Self::Rgrp,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
ffi::GST_RTCP_SDES_RTP_STREAM_ID => Self::RtpStreamId,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
ffi::GST_RTCP_SDES_REPAIRED_RTP_STREAM_ID => Self::RepairedRtpStreamId,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
ffi::GST_RTCP_SDES_CCID => Self::Ccid,
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
ffi::GST_RTCP_SDES_MID => Self::Mid,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
@ -53,6 +53,27 @@ pub const GST_RTCP_SDES_LOC: GstRTCPSDESType = 5;
|
|||
pub const GST_RTCP_SDES_TOOL: GstRTCPSDESType = 6;
|
||||
pub const GST_RTCP_SDES_NOTE: GstRTCPSDESType = 7;
|
||||
pub const GST_RTCP_SDES_PRIV: GstRTCPSDESType = 8;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub const GST_RTCP_SDES_H323_CADDR: GstRTCPSDESType = 9;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub const GST_RTCP_SDES_APSI: GstRTCPSDESType = 10;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub const GST_RTCP_SDES_RGRP: GstRTCPSDESType = 11;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub const GST_RTCP_SDES_RTP_STREAM_ID: GstRTCPSDESType = 12;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub const GST_RTCP_SDES_REPAIRED_RTP_STREAM_ID: GstRTCPSDESType = 13;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub const GST_RTCP_SDES_CCID: GstRTCPSDESType = 14;
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub const GST_RTCP_SDES_MID: GstRTCPSDESType = 15;
|
||||
|
||||
pub type GstRTCPType = c_int;
|
||||
pub const GST_RTCP_TYPE_INVALID: GstRTCPType = 0;
|
||||
|
@ -366,7 +387,7 @@ pub struct GstRTPHeaderExtensionClass {
|
|||
*mut gst::GstBuffer,
|
||||
*mut u8,
|
||||
size_t,
|
||||
) -> size_t,
|
||||
) -> ssize_t,
|
||||
>,
|
||||
pub read: Option<
|
||||
unsafe extern "C" fn(
|
||||
|
@ -1018,6 +1039,9 @@ extern "C" {
|
|||
pub fn gst_rtp_buffer_get_timestamp(rtp: *mut GstRTPBuffer) -> u32;
|
||||
pub fn gst_rtp_buffer_get_version(rtp: *mut GstRTPBuffer) -> u8;
|
||||
pub fn gst_rtp_buffer_pad_to(rtp: *mut GstRTPBuffer, len: c_uint);
|
||||
#[cfg(any(feature = "v1_20", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_20")))]
|
||||
pub fn gst_rtp_buffer_remove_extension_data(rtp: *mut GstRTPBuffer);
|
||||
pub fn gst_rtp_buffer_set_csrc(rtp: *mut GstRTPBuffer, idx: u8, csrc: u32);
|
||||
pub fn gst_rtp_buffer_set_extension(rtp: *mut GstRTPBuffer, extension: gboolean);
|
||||
pub fn gst_rtp_buffer_set_extension_data(
|
||||
|
@ -1344,7 +1368,7 @@ extern "C" {
|
|||
output: *mut gst::GstBuffer,
|
||||
data: *mut u8,
|
||||
size: size_t,
|
||||
) -> size_t;
|
||||
) -> ssize_t;
|
||||
|
||||
//=========================================================================
|
||||
// Other functions
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_rtp_sys::*;
|
||||
|
@ -387,15 +387,22 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("(gint) GST_RTCP_RTPFB_TYPE_TMMBN", "4"),
|
||||
("(gint) GST_RTCP_RTPFB_TYPE_TMMBR", "3"),
|
||||
("(gint) GST_RTCP_RTPFB_TYPE_TWCC", "15"),
|
||||
("(gint) GST_RTCP_SDES_APSI", "10"),
|
||||
("(gint) GST_RTCP_SDES_CCID", "14"),
|
||||
("(gint) GST_RTCP_SDES_CNAME", "1"),
|
||||
("(gint) GST_RTCP_SDES_EMAIL", "3"),
|
||||
("(gint) GST_RTCP_SDES_END", "0"),
|
||||
("(gint) GST_RTCP_SDES_H323_CADDR", "9"),
|
||||
("(gint) GST_RTCP_SDES_INVALID", "-1"),
|
||||
("(gint) GST_RTCP_SDES_LOC", "5"),
|
||||
("(gint) GST_RTCP_SDES_MID", "15"),
|
||||
("(gint) GST_RTCP_SDES_NAME", "2"),
|
||||
("(gint) GST_RTCP_SDES_NOTE", "7"),
|
||||
("(gint) GST_RTCP_SDES_PHONE", "4"),
|
||||
("(gint) GST_RTCP_SDES_PRIV", "8"),
|
||||
("(gint) GST_RTCP_SDES_REPAIRED_RTP_STREAM_ID", "13"),
|
||||
("(gint) GST_RTCP_SDES_RGRP", "11"),
|
||||
("(gint) GST_RTCP_SDES_RTP_STREAM_ID", "12"),
|
||||
("(gint) GST_RTCP_SDES_TOOL", "6"),
|
||||
("(gint) GST_RTCP_TYPE_APP", "204"),
|
||||
("(gint) GST_RTCP_TYPE_BYE", "203"),
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
@ -48,15 +48,22 @@ int main() {
|
|||
PRINT_CONSTANT((gint) GST_RTCP_RTPFB_TYPE_TMMBN);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_RTPFB_TYPE_TMMBR);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_RTPFB_TYPE_TWCC);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_APSI);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_CCID);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_CNAME);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_EMAIL);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_END);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_H323_CADDR);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_INVALID);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_LOC);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_MID);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_NAME);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_NOTE);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_PHONE);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_PRIV);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_REPAIRED_RTP_STREAM_ID);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_RGRP);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_RTP_STREAM_ID);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_SDES_TOOL);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_TYPE_APP);
|
||||
PRINT_CONSTANT((gint) GST_RTCP_TYPE_BYE);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
use gstreamer_rtsp_server_sys::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Generated by gir (https://github.com/gtk-rs/gir @ 3158f69)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 7d95377)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 831b444)
|
||||
// Generated by gir (https://github.com/gtk-rs/gir @ f64f90a)
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files @ 8e47c67)
|
||||
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 0d4f3ae)
|
||||
// DO NOT EDIT
|
||||
|
||||
#include "manual.h"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue