summaryrefslogtreecommitdiff
path: root/libavcodec/qsvdec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-05-27 13:23:19 +0200
committerAnton Khirnov <anton@khirnov.net>2016-06-21 19:53:38 +0200
commita0524d9b1e1bb0012207584f067096df7792df6c (patch)
treebdfb1267c302c700a8a4c5830631320a22d381fa /libavcodec/qsvdec.h
parent59e7361cc791e5103be1712dc59a2055f118d0da (diff)
qsvdec: support getting the session from an AVHWFramesContext
Diffstat (limited to 'libavcodec/qsvdec.h')
-rw-r--r--libavcodec/qsvdec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/qsvdec.h b/libavcodec/qsvdec.h
index 698d8c89b4..9853591a99 100644
--- a/libavcodec/qsvdec.h
+++ b/libavcodec/qsvdec.h
@@ -43,6 +43,8 @@ typedef struct QSVContext {
// one
mfxSession internal_session;
+ QSVFramesContext frames_ctx;
+
/**
* a linked list of frames currently being used by QSV
*/