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

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/text
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-11-02 15:10:59 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-11-02 15:10:59 +0300
commit16b917abb10d92096070392e3765affadc5cde29 (patch)
treeadadbcf111cdc98ecb7e2339c6e3b62471172fef /text
parent436b6d8efbfa0bffc1d9193dbb3ffb0c1be4d718 (diff)
Update for `gst::Rank` API changes
Diffstat (limited to 'text')
-rw-r--r--text/ahead/src/textahead/mod.rs2
-rw-r--r--text/json/src/jsongstenc/mod.rs2
-rw-r--r--text/json/src/jsongstparse/mod.rs2
-rw-r--r--text/regex/src/gstregex/mod.rs2
-rw-r--r--text/wrap/src/gsttextwrap/mod.rs2
5 files changed, 5 insertions, 5 deletions
diff --git a/text/ahead/src/textahead/mod.rs b/text/ahead/src/textahead/mod.rs
index 106111ad..bb99f03b 100644
--- a/text/ahead/src/textahead/mod.rs
+++ b/text/ahead/src/textahead/mod.rs
@@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"textahead",
- gst::Rank::Primary,
+ gst::Rank::PRIMARY,
TextAhead::static_type(),
)
}
diff --git a/text/json/src/jsongstenc/mod.rs b/text/json/src/jsongstenc/mod.rs
index f469b432..90476f78 100644
--- a/text/json/src/jsongstenc/mod.rs
+++ b/text/json/src/jsongstenc/mod.rs
@@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"jsongstenc",
- gst::Rank::None,
+ gst::Rank::NONE,
JsonGstEnc::static_type(),
)
}
diff --git a/text/json/src/jsongstparse/mod.rs b/text/json/src/jsongstparse/mod.rs
index 5a466f48..d098c5ac 100644
--- a/text/json/src/jsongstparse/mod.rs
+++ b/text/json/src/jsongstparse/mod.rs
@@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"jsongstparse",
- gst::Rank::Primary,
+ gst::Rank::PRIMARY,
JsonGstParse::static_type(),
)
}
diff --git a/text/regex/src/gstregex/mod.rs b/text/regex/src/gstregex/mod.rs
index 02b84cb6..494878ef 100644
--- a/text/regex/src/gstregex/mod.rs
+++ b/text/regex/src/gstregex/mod.rs
@@ -16,5 +16,5 @@ glib::wrapper! {
}
pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
- gst::Element::register(Some(plugin), "regex", gst::Rank::None, RegEx::static_type())
+ gst::Element::register(Some(plugin), "regex", gst::Rank::NONE, RegEx::static_type())
}
diff --git a/text/wrap/src/gsttextwrap/mod.rs b/text/wrap/src/gsttextwrap/mod.rs
index 173c74a3..ff6dcd97 100644
--- a/text/wrap/src/gsttextwrap/mod.rs
+++ b/text/wrap/src/gsttextwrap/mod.rs
@@ -19,7 +19,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
gst::Element::register(
Some(plugin),
"textwrap",
- gst::Rank::None,
+ gst::Rank::NONE,
TextWrap::static_type(),
)
}