From 0ba2e247c86f47cfe553bf4186a7ca3b435c2f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Mon, 20 Apr 2020 20:00:56 +0200 Subject: [PATCH] fix --- src/workunit.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/workunit.rs b/src/workunit.rs index ca242c4..97946dd 100644 --- a/src/workunit.rs +++ b/src/workunit.rs @@ -54,7 +54,8 @@ impl Default for EOptions { EOptions{ ffmpeg: String::default(), aomenc: "--lag-in-frames=25 --tile-columns=0 --tile-rows=0 --enable-fwd-kf=1 --bit-depth=10 --cpu-used=3 --cq-level=30 --end-usage=q".to_string(), - two_pass: false + two_pass: false, + pix_fmt: EPixFmt::I422 } } } @@ -73,6 +74,7 @@ impl Default for EStatus { } } +#[derive(Debug, Serialize, Deserialize, PartialEq, Clone)] pub enum EPixFmt { YV12, I420,