summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/decode/vd_lavc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index 58dba5a81e..87964d6fdc 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -471,6 +471,10 @@ static void select_and_set_hwdec(struct dec_video *vd)
}
MP_WARN(vd, "Using emulated hardware decoding API.\n");
}
+ } else if (!hwdec->copying) {
+ // Most likely METHOD_INTERNAL, which often use delay-loaded
+ // VO support as well.
+ hwdec_devices_request_all(vd->hwdec_devs);
}
ctx->use_hwdec = true;