Add API to wake a waiting thread in LiWaitForNextVideoFrame()

This commit is contained in:
Cameron Gutman committed 2022-01-17 14:12:11 -06:00
1 parent f2e45695b2
commit 921b59c467
4 files changed
+23 -1

No files matched your search

+4
View File
@@ -221,6 +221,10 @@ bool LiPeekNextVideoFrame(PDECODE_UNIT* decodeUnit) {
return true;
}
void LiWakeWaitForVideoFrame(void) {
LbqSignalQueueUserWake(&decodeUnitQueue);
}
// Cleanup a decode unit by freeing the buffer chain and the holder
void LiCompleteVideoFrame(VIDEO_FRAME_HANDLE handle, int drStatus) {
PQUEUED_DECODE_UNIT qdu = handle;