From 6af02ed9f27f9f7ff140f89604da316474c95dc9 Mon Sep 17 00:00:00 2001 From: vosrhd9 Date: Fri, 31 Mar 2023 18:52:37 +0300 Subject: [PATCH] minorityminor update minor update --- Overlay/Include/{Overlay.h => stdafx.h} | 0 Overlay/functions/screenRecoder.h | 2 +- Overlay/main.cpp | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename Overlay/Include/{Overlay.h => stdafx.h} (100%) diff --git a/Overlay/Include/Overlay.h b/Overlay/Include/stdafx.h similarity index 100% rename from Overlay/Include/Overlay.h rename to Overlay/Include/stdafx.h diff --git a/Overlay/functions/screenRecoder.h b/Overlay/functions/screenRecoder.h index d73866a..e5f5569 100644 --- a/Overlay/functions/screenRecoder.h +++ b/Overlay/functions/screenRecoder.h @@ -3,6 +3,6 @@ void screenRecoder(std::string file_video) { - std::string command = "ffmpeg -f gdigrab -framerate 30 -i desktop -c:v libx264 -preset ultrafast -tune zerolatency -crf 25 -pix_fmt yuv420p " + ("C:\\Users\\" + (std::string)std::getenv("USERNAME") + "\\Documents\\vos.team\\" + file_video); + std::string command = "ffmpeg -f gdigrab -framerate 60 -i desktop -c:v libx264 -preset ultrafast -tune zerolatency -crf 25 -pix_fmt yuv420p " + ("C:\\Users\\" + (std::string)std::getenv("USERNAME") + "\\Documents\\vos.team\\" + file_video); system(command.c_str()); } \ No newline at end of file diff --git a/Overlay/main.cpp b/Overlay/main.cpp index 32d518a..1ee7e34 100644 --- a/Overlay/main.cpp +++ b/Overlay/main.cpp @@ -1,4 +1,4 @@ -#include "Include/Overlay.h" +#include "Include/stdafx.h" LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) {