diff options
Diffstat (limited to 'video/mp_image.h')
-rw-r--r-- | video/mp_image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/mp_image.h b/video/mp_image.h index c00c78a459..c96674b290 100644 --- a/video/mp_image.h +++ b/video/mp_image.h @@ -100,6 +100,8 @@ typedef struct mp_image { // All mp_* functions manage this automatically; do not mess with it. // (See also AVFrame.buf.) struct AVBufferRef *bufs[MP_MAX_PLANES]; + // Points to AVHWFramesContext* (same as AVFrame.hw_frames_ctx) + struct AVBufferRef *hwctx; } mp_image_t; int mp_chroma_div_up(int size, int shift); |