From 95385ff5d2643ed240b61c0fa148443f831d5a1d Mon Sep 17 00:00:00 2001 From: Varac Date: Wed, 18 Nov 2020 20:47:37 +0100 Subject: [PATCH] Use yuyv422 instead of yuv420p pixel format With yuv420p as output pixel format I sometime get a garbled screencast video, yuyv422 fixes it for me. See https://github.com/b12f/wlstreamer/issues/2 for more details Related to #2 --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 2e73d57..4be5240 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,7 +41,7 @@ fn record_screen(config: &mut Config, valid_screens: &Vec) -> Result) -> Result