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:
@@ -76,7 +76,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
bool should_skip(uint64_t frame_id) override
|
||||
bool should_skip(uint64_t frame_id, uint8_t) override
|
||||
{
|
||||
std::unique_lock lock(mutex);
|
||||
bool pending = false; // has any data been sent?
|
||||
|
||||
Reference in New Issue
Block a user