Add warning if EAGAIN in encoder
This most likely means there is buffering in the encoder, pose will be out of sync with image data and we will have additional latency.
This commit is contained in:
@@ -92,6 +92,7 @@ void VideoEncoderFFMPEG::Encode(int index, bool idr, std::chrono::steady_clock::
|
||||
}
|
||||
if (err == AVERROR(EAGAIN))
|
||||
{
|
||||
U_LOG_W("EAGAIN in encoder %d", stream_idx);
|
||||
return;
|
||||
}
|
||||
if (err)
|
||||
|
||||
Reference in New Issue
Block a user