Skip to content

Commit 2cec0f9

Browse files
committed
Set tuning to psychovisual by default.
Also correct help message, now that it works for 4x4.
1 parent 83aa2b0 commit 2cec0f9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/bin/common.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ pub fn parse_cli() -> CliOptions {
9494
.default_value("false")
9595
).arg(
9696
Arg::with_name("TUNE")
97-
.help("Quality tuning (Will enforce partition sizes >= 8x8)")
97+
.help("Quality tuning")
9898
.long("tune")
9999
.possible_values(&Tune::variants())
100-
.default_value("psnr")
100+
.default_value("Psychovisual")
101101
.case_insensitive(true)
102102
).arg(
103103
Arg::with_name("PIXEL_RANGE")

src/encoder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ arg_enum!{
183183

184184
impl Default for Tune {
185185
fn default() -> Self {
186-
Tune::Psnr
186+
Tune::Psychovisual
187187
}
188188
}
189189

0 commit comments

Comments
 (0)