diff options
-rw-r--r-- | video/decode/vdpau_old.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/decode/vdpau_old.c b/video/decode/vdpau_old.c index e3bddf013c..9a15609e14 100644 --- a/video/decode/vdpau_old.c +++ b/video/decode/vdpau_old.c @@ -242,6 +242,7 @@ static int init(struct lavc_ctx *ctx) static int probe(struct vd_lavc_hwdec *hwdec, struct mp_hwdec_info *info, const char *decoder) { + hwdec_request_api(info, "vdpau"); if (!info || !info->vdpau_ctx) return HWDEC_ERR_NO_CTX; return 0; |