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 /generic | |
parent | 436b6d8efbfa0bffc1d9193dbb3ffb0c1be4d718 (diff) |
Update for `gst::Rank` API changes
Diffstat (limited to 'generic')
20 files changed, 21 insertions, 21 deletions
diff --git a/generic/file/src/filesink/mod.rs b/generic/file/src/filesink/mod.rs index 7d59a2526..eeb186d66 100644 --- a/generic/file/src/filesink/mod.rs +++ b/generic/file/src/filesink/mod.rs @@ -23,7 +23,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "rsfilesink", - gst::Rank::None, + gst::Rank::NONE, FileSink::static_type(), ) } diff --git a/generic/file/src/filesrc/mod.rs b/generic/file/src/filesrc/mod.rs index 15102e34f..c7a9da3cc 100644 --- a/generic/file/src/filesrc/mod.rs +++ b/generic/file/src/filesrc/mod.rs @@ -22,7 +22,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "rsfilesrc", - gst::Rank::None, + gst::Rank::NONE, FileSrc::static_type(), ) } diff --git a/generic/inter/src/sink/mod.rs b/generic/inter/src/sink/mod.rs index e71f7cf35..ca353857f 100644 --- a/generic/inter/src/sink/mod.rs +++ b/generic/inter/src/sink/mod.rs @@ -29,7 +29,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "intersink", - gst::Rank::None, + gst::Rank::NONE, InterSink::static_type(), ) } diff --git a/generic/inter/src/src/mod.rs b/generic/inter/src/src/mod.rs index 4d3f2beb6..46043db93 100644 --- a/generic/inter/src/src/mod.rs +++ b/generic/inter/src/src/mod.rs @@ -28,7 +28,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "intersrc", - gst::Rank::None, + gst::Rank::NONE, InterSrc::static_type(), ) } diff --git a/generic/sodium/src/decrypter/mod.rs b/generic/sodium/src/decrypter/mod.rs index 2ef8e22f5..1706ef81c 100644 --- a/generic/sodium/src/decrypter/mod.rs +++ b/generic/sodium/src/decrypter/mod.rs @@ -35,7 +35,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "sodiumdecrypter", - gst::Rank::None, + gst::Rank::NONE, Decrypter::static_type(), ) } diff --git a/generic/sodium/src/encrypter/mod.rs b/generic/sodium/src/encrypter/mod.rs index ef6722fc9..1ed70729c 100644 --- a/generic/sodium/src/encrypter/mod.rs +++ b/generic/sodium/src/encrypter/mod.rs @@ -35,7 +35,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "sodiumencrypter", - gst::Rank::None, + gst::Rank::NONE, Encrypter::static_type(), ) } diff --git a/generic/sodium/src/lib.rs b/generic/sodium/src/lib.rs index 2189e8474..58fa56bb3 100644 --- a/generic/sodium/src/lib.rs +++ b/generic/sodium/src/lib.rs @@ -46,7 +46,7 @@ fn typefind_register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { TypeFind::register( Some(plugin), "sodium_encrypted_typefind", - gst::Rank::None, + gst::Rank::NONE, None, Some(&Caps::builder("application/x-sodium-encrypted").build()), |typefind| { diff --git a/generic/threadshare/examples/standalone/sink/async_mutex/mod.rs b/generic/threadshare/examples/standalone/sink/async_mutex/mod.rs index 8c711d33e..fe9a66054 100644 --- a/generic/threadshare/examples/standalone/sink/async_mutex/mod.rs +++ b/generic/threadshare/examples/standalone/sink/async_mutex/mod.rs @@ -11,7 +11,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), super::ASYNC_MUTEX_ELEMENT_NAME, - gst::Rank::None, + gst::Rank::NONE, AsyncMutexSink::static_type(), ) } diff --git a/generic/threadshare/examples/standalone/sink/sync_mutex/mod.rs b/generic/threadshare/examples/standalone/sink/sync_mutex/mod.rs index c3bfb4a02..079f74e68 100644 --- a/generic/threadshare/examples/standalone/sink/sync_mutex/mod.rs +++ b/generic/threadshare/examples/standalone/sink/sync_mutex/mod.rs @@ -11,7 +11,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), super::SYNC_MUTEX_ELEMENT_NAME, - gst::Rank::None, + gst::Rank::NONE, DirectSink::static_type(), ) } diff --git a/generic/threadshare/examples/standalone/sink/task/mod.rs b/generic/threadshare/examples/standalone/sink/task/mod.rs index 1dea85a1f..b2c3287be 100644 --- a/generic/threadshare/examples/standalone/sink/task/mod.rs +++ b/generic/threadshare/examples/standalone/sink/task/mod.rs @@ -11,7 +11,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), super::TASK_ELEMENT_NAME, - gst::Rank::None, + gst::Rank::NONE, TaskSink::static_type(), ) } diff --git a/generic/threadshare/examples/standalone/src/mod.rs b/generic/threadshare/examples/standalone/src/mod.rs index 0a2cbcf85..a4238a93c 100644 --- a/generic/threadshare/examples/standalone/src/mod.rs +++ b/generic/threadshare/examples/standalone/src/mod.rs @@ -13,7 +13,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "ts-standalone-src", - gst::Rank::None, + gst::Rank::NONE, TestSrc::static_type(), ) } diff --git a/generic/threadshare/src/appsrc/mod.rs b/generic/threadshare/src/appsrc/mod.rs index 154c8b66e..6c2f6458b 100644 --- a/generic/threadshare/src/appsrc/mod.rs +++ b/generic/threadshare/src/appsrc/mod.rs @@ -31,7 +31,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "ts-appsrc", - gst::Rank::None, + gst::Rank::NONE, AppSrc::static_type(), ) } diff --git a/generic/threadshare/src/audiotestsrc/mod.rs b/generic/threadshare/src/audiotestsrc/mod.rs index fbd16f4f7..f1f249a45 100644 --- a/generic/threadshare/src/audiotestsrc/mod.rs +++ b/generic/threadshare/src/audiotestsrc/mod.rs @@ -11,7 +11,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "ts-audiotestsrc", - gst::Rank::None, + gst::Rank::NONE, AudioTestSrc::static_type(), ) } diff --git a/generic/threadshare/src/inputselector/mod.rs b/generic/threadshare/src/inputselector/mod.rs index e0c8ef719..d08ab8c10 100644 --- a/generic/threadshare/src/inputselector/mod.rs +++ b/generic/threadshare/src/inputselector/mod.rs @@ -30,7 +30,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "ts-input-selector", - gst::Rank::None, + gst::Rank::NONE, InputSelector::static_type(), ) } diff --git a/generic/threadshare/src/jitterbuffer/mod.rs b/generic/threadshare/src/jitterbuffer/mod.rs index 4bf9f5d5c..8ca90a0bf 100644 --- a/generic/threadshare/src/jitterbuffer/mod.rs +++ b/generic/threadshare/src/jitterbuffer/mod.rs @@ -33,7 +33,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "ts-jitterbuffer", - gst::Rank::None, + gst::Rank::NONE, JitterBuffer::static_type(), ) } diff --git a/generic/threadshare/src/proxy/mod.rs b/generic/threadshare/src/proxy/mod.rs index c03110cb0..a0f27126c 100644 --- a/generic/threadshare/src/proxy/mod.rs +++ b/generic/threadshare/src/proxy/mod.rs @@ -34,13 +34,13 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "ts-proxysink", - gst::Rank::None, + gst::Rank::NONE, ProxySink::static_type(), )?; gst::Element::register( Some(plugin), "ts-proxysrc", - gst::Rank::None, + gst::Rank::NONE, ProxySrc::static_type(), ) } diff --git a/generic/threadshare/src/queue/mod.rs b/generic/threadshare/src/queue/mod.rs index 2d872c5b7..96adfd4a3 100644 --- a/generic/threadshare/src/queue/mod.rs +++ b/generic/threadshare/src/queue/mod.rs @@ -30,7 +30,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "ts-queue", - gst::Rank::None, + gst::Rank::NONE, Queue::static_type(), ) } diff --git a/generic/threadshare/src/tcpclientsrc/mod.rs b/generic/threadshare/src/tcpclientsrc/mod.rs index 33669c249..347fc3fda 100644 --- a/generic/threadshare/src/tcpclientsrc/mod.rs +++ b/generic/threadshare/src/tcpclientsrc/mod.rs @@ -31,7 +31,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "ts-tcpclientsrc", - gst::Rank::None, + gst::Rank::NONE, TcpClientSrc::static_type(), ) } diff --git a/generic/threadshare/src/udpsink/mod.rs b/generic/threadshare/src/udpsink/mod.rs index 8305a4ee0..4e82f8862 100644 --- a/generic/threadshare/src/udpsink/mod.rs +++ b/generic/threadshare/src/udpsink/mod.rs @@ -30,7 +30,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "ts-udpsink", - gst::Rank::None, + gst::Rank::NONE, UdpSink::static_type(), ) } diff --git a/generic/threadshare/src/udpsrc/mod.rs b/generic/threadshare/src/udpsrc/mod.rs index 36fa865ba..fe58594dd 100644 --- a/generic/threadshare/src/udpsrc/mod.rs +++ b/generic/threadshare/src/udpsrc/mod.rs @@ -30,7 +30,7 @@ pub fn register(plugin: &gst::Plugin) -> Result<(), glib::BoolError> { gst::Element::register( Some(plugin), "ts-udpsrc", - gst::Rank::None, + gst::Rank::NONE, UdpSrc::static_type(), ) } |