mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '3b6473b43eb69fc3faaf69f7fd0b83b51db7607f'
* commit '3b6473b43eb69fc3faaf69f7fd0b83b51db7607f': qsvdec: properly handle the warning from MFXVideoCORE_SyncOperation Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
9507f68deb
@ -416,7 +416,9 @@ static int do_qsv_decode(AVCodecContext *avctx, QSVContext *q,
|
||||
av_fifo_generic_read(q->async_fifo, &sync, sizeof(sync), NULL);
|
||||
out_frame->queued = 0;
|
||||
|
||||
MFXVideoCORE_SyncOperation(q->session, sync, 60000);
|
||||
do {
|
||||
ret = MFXVideoCORE_SyncOperation(q->session, sync, 1000);
|
||||
} while (ret == MFX_WRN_IN_EXECUTION);
|
||||
|
||||
src_frame = out_frame->frame;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user