Skip to content
Snippets Groups Projects
Commit 9507f68d authored by Hendrik Leppkes's avatar Hendrik Leppkes
Browse files

Merge commit '3b6473b4'


* commit '3b6473b4':
  qsvdec: properly handle the warning from MFXVideoCORE_SyncOperation

Merged-by: default avatarHendrik Leppkes <h.leppkes@gmail.com>
parents ad53c94d 3b6473b4
No related branches found
No related tags found
No related merge requests found
...@@ -416,7 +416,9 @@ static int do_qsv_decode(AVCodecContext *avctx, QSVContext *q, ...@@ -416,7 +416,9 @@ static int do_qsv_decode(AVCodecContext *avctx, QSVContext *q,
av_fifo_generic_read(q->async_fifo, &sync, sizeof(sync), NULL); av_fifo_generic_read(q->async_fifo, &sync, sizeof(sync), NULL);
out_frame->queued = 0; 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; src_frame = out_frame->frame;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment