diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-09-05 11:45:47 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-09-05 11:45:47 +0300 |
commit | 1a401864856022be9103253e7374bde51aa1a226 (patch) | |
tree | fb2a4646bb28e4a0e9142ba0c296114ee4014d85 /video/rav1e/src | |
parent | 3924e2e563320ab2669befe2dd0ab9324f325353 (diff) |
Update for GLib ParamSpec builder API changes
Diffstat (limited to 'video/rav1e/src')
-rw-r--r-- | video/rav1e/src/rav1enc/imp.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/rav1e/src/rav1enc/imp.rs b/video/rav1e/src/rav1enc/imp.rs index c19b0235..ce459dcc 100644 --- a/video/rav1e/src/rav1enc/imp.rs +++ b/video/rav1e/src/rav1enc/imp.rs @@ -319,10 +319,9 @@ impl ObjectImpl for Rav1Enc { .default_value(DEFAULT_RDO_LOOKAHEAD_FRAMES) .mutable_ready() .build(), - glib::ParamSpecEnum::builder("tune", Tune::static_type()) + glib::ParamSpecEnum::builder::<Tune>("tune", DEFAULT_TUNE) .nick("Tune") .blurb("Tune") - .default_value(DEFAULT_TUNE as i32) .mutable_ready() .build(), glib::ParamSpecInt::builder("reservoir-frame-delay") |