mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-05 11:38:06 +00:00
fix(linux): add frame processing latency and logging improvements (#2502)
This commit is contained in:
1 parent
659a426b03
commit
0a595dc7d2
5 files changed
+14
-2
No files matched your search
@@ -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