record: don't use hevc codec

Cause incompatible with some players (mainly discord)
This commit is contained in:
2 * r + 2 * t
2025-07-23 18:29:28 +10:00
parent 13a2d46d08
commit 882adb2c6c
+1 -1
View File
@@ -41,7 +41,7 @@ class Command:
recording_path.parent.mkdir(parents=True, exist_ok=True)
proc = subprocess.Popen(
["wl-screenrec", *args, "--codec", "hevc", "-f", recording_path],
["wl-screenrec", *args, "-f", recording_path],
stderr=subprocess.PIPE,
text=True,
start_new_session=True,