]> git.scottworley.com Git - srec/commitdiff
The default video size is the whole screen
authorScott Worley <scottworley@scottworley.com>
Mon, 22 Sep 2025 00:21:04 +0000 (17:21 -0700)
committerScott Worley <scottworley@scottworley.com>
Mon, 22 Sep 2025 00:21:04 +0000 (17:21 -0700)
srec.py

diff --git a/srec.py b/srec.py
index db2170ea4c9710d4f98e9a0bba26a5418dbd132a..d57cde2b3b7e2c2e6dc003f43cfc5574f968d2dd 100644 (file)
--- a/srec.py
+++ b/srec.py
@@ -36,11 +36,9 @@ def make_filename() -> str:
 def on_start_recording(_: Gtk.Button, stack: Gtk.Stack) -> None:
     global recording  # pylint: disable=global-statement
     assert recording is None
-    screen_size = '1366x768'  # TODO
     filename = make_filename()
     command = [
             'ffmpeg',
-            '-video_size', screen_size,
             '-framerate', '25',
             '-f', 'x11grab', '-i', ':0.0+0,0',
             '-f', 'pulse', '-ac', '2', '-i', 'default',