From ce320cf1c4daab3e2e3726ed7d2e879d10f7b991 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 22 Jun 2016 11:44:09 +0200 Subject: qsvdec: use the same mfxFrameInfo for allocating frames that was passed to DECODE_Init Stop duplicating this information. --- libavcodec/qsvdec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/qsvdec.h') diff --git a/libavcodec/qsvdec.h b/libavcodec/qsvdec.h index de66a7d1de..d807864aa5 100644 --- a/libavcodec/qsvdec.h +++ b/libavcodec/qsvdec.h @@ -57,6 +57,7 @@ typedef struct QSVContext { AVCodecContext *avctx_internal; enum AVPixelFormat orig_pix_fmt; uint32_t fourcc; + mfxFrameInfo frame_info; // options set by the caller int async_depth; -- cgit v1.2.3