mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-05 14:30:43 +09:00
X11 nvidia monitor capture: fix capture broken after sleep/suspend or monitor reconfiguration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user