diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2023-11-02 15:10:59 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2023-11-02 15:10:59 +0300 |
commit | 16b917abb10d92096070392e3765affadc5cde29 (patch) | |
tree | adadbcf111cdc98ecb7e2339c6e3b62471172fef /tutorial | |
parent | 436b6d8efbfa0bffc1d9193dbb3ffb0c1be4d718 (diff) |
Update for `gst::Rank` API changes
Diffstat (limited to 'tutorial')
-rw-r--r-- | tutorial/src/identity/mod.rs | 2 | ||||
-rw-r--r-- | tutorial/src/progressbin/mod.rs | 2 | ||||
-rw-r--r-- | tutorial/src/rgb2gray/mod.rs | 2 | ||||
-rw-r--r-- | tutorial/src/sinesrc/mod.rs | 2 | ||||
-rw-r--r-- | tutorial/tutorial-1.md | 4 | ||||
-rw-r--r-- | tutorial/tutorial-2.md | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/tutorial/src/identity/mod.rs b/tutorial/src/identity/mod.rs index 6ff031999..4e4a7da43 100644 --- a/tutorial/src/identity/mod.rs +++ b/tutorial/src/identity/mod.rs @@ -25,7 +25,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "rsidentity", - gst::Rank::None, + gst::Rank::NONE, Identity::static_type(), ) } diff --git a/tutorial/src/progressbin/mod.rs b/tutorial/src/progressbin/mod.rs index 5cb4dcddb..98fd015d0 100644 --- a/tutorial/src/progressbin/mod.rs +++ b/tutorial/src/progressbin/mod.rs @@ -44,7 +44,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "rsprogressbin", - gst::Rank::None, + gst::Rank::NONE, ProgressBin::static_type(), ) } diff --git a/tutorial/src/rgb2gray/mod.rs b/tutorial/src/rgb2gray/mod.rs index 45acdd64d..23f502de7 100644 --- a/tutorial/src/rgb2gray/mod.rs +++ b/tutorial/src/rgb2gray/mod.rs @@ -25,7 +25,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "rsrgb2gray", - gst::Rank::None, + gst::Rank::NONE, Rgb2Gray::static_type(), ) } diff --git a/tutorial/src/sinesrc/mod.rs b/tutorial/src/sinesrc/mod.rs index 7257cf8ae..f51025eba 100644 --- a/tutorial/src/sinesrc/mod.rs +++ b/tutorial/src/sinesrc/mod.rs @@ -25,7 +25,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "rssinesrc", - gst::Rank::None, + gst::Rank::NONE, SineSrc::static_type(), ) } diff --git a/tutorial/tutorial-1.md b/tutorial/tutorial-1.md index e70695789..4845ba415 100644 --- a/tutorial/tutorial-1.md +++ b/tutorial/tutorial-1.md @@ -206,7 +206,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "rsrgb2gray", - gst::Rank::None, + gst::Rank::NONE, Rgb2Gray::static_type(), ) } @@ -315,7 +315,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "rsrgb2gray", - gst::Rank::None, + gst::Rank::NONE, Rgb2Gray::static_type(), ) } diff --git a/tutorial/tutorial-2.md b/tutorial/tutorial-2.md index 97842579e..72f884be3 100644 --- a/tutorial/tutorial-2.md +++ b/tutorial/tutorial-2.md @@ -362,7 +362,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "rssinesrc", - gst::Rank::None, + gst::Rank::NONE, SineSrc::static_type(), ) } |