diff --git a/Gir_Gst.toml b/Gir_Gst.toml
index 360b3fe8b..0621bbac7 100644
--- a/Gir_Gst.toml
+++ b/Gir_Gst.toml
@@ -71,6 +71,7 @@ generate = [
"Gst.DebugGraphDetails",
"Gst.ParseFlags",
"Gst.TaskState",
+ "Gst.PluginDependencyFlags",
]
manual = [
@@ -594,6 +595,61 @@ name = "Gst.Plugin"
status = "generate"
trait = false
+ [[object.function]]
+ name = "list_free"
+ # useless and unsafe
+ ignore = true
+
+ [[object.function]]
+ name = "set_cache_data"
+ # pass by value
+ ignore = true
+
+ [[object.function]]
+ name = "get_cache_data"
+ # structure ref
+ ignore = true
+
+ [[object.function]]
+ name = "get_description"
+ [object.function.return]
+ nullable = false
+
+ [[object.function]]
+ name = "get_name"
+ [object.function.return]
+ nullable = false
+
+ [[object.function]]
+ name = "get_license"
+ [object.function.return]
+ nullable = false
+
+ [[object.function]]
+ name = "get_origin"
+ [object.function.return]
+ nullable = false
+
+ [[object.function]]
+ name = "get_package"
+ [object.function.return]
+ nullable = false
+
+ [[object.function]]
+ name = "get_release_date_string"
+ [object.function.return]
+ nullable = false
+
+ [[object.function]]
+ name = "get_source"
+ [object.function.return]
+ nullable = false
+
+ [[object.function]]
+ name = "get_version"
+ [object.function.return]
+ nullable = false
+
[[object]]
name = "Gst.PluginFeature"
status = "generate"
diff --git a/gir-files/Gst-1.0.gir b/gir-files/Gst-1.0.gir
index 99537d013..207d0b51a 100644
--- a/gir-files/Gst-1.0.gir
+++ b/gir-files/Gst-1.0.gir
@@ -29136,7 +29136,9 @@ codec libraries are currently installed.
or %NULL. Environment variable names may be followed by a path component
which will be added to the content of the environment variable, e.g.
"HOME/.mystuff/plugins".
-
+
+
+
allow-none="1">
%NULL-terminated array of directories/paths where dependent files
may be, or %NULL.
-
+
+
+
depending on @flags) to be used in combination with the paths from
@paths and/or the paths extracted from the environment variables in
@env_vars, or %NULL.
-
+
+
+
optional flags, or #GST_PLUGIN_DEPENDENCY_FLAG_NONE
diff --git a/gstreamer/src/auto/flags.rs b/gstreamer/src/auto/flags.rs
index fcfc72c0c..da419d076 100644
--- a/gstreamer/src/auto/flags.rs
+++ b/gstreamer/src/auto/flags.rs
@@ -460,6 +460,57 @@ impl SetValue for ParseFlags {
}
}
+bitflags! {
+ pub struct PluginDependencyFlags: u32 {
+ const NONE = 0;
+ const RECURSE = 1;
+ const PATHS_ARE_DEFAULT_ONLY = 2;
+ const FILE_NAME_IS_SUFFIX = 4;
+ const FILE_NAME_IS_PREFIX = 8;
+ }
+}
+
+#[doc(hidden)]
+impl ToGlib for PluginDependencyFlags {
+ type GlibType = ffi::GstPluginDependencyFlags;
+
+ fn to_glib(&self) -> ffi::GstPluginDependencyFlags {
+ ffi::GstPluginDependencyFlags::from_bits_truncate(self.bits())
+ }
+}
+
+#[doc(hidden)]
+impl FromGlib for PluginDependencyFlags {
+ fn from_glib(value: ffi::GstPluginDependencyFlags) -> PluginDependencyFlags {
+ skip_assert_initialized!();
+ PluginDependencyFlags::from_bits_truncate(value.bits())
+ }
+}
+
+impl StaticType for PluginDependencyFlags {
+ fn static_type() -> Type {
+ unsafe { from_glib(ffi::gst_plugin_dependency_flags_get_type()) }
+ }
+}
+
+impl<'a> FromValueOptional<'a> for PluginDependencyFlags {
+ unsafe fn from_value_optional(value: &Value) -> Option {
+ Some(FromValue::from_value(value))
+ }
+}
+
+impl<'a> FromValue<'a> for PluginDependencyFlags {
+ unsafe fn from_value(value: &Value) -> Self {
+ from_glib(ffi::GstPluginDependencyFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0)))
+ }
+}
+
+impl SetValue for PluginDependencyFlags {
+ unsafe fn set_value(value: &mut Value, this: &Self) {
+ gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits())
+ }
+}
+
bitflags! {
pub struct SchedulingFlags: u32 {
const SEEKABLE = 1;
diff --git a/gstreamer/src/auto/mod.rs b/gstreamer/src/auto/mod.rs
index d71092e6f..38905c3ce 100644
--- a/gstreamer/src/auto/mod.rs
+++ b/gstreamer/src/auto/mod.rs
@@ -151,6 +151,7 @@ pub use self::flags::ElementFlags;
pub use self::flags::PadLinkCheck;
pub use self::flags::PadProbeType;
pub use self::flags::ParseFlags;
+pub use self::flags::PluginDependencyFlags;
pub use self::flags::SchedulingFlags;
pub use self::flags::SeekFlags;
pub use self::flags::SegmentFlags;
diff --git a/gstreamer/src/auto/plugin.rs b/gstreamer/src/auto/plugin.rs
index 42b2cfa57..0c9fe7fc4 100644
--- a/gstreamer/src/auto/plugin.rs
+++ b/gstreamer/src/auto/plugin.rs
@@ -3,7 +3,7 @@
use Error;
use Object;
-use Structure;
+use PluginDependencyFlags;
use ffi;
use glib::translate::*;
use glib_ffi;
@@ -21,21 +21,25 @@ glib_wrapper! {
}
impl Plugin {
- //pub fn add_dependency<'a, 'b, 'c, P: Into