mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit 'b68e353136db6f963212c457281d9716516cdc59'
* commit 'b68e353136db6f963212c457281d9716516cdc59': qsvdec: do not sync PIX_FMT_QSV surfaces Merged-by: Clément Bœsch <cboesch@gopro.com>
This commit is contained in:
commit
3c085c1ba5
@ -363,9 +363,11 @@ static int 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;
|
||||||
|
|
||||||
|
if (avctx->pix_fmt != AV_PIX_FMT_QSV) {
|
||||||
do {
|
do {
|
||||||
ret = MFXVideoCORE_SyncOperation(q->session, *sync, 1000);
|
ret = MFXVideoCORE_SyncOperation(q->session, *sync, 1000);
|
||||||
} while (ret == MFX_WRN_IN_EXECUTION);
|
} while (ret == MFX_WRN_IN_EXECUTION);
|
||||||
|
}
|
||||||
|
|
||||||
av_freep(&sync);
|
av_freep(&sync);
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
#define LIBAVCODEC_VERSION_MAJOR 57
|
#define LIBAVCODEC_VERSION_MAJOR 57
|
||||||
#define LIBAVCODEC_VERSION_MINOR 94
|
#define LIBAVCODEC_VERSION_MINOR 94
|
||||||
#define LIBAVCODEC_VERSION_MICRO 100
|
#define LIBAVCODEC_VERSION_MICRO 101
|
||||||
|
|
||||||
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
|
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
|
||||||
LIBAVCODEC_VERSION_MINOR, \
|
LIBAVCODEC_VERSION_MINOR, \
|
||||||
|
Loading…
Reference in New Issue
Block a user