Always flush encoder output if using QSV / NVENC
NVENC at least does not like being shut down if there is still pending encoder output to be consumed. Normally output flushing is skipped when rendering preview for UI responsiveness.master
parent
4ff40ef8a9
commit
00b8387500
|
@ -419,7 +419,7 @@ void OBS::EncodeLoop()
|
|||
|
||||
CircularList<QWORD> bufferedTimes;
|
||||
|
||||
while(!bShutdownEncodeThread || (bufferedFrames && !bTestStream)) {
|
||||
while (!bShutdownEncodeThread || (bufferedFrames && (!bTestStream || bUsingQSV))) {
|
||||
if (!SleepToNS(sleepTargetTime += (frameTimeNS/2)))
|
||||
no_sleep_counter++;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue