mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
record audio frames for empty audio track again
This commit is contained in:
@@ -2507,7 +2507,7 @@ int main(int argc, char **argv) {
|
||||
// videos because bad software such as video editing software and VLC do not support variable frame rate software,
|
||||
// despite nvidia shadowplay and xbox game bar producing variable frame rate videos.
|
||||
// So we have to make sure we produce frames at the same relative rate as the video.
|
||||
if((num_missing_frames >= 1 && got_audio_data) || num_missing_frames >= 5) {
|
||||
if((num_missing_frames >= 1 && got_audio_data) || num_missing_frames >= 5 || !audio_device.sound_device.handle) {
|
||||
// TODO:
|
||||
//audio_track.frame->data[0] = empty_audio;
|
||||
if(first_frame || num_missing_frames >= 5) {
|
||||
|
||||
Reference in New Issue
Block a user