mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-20 03:11:14 +00:00
Default to vp9 for uploaded video
This commit is contained in:
parent
85c5ce955d
commit
c767804430
4 changed files with 4 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1556,7 +1556,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "pict-rs"
|
||||
version = "0.4.0-beta.3"
|
||||
version = "0.4.0-beta.4"
|
||||
dependencies = [
|
||||
"actix-form-data",
|
||||
"actix-rt",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "pict-rs"
|
||||
description = "A simple image hosting service"
|
||||
version = "0.4.0-beta.3"
|
||||
version = "0.4.0-beta.4"
|
||||
authors = ["asonix <asonix@asonix.dog>"]
|
||||
license = "AGPL-3.0"
|
||||
readme = "README.md"
|
||||
|
|
|
@ -24,7 +24,7 @@ max_file_size = 40
|
|||
max_frame_count = 900
|
||||
enable_silent_video = true
|
||||
enable_full_video = false
|
||||
video_codec = 'h264'
|
||||
video_codec = 'vp9'
|
||||
filters = ['blur', 'crop', 'identity', 'resize', 'thumbnail']
|
||||
skip_validate_imports = false
|
||||
cache_duration = 168
|
||||
|
|
|
@ -156,7 +156,7 @@ impl Default for MediaDefaults {
|
|||
max_frame_count: 900,
|
||||
enable_silent_video: true,
|
||||
enable_full_video: false,
|
||||
video_codec: VideoCodec::H264,
|
||||
video_codec: VideoCodec::Vp9,
|
||||
filters: vec![
|
||||
"blur".into(),
|
||||
"crop".into(),
|
||||
|
|
Loading…
Reference in a new issue