mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 15:01:07 +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/1369>
This commit is contained in:
parent
d27a04e067
commit
01386b8451
1 changed files with 6 additions and 6 deletions
|
@ -203,8 +203,8 @@ impl ObjectSubclass for LiveSync {
|
||||||
.activatemode_function(|pad, parent, mode, active| {
|
.activatemode_function(|pad, parent, mode, active| {
|
||||||
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_activatemode 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| {
|
||||||
|
@ -239,8 +239,8 @@ impl ObjectSubclass for LiveSync {
|
||||||
.activatemode_function(|pad, parent, mode, active| {
|
.activatemode_function(|pad, parent, mode, active| {
|
||||||
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_activatemode 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| {
|
||||||
|
@ -496,7 +496,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,
|
||||||
|
@ -542,7 +542,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