diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-07-14 18:16:26 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-07-19 09:47:45 +0200 |
commit | f5c4d38c78347b09478e21a661befff4b2d44643 (patch) | |
tree | a7744aeda4fde5ee1c408fb02fe2ba50f7cb6aca /libavcodec/qsv_internal.h | |
parent | 6b15874fc2c3f565732201f7907ae1112727d6ae (diff) | |
download | ffmpeg-f5c4d38c78347b09478e21a661befff4b2d44643.tar.gz |
qsvdec: properly handle asynchronous decoding
Wait for async_depth frames before syncing.
Diffstat (limited to 'libavcodec/qsv_internal.h')
-rw-r--r-- | libavcodec/qsv_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h index a0f4c7cef3..949f6ebf9b 100644 --- a/libavcodec/qsv_internal.h +++ b/libavcodec/qsv_internal.h @@ -40,6 +40,8 @@ typedef struct QSVFrame { mfxFrameSurface1 surface_internal; + int queued; + struct QSVFrame *next; } QSVFrame; |