Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2021-04-08 10:36:58 +0300
committerSebastian Dröge <slomo@coaxion.net>2021-04-08 10:37:25 +0300
commit2bd4fc4728977e17447caf09af0ce4968be8060a (patch)
treea3ea98cd7ee0f142734b8f1a81a103695057b390 /utils/togglerecord/examples
parent3dda2aebe939b47f360bbccff5c88ea085a32e4b (diff)
examples: Update for gio::Application::run() API simplification
Diffstat (limited to 'utils/togglerecord/examples')
-rw-r--r--utils/togglerecord/examples/gtk_recording.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/togglerecord/examples/gtk_recording.rs b/utils/togglerecord/examples/gtk_recording.rs
index 4585c7c1..648a6474 100644
--- a/utils/togglerecord/examples/gtk_recording.rs
+++ b/utils/togglerecord/examples/gtk_recording.rs
@@ -20,7 +20,6 @@ use gst::prelude::*;
use gio::prelude::*;
use gtk::prelude::*;
use std::cell::RefCell;
-use std::env;
fn create_pipeline() -> (
gst::Pipeline,
@@ -345,6 +344,5 @@ fn main() {
let app = gtk::Application::new(None, gio::ApplicationFlags::FLAGS_NONE).unwrap();
app.connect_activate(create_ui);
- let args = env::args().collect::<Vec<_>>();
- app.run(&args);
+ app.run();
}