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
path: root/utils
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>2023-10-24 22:28:04 +0300
committerJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>2023-10-25 12:03:14 +0300
commit01386b845178e85f4fe1795e4652e5aa0a942657 (patch)
treefdbe3196076bbf7b3dd91405ba34a8c1049c6bf4 /utils
parentd27a04e0675b3ce9b2f5b885dd3a5a0b04ee7b47 (diff)
livesync: Rename activatemode methods to *_activatemode
This matches the other plugins. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1369>
Diffstat (limited to 'utils')
-rw-r--r--utils/livesync/src/livesync/imp.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/livesync/src/livesync/imp.rs b/utils/livesync/src/livesync/imp.rs
index a06bf4ace..72d54573c 100644
--- a/utils/livesync/src/livesync/imp.rs
+++ b/utils/livesync/src/livesync/imp.rs
@@ -203,8 +203,8 @@ impl ObjectSubclass for LiveSync {
.activatemode_function(|pad, parent, mode, active| {
Self::catch_panic_pad_function(
parent,
- || Err(gst::loggable_error!(CAT, "sink_activate_mode panicked")),
- |livesync| livesync.sink_activate_mode(pad, mode, active),
+ || Err(gst::loggable_error!(CAT, "sink_activatemode panicked")),
+ |livesync| livesync.sink_activatemode(pad, mode, active),
)
})
.event_function(|pad, parent, event| {
@@ -239,8 +239,8 @@ impl ObjectSubclass for LiveSync {
.activatemode_function(|pad, parent, mode, active| {
Self::catch_panic_pad_function(
parent,
- || Err(gst::loggable_error!(CAT, "src_activate_mode panicked")),
- |livesync| livesync.src_activate_mode(pad, mode, active),
+ || Err(gst::loggable_error!(CAT, "src_activatemode panicked")),
+ |livesync| livesync.src_activatemode(pad, mode, active),
)
})
.event_function(|pad, parent, event| {
@@ -496,7 +496,7 @@ impl State {
}
impl LiveSync {
- fn sink_activate_mode(
+ fn sink_activatemode(
&self,
pad: &gst::Pad,
mode: gst::PadMode,
@@ -542,7 +542,7 @@ impl LiveSync {
Ok(())
}
- fn src_activate_mode(
+ fn src_activatemode(
&self,
pad: &gst::Pad,
mode: gst::PadMode,