diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com> | 2023-10-24 22:28:04 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2023-11-10 18:47:41 +0300 |
commit | 4c4aff3a5be41eacf7753b122e320e13303e59db (patch) | |
tree | 42c604e1ed785645cdca3a07751eb75bfbc7181b | |
parent | d35fc2eb6d6853571d3d7e242a0ec84d81a9962f (diff) |
livesync: Rename activatemode methods to *_activatemode
This matches the other plugins.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1387>
-rw-r--r-- | utils/livesync/src/livesync/imp.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/livesync/src/livesync/imp.rs b/utils/livesync/src/livesync/imp.rs index 218c5a924..e9b49b661 100644 --- a/utils/livesync/src/livesync/imp.rs +++ b/utils/livesync/src/livesync/imp.rs @@ -205,7 +205,7 @@ impl ObjectSubclass for LiveSync { Self::catch_panic_pad_function( parent, || Err(gst::loggable_error!(CAT, "sink_activate_mode panicked")), - |livesync| livesync.sink_activate_mode(pad, mode, active), + |livesync| livesync.sink_activatemode(pad, mode, active), ) }) .event_function(|pad, parent, event| { @@ -242,7 +242,7 @@ impl ObjectSubclass for LiveSync { Self::catch_panic_pad_function( parent, || Err(gst::loggable_error!(CAT, "src_activate_mode panicked")), - |livesync| livesync.src_activate_mode(pad, mode, active), + |livesync| livesync.src_activatemode(pad, mode, active), ) }) .event_function(|pad, parent, event| { @@ -498,7 +498,7 @@ impl State { } impl LiveSync { - fn sink_activate_mode( + fn sink_activatemode( &self, pad: &gst::Pad, mode: gst::PadMode, @@ -544,7 +544,7 @@ impl LiveSync { Ok(()) } - fn src_activate_mode( + fn src_activatemode( &self, pad: &gst::Pad, mode: gst::PadMode, |