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
path: root/video/png
diff options
context:
space:
mode:
Diffstat (limited to 'video/png')
-rw-r--r--video/png/src/pngenc/imp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/png/src/pngenc/imp.rs b/video/png/src/pngenc/imp.rs
index 8d7b3259..fc022515 100644
--- a/video/png/src/pngenc/imp.rs
+++ b/video/png/src/pngenc/imp.rs
@@ -67,7 +67,7 @@ impl ObjectImpl for PngEncoder {
fn properties() -> &'static [glib::ParamSpec] {
static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| {
vec![
- glib::ParamSpecEnum::builder::<CompressionLevel>(
+ glib::ParamSpecEnum::builder_with_default(
"compression-level",
DEFAULT_COMPRESSION_LEVEL,
)
@@ -75,7 +75,7 @@ impl ObjectImpl for PngEncoder {
.blurb("Selects the compression algorithm to use")
.mutable_ready()
.build(),
- glib::ParamSpecEnum::builder::<FilterType>("filter", DEFAULT_FILTER_TYPE)
+ glib::ParamSpecEnum::builder_with_default("filter", DEFAULT_FILTER_TYPE)
.nick("Filter")
.blurb("Selects the filter type to applied")
.mutable_ready()