mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-08 18:25:30 +00:00
livesync: Rename activatemode methods to *_activatemode
This matches the other plugins. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1387>
This commit is contained in:
parent
d35fc2eb6d
commit
4c4aff3a5b
1 changed files with 4 additions and 4 deletions
|
@ -205,7 +205,7 @@ impl ObjectSubclass for LiveSync {
|
||||||
Self::catch_panic_pad_function(
|
Self::catch_panic_pad_function(
|
||||||
parent,
|
parent,
|
||||||
|| Err(gst::loggable_error!(CAT, "sink_activate_mode panicked")),
|
|| 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| {
|
.event_function(|pad, parent, event| {
|
||||||
|
@ -242,7 +242,7 @@ impl ObjectSubclass for LiveSync {
|
||||||
Self::catch_panic_pad_function(
|
Self::catch_panic_pad_function(
|
||||||
parent,
|
parent,
|
||||||
|| Err(gst::loggable_error!(CAT, "src_activate_mode panicked")),
|
|| 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| {
|
.event_function(|pad, parent, event| {
|
||||||
|
@ -498,7 +498,7 @@ impl State {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl LiveSync {
|
impl LiveSync {
|
||||||
fn sink_activate_mode(
|
fn sink_activatemode(
|
||||||
&self,
|
&self,
|
||||||
pad: &gst::Pad,
|
pad: &gst::Pad,
|
||||||
mode: gst::PadMode,
|
mode: gst::PadMode,
|
||||||
|
@ -544,7 +544,7 @@ impl LiveSync {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn src_activate_mode(
|
fn src_activatemode(
|
||||||
&self,
|
&self,
|
||||||
pad: &gst::Pad,
|
pad: &gst::Pad,
|
||||||
mode: gst::PadMode,
|
mode: gst::PadMode,
|
||||||
|
|
Loading…
Reference in a new issue