mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-10 01:09:28 -05:00
record: don't use hevc codec
Cause incompatible with some players (mainly discord)
This commit is contained in:
@@ -41,7 +41,7 @@ class Command:
|
|||||||
|
|
||||||
recording_path.parent.mkdir(parents=True, exist_ok=True)
|
recording_path.parent.mkdir(parents=True, exist_ok=True)
|
||||||
proc = subprocess.Popen(
|
proc = subprocess.Popen(
|
||||||
["wl-screenrec", *args, "--codec", "hevc", "-f", recording_path],
|
["wl-screenrec", *args, "-f", recording_path],
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
text=True,
|
text=True,
|
||||||
start_new_session=True,
|
start_new_session=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user