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) {