diff options
Diffstat (limited to 'video/hwdec.h')
-rw-r--r-- | video/hwdec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/hwdec.h b/video/hwdec.h index 49fd9895c0..c0ef9b76b6 100644 --- a/video/hwdec.h +++ b/video/hwdec.h @@ -66,6 +66,9 @@ struct mp_hwdec_ctx { struct mp_image *mpi, struct mp_image_pool *swpool); + // Optional. Crap for vdpau. Makes sure preemption recovery is run if needed. + void (*restore_device)(struct mp_hwdec_ctx *ctx); + // Optional. Do not set for VO-bound devices. void (*destroy)(struct mp_hwdec_ctx *ctx); }; |