Rework vaapi/nvenc/x264 IDR handling

Fix race conditions with should_skip
detect if nothings goes out from decoder and issue an IDR
remove idr_received, go directly to running state
This commit is contained in:
Patrick Nicolas
2026-10-05 22:27:15 +02:00
parent 4ea97485cc
commit 2fc4708bc6
8 changed files with 54 additions and 39 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ class dummy_idr_handler : public wivrn::idr_handler
public:
void on_feedback(const wivrn::from_headset::feedback &) override {};
void reset() override {};
bool should_skip(uint64_t frame_id) override
bool should_skip(uint64_t frame_id, uint8_t stream_idx) override
{
return false;
};