diff options
author | François Laignel <fengalin@free.fr> | 2021-04-12 15:49:54 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2021-04-12 16:57:19 +0300 |
commit | 06accc8d98cc2876bcacfc6f9e097af690b4e64f (patch) | |
tree | e4f056143e5257d49b367dd28ef5fecaa1df9ebc /utils/togglerecord/examples | |
parent | c3fb55f235f7feb1ab737a64f8d3d53d03a81c7a (diff) |
fix-getters-{def,calls} pass
Diffstat (limited to 'utils/togglerecord/examples')
-rw-r--r-- | utils/togglerecord/examples/gtk_recording.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/togglerecord/examples/gtk_recording.rs b/utils/togglerecord/examples/gtk_recording.rs index 13dee1da..bd322c8a 100644 --- a/utils/togglerecord/examples/gtk_recording.rs +++ b/utils/togglerecord/examples/gtk_recording.rs @@ -291,7 +291,7 @@ fn create_ui(app: >k::Application) { Inhibit(false) }); - let bus = pipeline.get_bus().unwrap(); + let bus = pipeline.bus().unwrap(); let app_weak = app.downgrade(); bus.add_watch_local(move |_, msg| { use gst::MessageView; @@ -306,9 +306,9 @@ fn create_ui(app: >k::Application) { MessageView::Error(err) => { println!( "Error from {:?}: {} ({:?})", - msg.get_src().map(|s| s.get_path_string()), - err.get_error(), - err.get_debug() + msg.src().map(|s| s.path_string()), + err.error(), + err.debug() ); app.quit(); } |