Sway: Dont drop fps in re-encoding.

This commit is contained in:
Dmitry Voronin 2024-12-22 08:57:37 +03:00
parent 968899c410
commit a7329b10c0
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -106,7 +106,6 @@ let
-pix_fmt ${pixfmt} \ -pix_fmt ${pixfmt} \
-g ${toString keyint} \ -g ${toString keyint} \
-f ${container} \ -f ${container} \
-vf "fps=${toString framerate}" \
"''${scrFile}_" \ "''${scrFile}_" \
&& mv "''${scrFile}_" "''${scrFile}" \ && mv "''${scrFile}_" "''${scrFile}" \
|| rm "''${scrFile}_" || rm "''${scrFile}_"