diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-04-08 00:51:33 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-04-08 00:51:33 +0200 |
commit | d5bf41fed6628083200370cd5acf3ff43b592891 (patch) | |
tree | 4d038cea2d6c2fd31b13cff14f786da38cedf7b3 /src/main.cpp | |
parent | 6770bac05b39f930db40c50dcb969685cf821e2b (diff) |
X11 nvidia monitor capture: fix capture broken after sleep/suspend or monitor reconfiguration
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3c6fba6..167f8a5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2424,7 +2424,7 @@ int main(int argc, char **argv) { if(got_audio_data) received_audio_time = this_audio_frame_time; - // Jesus is there a better way to do this? I JUST WANT TO KEEP VIDEO AND AUDIO SYNCED HOLY FUCK I WANT TO KILL MYSELF NOW. + // Fucking hell is there a better way to do this? I JUST WANT TO KEEP VIDEO AND AUDIO SYNCED HOLY FUCK I WANT TO KILL MYSELF NOW. // THIS PIECE OF SHIT WANTS EMPTY FRAMES OTHERWISE VIDEO PLAYS TOO FAST TO KEEP UP WITH AUDIO OR THE AUDIO PLAYS TOO EARLY. // BUT WE CANT USE DELAYS TO GIVE DUMMY DATA BECAUSE PULSEAUDIO MIGHT GIVE AUDIO A BIG DELAYED!!! // This garbage is needed because we want to produce constant frame rate videos instead of variable frame rate |