summaryrefslogtreecommitdiff
path: root/libavcodec/qsvenc.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-06-12 20:45:02 +0200
committerAnton Khirnov <anton@khirnov.net>2016-06-21 19:53:38 +0200
commitad9c9440d592e4d53d6bec9961b4b22e25387d70 (patch)
tree54781a2410d95a18c8ec01f1d9cb6fc7ddb76437 /libavcodec/qsvenc.h
parenta0524d9b1e1bb0012207584f067096df7792df6c (diff)
qsvenc: support getting the session from an AVHWFramesContext
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r--libavcodec/qsvenc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
index 719e4ece04..7ac5dc700b 100644
--- a/libavcodec/qsvenc.h
+++ b/libavcodec/qsvenc.h
@@ -98,6 +98,8 @@ typedef struct QSVEncContext {
AVFifoBuffer *async_fifo;
+ QSVFramesContext frames_ctx;
+
// options set by the caller
int async_depth;
int idr_interval;