forked from mirrors/gstreamer-rs
Regenerate with latest GStreamer gir files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1435>
This commit is contained in:
parent
87cc9fe6e4
commit
873aeff133
65 changed files with 132 additions and 53 deletions
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -26,6 +26,7 @@ v1_18 = ["v1_16"]
|
|||
v1_20 = ["v1_18"]
|
||||
v1_22 = ["v1_20"]
|
||||
v1_24 = ["v1_22"]
|
||||
v1_26 = ["v1_24"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_audio_sys"
|
||||
|
@ -81,3 +82,6 @@ version = "1.22"
|
|||
|
||||
[package.metadata.system-deps.gstreamer_audio_1_0.v1_24]
|
||||
version = "1.23"
|
||||
|
||||
[package.metadata.system-deps.gstreamer_audio_1_0.v1_26]
|
||||
version = "1.26"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -212,6 +212,7 @@ pub const GST_AUDIO_DEF_FORMAT: &[u8] = b"S16LE\0";
|
|||
pub const GST_AUDIO_DEF_RATE: c_int = 44100;
|
||||
pub const GST_AUDIO_ENCODER_SINK_NAME: &[u8] = b"sink\0";
|
||||
pub const GST_AUDIO_ENCODER_SRC_NAME: &[u8] = b"src\0";
|
||||
pub const GST_AUDIO_FORMAT_LAST: c_int = 32;
|
||||
pub const GST_AUDIO_RATE_RANGE: &[u8] = b"(int) [ 1, max ]\0";
|
||||
pub const GST_AUDIO_RESAMPLER_OPT_CUBIC_B: &[u8] = b"GstAudioResampler.cubic-b\0";
|
||||
pub const GST_AUDIO_RESAMPLER_OPT_CUBIC_C: &[u8] = b"GstAudioResampler.cubic-c\0";
|
||||
|
|
|
@ -769,6 +769,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("(guint) GST_AUDIO_FORMAT_FLAG_INTEGER", "1"),
|
||||
("(guint) GST_AUDIO_FORMAT_FLAG_SIGNED", "4"),
|
||||
("(guint) GST_AUDIO_FORMAT_FLAG_UNPACK", "32"),
|
||||
("GST_AUDIO_FORMAT_LAST", "32"),
|
||||
("(gint) GST_AUDIO_FORMAT_S16", "4"),
|
||||
("(gint) GST_AUDIO_FORMAT_S16BE", "5"),
|
||||
("(gint) GST_AUDIO_FORMAT_S16LE", "4"),
|
||||
|
|
|
@ -117,6 +117,7 @@ int main() {
|
|||
PRINT_CONSTANT((guint) GST_AUDIO_FORMAT_FLAG_INTEGER);
|
||||
PRINT_CONSTANT((guint) GST_AUDIO_FORMAT_FLAG_SIGNED);
|
||||
PRINT_CONSTANT((guint) GST_AUDIO_FORMAT_FLAG_UNPACK);
|
||||
PRINT_CONSTANT(GST_AUDIO_FORMAT_LAST);
|
||||
PRINT_CONSTANT((gint) GST_AUDIO_FORMAT_S16);
|
||||
PRINT_CONSTANT((gint) GST_AUDIO_FORMAT_S16BE);
|
||||
PRINT_CONSTANT((gint) GST_AUDIO_FORMAT_S16LE);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -52,6 +52,28 @@ impl EncodingProfile {
|
|||
})
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "v1_26")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
|
||||
#[doc(alias = "gst_encoding_profile_from_string")]
|
||||
pub fn from_string(string: &str) -> Result<EncodingProfile, glib::BoolError> {
|
||||
assert_initialized_main_thread!();
|
||||
unsafe {
|
||||
Option::<_>::from_glib_full(ffi::gst_encoding_profile_from_string(
|
||||
string.to_glib_none().0,
|
||||
))
|
||||
.ok_or_else(|| glib::bool_error!("Failed to create EncodingProfile from string"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "v1_26")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
|
||||
impl std::fmt::Display for EncodingProfile {
|
||||
#[inline]
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
||||
f.write_str(&EncodingProfileExt::to_str(self))
|
||||
}
|
||||
}
|
||||
|
||||
unsafe impl Send for EncodingProfile {}
|
||||
|
@ -200,6 +222,18 @@ pub trait EncodingProfileExt: IsA<EncodingProfile> + sealed::Sealed + 'static {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "v1_26")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
|
||||
#[doc(alias = "gst_encoding_profile_to_string")]
|
||||
#[doc(alias = "to_string")]
|
||||
fn to_str(&self) -> glib::GString {
|
||||
unsafe {
|
||||
from_glib_full(ffi::gst_encoding_profile_to_string(
|
||||
self.as_ref().to_glib_none().0,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "v1_20")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||
#[doc(alias = "element-properties")]
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -29,6 +29,7 @@ v1_18 = ["v1_16"]
|
|||
v1_20 = ["v1_18"]
|
||||
v1_22 = ["v1_20"]
|
||||
v1_24 = ["v1_22"]
|
||||
v1_26 = ["v1_24"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_pbutils_sys"
|
||||
|
@ -84,3 +85,6 @@ version = "1.22"
|
|||
|
||||
[package.metadata.system-deps.gstreamer_pbutils_1_0.v1_24]
|
||||
version = "1.23"
|
||||
|
||||
[package.metadata.system-deps.gstreamer_pbutils_1_0.v1_26]
|
||||
version = "1.26"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -667,6 +667,9 @@ extern "C" {
|
|||
pub fn gst_encoding_profile_from_discoverer(
|
||||
info: *mut GstDiscovererInfo,
|
||||
) -> *mut GstEncodingProfile;
|
||||
#[cfg(feature = "v1_26")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
|
||||
pub fn gst_encoding_profile_from_string(string: *const c_char) -> *mut GstEncodingProfile;
|
||||
pub fn gst_encoding_profile_copy(self_: *mut GstEncodingProfile) -> *mut GstEncodingProfile;
|
||||
pub fn gst_encoding_profile_get_allow_dynamic_output(
|
||||
profile: *mut GstEncodingProfile,
|
||||
|
@ -736,6 +739,9 @@ extern "C" {
|
|||
profile: *mut GstEncodingProfile,
|
||||
single_segment: gboolean,
|
||||
);
|
||||
#[cfg(feature = "v1_26")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
|
||||
pub fn gst_encoding_profile_to_string(profile: *mut GstEncodingProfile) -> *mut c_char;
|
||||
|
||||
//=========================================================================
|
||||
// GstEncodingTarget
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -141,7 +141,7 @@ pub const GST_RTCP_MAX_SDES: c_int = 255;
|
|||
pub const GST_RTCP_MAX_SDES_ITEM_COUNT: c_int = 31;
|
||||
pub const GST_RTCP_REDUCED_SIZE_VALID_MASK: c_int = 49400;
|
||||
pub const GST_RTCP_VALID_MASK: c_int = 57598;
|
||||
pub const GST_RTCP_VALID_VALUE: c_int = 200;
|
||||
pub const GST_RTCP_VALID_VALUE: c_int = 32968;
|
||||
pub const GST_RTCP_VERSION: c_int = 2;
|
||||
pub const GST_RTP_HDREXT_BASE: &[u8] = b"urn:ietf:params:rtp-hdrext:\0";
|
||||
pub const GST_RTP_HDREXT_ELEMENT_CLASS: &[u8] = b"Network/Extension/RTPHeader\0";
|
||||
|
|
|
@ -412,7 +412,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("(gint) GST_RTCP_TYPE_SR", "200"),
|
||||
("(gint) GST_RTCP_TYPE_XR", "207"),
|
||||
("GST_RTCP_VALID_MASK", "57598"),
|
||||
("GST_RTCP_VALID_VALUE", "200"),
|
||||
("GST_RTCP_VALID_VALUE", "32968"),
|
||||
("GST_RTCP_VERSION", "2"),
|
||||
("(gint) GST_RTCP_XR_TYPE_DLRR", "5"),
|
||||
("(gint) GST_RTCP_XR_TYPE_DRLE", "2"),
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -408,6 +408,10 @@ pub enum NavigationEventType {
|
|||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
|
||||
#[doc(alias = "GST_NAVIGATION_EVENT_TOUCH_CANCEL")]
|
||||
TouchCancel,
|
||||
#[cfg(feature = "v1_26")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
|
||||
#[doc(alias = "GST_NAVIGATION_EVENT_MOUSE_DOUBLE_CLICK")]
|
||||
MouseDoubleClick,
|
||||
#[doc(hidden)]
|
||||
__Unknown(i32),
|
||||
}
|
||||
|
@ -437,6 +441,8 @@ impl IntoGlib for NavigationEventType {
|
|||
Self::TouchFrame => ffi::GST_NAVIGATION_EVENT_TOUCH_FRAME,
|
||||
#[cfg(feature = "v1_22")]
|
||||
Self::TouchCancel => ffi::GST_NAVIGATION_EVENT_TOUCH_CANCEL,
|
||||
#[cfg(feature = "v1_26")]
|
||||
Self::MouseDoubleClick => ffi::GST_NAVIGATION_EVENT_MOUSE_DOUBLE_CLICK,
|
||||
Self::__Unknown(value) => value,
|
||||
}
|
||||
}
|
||||
|
@ -467,6 +473,8 @@ impl FromGlib<ffi::GstNavigationEventType> for NavigationEventType {
|
|||
ffi::GST_NAVIGATION_EVENT_TOUCH_FRAME => Self::TouchFrame,
|
||||
#[cfg(feature = "v1_22")]
|
||||
ffi::GST_NAVIGATION_EVENT_TOUCH_CANCEL => Self::TouchCancel,
|
||||
#[cfg(feature = "v1_26")]
|
||||
ffi::GST_NAVIGATION_EVENT_MOUSE_DOUBLE_CLICK => Self::MouseDoubleClick,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -26,6 +26,7 @@ v1_18 = ["v1_16"]
|
|||
v1_20 = ["v1_18"]
|
||||
v1_22 = ["v1_20"]
|
||||
v1_24 = ["v1_22"]
|
||||
v1_26 = ["v1_24"]
|
||||
|
||||
[lib]
|
||||
name = "gstreamer_video_sys"
|
||||
|
@ -81,3 +82,6 @@ version = "1.22"
|
|||
|
||||
[package.metadata.system-deps.gstreamer_video_1_0.v1_24]
|
||||
version = "1.23"
|
||||
|
||||
[package.metadata.system-deps.gstreamer_video_1_0.v1_26]
|
||||
version = "1.26"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -82,6 +82,9 @@ pub const GST_NAVIGATION_EVENT_TOUCH_FRAME: GstNavigationEventType = 11;
|
|||
#[cfg(feature = "v1_22")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
|
||||
pub const GST_NAVIGATION_EVENT_TOUCH_CANCEL: GstNavigationEventType = 12;
|
||||
#[cfg(feature = "v1_26")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
|
||||
pub const GST_NAVIGATION_EVENT_MOUSE_DOUBLE_CLICK: GstNavigationEventType = 13;
|
||||
|
||||
pub type GstNavigationMessageType = c_int;
|
||||
pub const GST_NAVIGATION_MESSAGE_INVALID: GstNavigationMessageType = 0;
|
||||
|
@ -591,6 +594,7 @@ pub const GST_VIDEO_DECODER_SINK_NAME: &[u8] = b"sink\0";
|
|||
pub const GST_VIDEO_DECODER_SRC_NAME: &[u8] = b"src\0";
|
||||
pub const GST_VIDEO_ENCODER_SINK_NAME: &[u8] = b"sink\0";
|
||||
pub const GST_VIDEO_ENCODER_SRC_NAME: &[u8] = b"src\0";
|
||||
pub const GST_VIDEO_FORMAT_LAST: c_int = 134;
|
||||
pub const GST_VIDEO_FPS_RANGE: &[u8] = b"(fraction) [ 0, max ]\0";
|
||||
pub const GST_VIDEO_MAX_COMPONENTS: c_int = 4;
|
||||
pub const GST_VIDEO_MAX_PLANES: c_int = 4;
|
||||
|
@ -4132,6 +4136,14 @@ extern "C" {
|
|||
y: c_double,
|
||||
state: GstNavigationModifierType,
|
||||
) -> *mut gst::GstEvent;
|
||||
#[cfg(feature = "v1_26")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
|
||||
pub fn gst_navigation_event_new_mouse_double_click(
|
||||
button: c_int,
|
||||
x: c_double,
|
||||
y: c_double,
|
||||
state: GstNavigationModifierType,
|
||||
) -> *mut gst::GstEvent;
|
||||
#[cfg(feature = "v1_22")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
|
||||
pub fn gst_navigation_event_new_mouse_move(
|
||||
|
|
|
@ -1028,6 +1028,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("(gint) GST_NAVIGATION_EVENT_KEY_RELEASE", "2"),
|
||||
("(gint) GST_NAVIGATION_EVENT_MOUSE_BUTTON_PRESS", "3"),
|
||||
("(gint) GST_NAVIGATION_EVENT_MOUSE_BUTTON_RELEASE", "4"),
|
||||
("(gint) GST_NAVIGATION_EVENT_MOUSE_DOUBLE_CLICK", "13"),
|
||||
("(gint) GST_NAVIGATION_EVENT_MOUSE_MOVE", "5"),
|
||||
("(gint) GST_NAVIGATION_EVENT_MOUSE_SCROLL", "7"),
|
||||
("(gint) GST_NAVIGATION_EVENT_TOUCH_CANCEL", "12"),
|
||||
|
@ -1383,6 +1384,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("(gint) GST_VIDEO_FORMAT_I422_12LE", "75"),
|
||||
("(gint) GST_VIDEO_FORMAT_IYU1", "38"),
|
||||
("(gint) GST_VIDEO_FORMAT_IYU2", "63"),
|
||||
("GST_VIDEO_FORMAT_LAST", "134"),
|
||||
("(gint) GST_VIDEO_FORMAT_MT2110R", "116"),
|
||||
("(gint) GST_VIDEO_FORMAT_MT2110T", "115"),
|
||||
("(gint) GST_VIDEO_FORMAT_NV12", "23"),
|
||||
|
|
|
@ -68,6 +68,7 @@ int main() {
|
|||
PRINT_CONSTANT((gint) GST_NAVIGATION_EVENT_KEY_RELEASE);
|
||||
PRINT_CONSTANT((gint) GST_NAVIGATION_EVENT_MOUSE_BUTTON_PRESS);
|
||||
PRINT_CONSTANT((gint) GST_NAVIGATION_EVENT_MOUSE_BUTTON_RELEASE);
|
||||
PRINT_CONSTANT((gint) GST_NAVIGATION_EVENT_MOUSE_DOUBLE_CLICK);
|
||||
PRINT_CONSTANT((gint) GST_NAVIGATION_EVENT_MOUSE_MOVE);
|
||||
PRINT_CONSTANT((gint) GST_NAVIGATION_EVENT_MOUSE_SCROLL);
|
||||
PRINT_CONSTANT((gint) GST_NAVIGATION_EVENT_TOUCH_CANCEL);
|
||||
|
@ -333,6 +334,7 @@ int main() {
|
|||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_I422_12LE);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_IYU1);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_IYU2);
|
||||
PRINT_CONSTANT(GST_VIDEO_FORMAT_LAST);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_MT2110R);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_MT2110T);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_NV12);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 5223ce91b97a)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 65efc10e7109)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ bca9723cb3e5)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ ef822845ed24)
|
||||
|
|
Loading…
Reference in a new issue