mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-06-10 18:29:22 +00:00
Use ObjectExt::notify() instead of the gobject-subclass variant
This commit is contained in:
parent
a9960f1fc0
commit
b3089ca047
|
@ -444,7 +444,7 @@ impl ToggleRecord {
|
|||
|
||||
drop(rec_state);
|
||||
drop(state);
|
||||
self.notify(&element.clone().upcast(), "recording");
|
||||
element.notify("recording");
|
||||
|
||||
HandleResult::Drop
|
||||
}
|
||||
|
@ -516,7 +516,7 @@ impl ToggleRecord {
|
|||
|
||||
drop(rec_state);
|
||||
drop(state);
|
||||
self.notify(&element.clone().upcast(), "recording");
|
||||
element.notify("recording");
|
||||
|
||||
HandleResult::Pass
|
||||
}
|
||||
|
@ -1289,7 +1289,7 @@ impl ElementImpl<Element> for ToggleRecord {
|
|||
let mut rec_state = self.state.lock().unwrap();
|
||||
*rec_state = State::default();
|
||||
drop(rec_state);
|
||||
self.notify(&element.clone().upcast(), "recording");
|
||||
element.notify("recording");
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue