mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +00:00
Update gstreamer-video
This commit is contained in:
parent
033a391f89
commit
6bd63ec8e7
6 changed files with 25 additions and 5 deletions
|
@ -31,6 +31,7 @@ optional = true
|
||||||
[features]
|
[features]
|
||||||
v1_10 = ["gstreamer-sys/v1_10", "gstreamer-video-sys/v1_10"]
|
v1_10 = ["gstreamer-sys/v1_10", "gstreamer-video-sys/v1_10"]
|
||||||
v1_12 = ["gstreamer-sys/v1_12", "gstreamer-video-sys/v1_12", "v1_10"]
|
v1_12 = ["gstreamer-sys/v1_12", "gstreamer-video-sys/v1_12", "v1_10"]
|
||||||
|
v1_14 = ["gstreamer-sys/v1_14", "gstreamer-video-sys/v1_14", "v1_12"]
|
||||||
embed-lgpl-docs = ["rustdoc-stripper"]
|
embed-lgpl-docs = ["rustdoc-stripper"]
|
||||||
purge-lgpl-docs = ["rustdoc-stripper"]
|
purge-lgpl-docs = ["rustdoc-stripper"]
|
||||||
dox = ["gstreamer-video-sys/dox", "glib/dox", "gstreamer/dox"]
|
dox = ["gstreamer-video-sys/dox", "glib/dox", "gstreamer/dox"]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -309,6 +309,9 @@ pub enum VideoFormat {
|
||||||
I42212le,
|
I42212le,
|
||||||
Y44412be,
|
Y44412be,
|
||||||
Y44412le,
|
Y44412le,
|
||||||
|
Gray10Le32,
|
||||||
|
Nv1210le32,
|
||||||
|
Nv1610le32,
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
__Unknown(i32),
|
__Unknown(i32),
|
||||||
}
|
}
|
||||||
|
@ -397,6 +400,9 @@ impl ToGlib for VideoFormat {
|
||||||
VideoFormat::I42212le => ffi::GST_VIDEO_FORMAT_I422_12LE,
|
VideoFormat::I42212le => ffi::GST_VIDEO_FORMAT_I422_12LE,
|
||||||
VideoFormat::Y44412be => ffi::GST_VIDEO_FORMAT_Y444_12BE,
|
VideoFormat::Y44412be => ffi::GST_VIDEO_FORMAT_Y444_12BE,
|
||||||
VideoFormat::Y44412le => ffi::GST_VIDEO_FORMAT_Y444_12LE,
|
VideoFormat::Y44412le => ffi::GST_VIDEO_FORMAT_Y444_12LE,
|
||||||
|
VideoFormat::Gray10Le32 => ffi::GST_VIDEO_FORMAT_GRAY10_LE32,
|
||||||
|
VideoFormat::Nv1210le32 => ffi::GST_VIDEO_FORMAT_NV12_10LE32,
|
||||||
|
VideoFormat::Nv1610le32 => ffi::GST_VIDEO_FORMAT_NV16_10LE32,
|
||||||
VideoFormat::__Unknown(value) => value
|
VideoFormat::__Unknown(value) => value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -485,6 +491,9 @@ impl FromGlib<ffi::GstVideoFormat> for VideoFormat {
|
||||||
75 => VideoFormat::I42212le,
|
75 => VideoFormat::I42212le,
|
||||||
76 => VideoFormat::Y44412be,
|
76 => VideoFormat::Y44412be,
|
||||||
77 => VideoFormat::Y44412le,
|
77 => VideoFormat::Y44412le,
|
||||||
|
78 => VideoFormat::Gray10Le32,
|
||||||
|
79 => VideoFormat::Nv1210le32,
|
||||||
|
80 => VideoFormat::Nv1610le32,
|
||||||
value => VideoFormat::__Unknown(value),
|
value => VideoFormat::__Unknown(value),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ d1e0127)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -19,6 +19,16 @@ glib_wrapper! {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl VideoOverlay {
|
||||||
|
//pub fn install_properties(oclass: /*Ignored*/&mut glib::ObjectClass, last_prop_id: i32) {
|
||||||
|
// unsafe { TODO: call ffi::gst_video_overlay_install_properties() }
|
||||||
|
//}
|
||||||
|
|
||||||
|
//pub fn set_property<P: IsA<glib::Object>>(object: &P, last_prop_id: i32, property_id: u32, value: /*Ignored*/&glib::Value) -> bool {
|
||||||
|
// unsafe { TODO: call ffi::gst_video_overlay_set_property() }
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
|
||||||
unsafe impl Send for VideoOverlay {}
|
unsafe impl Send for VideoOverlay {}
|
||||||
unsafe impl Sync for VideoOverlay {}
|
unsafe impl Sync for VideoOverlay {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue