mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
fix(linux): add frame processing latency and logging improvements (#2502)
This commit is contained in:
@@ -1294,6 +1294,10 @@ namespace video {
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (av_packet->flags & AV_PKT_FLAG_KEY) {
|
||||
BOOST_LOG(debug) << "Frame "sv << frame_nr << ": IDR Keyframe (AV_FRAME_FLAG_KEY)"sv;
|
||||
}
|
||||
|
||||
if ((frame->flags & AV_FRAME_FLAG_KEY) && !(av_packet->flags & AV_PKT_FLAG_KEY)) {
|
||||
BOOST_LOG(error) << "Encoder did not produce IDR frame when requested!"sv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user