Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2020-12-18 01:44:49 +0300
committerSebastian Dröge <sebastian@centricular.com>2020-12-18 01:44:49 +0300
commitea6c05e16ccf0875652e2370eef4839ae819bc34 (patch)
tree4b61e9ffa44e639304dbbff638512d715c6dbad6 /video/flavors
parent708c6aa57e1dabe35e8304dd878e130501282a7d (diff)
Update everything for glib macro renamings
Diffstat (limited to 'video/flavors')
-rw-r--r--video/flavors/src/flvdemux/imp.rs2
-rw-r--r--video/flavors/src/flvdemux/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/video/flavors/src/flvdemux/imp.rs b/video/flavors/src/flvdemux/imp.rs
index 26efd05d2..5a09d4851 100644
--- a/video/flavors/src/flvdemux/imp.rs
+++ b/video/flavors/src/flvdemux/imp.rs
@@ -129,7 +129,7 @@ impl ObjectSubclass for FlvDemux {
type Instance = gst::subclass::ElementInstanceStruct<Self>;
type Class = subclass::simple::ClassStruct<Self>;
- glib::glib_object_subclass!();
+ glib::object_subclass!();
fn with_class(klass: &Self::Class) -> Self {
let templ = klass.get_pad_template("sink").unwrap();
diff --git a/video/flavors/src/flvdemux/mod.rs b/video/flavors/src/flvdemux/mod.rs
index dc1e341d4..b27abffa7 100644
--- a/video/flavors/src/flvdemux/mod.rs
+++ b/video/flavors/src/flvdemux/mod.rs
@@ -10,7 +10,7 @@ use glib::prelude::*;
mod imp;
-glib::glib_wrapper! {
+glib::wrapper! {
pub struct FlvDemux(ObjectSubclass<imp::FlvDemux>) @extends gst::Element, gst::Object;
}