Add API to wake a waiting thread in LiWaitForNextVideoFrame()
This commit is contained in:
parent
f2e45695b2
commit
921b59c467
4 changed files with 23 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue