options: transition commands from OPT_FLAG to OPT_BOOL

This commit is contained in:
Christoph Heinrich
2023-02-20 06:44:22 +01:00
committed by Dudemanguy
parent 91cc0d8cf6
commit 4ebfe9851c
13 changed files with 27 additions and 19 deletions

View File

@@ -693,6 +693,7 @@ struct mp_hwdec_ctx *mp_filter_load_hwdec_device(struct mp_filter *f, int imgfmt
struct hwdec_imgfmt_request params = {
.imgfmt = imgfmt,
.probing = false,
};
hwdec_devices_request_for_img_fmt(info->hwdec_devs, &params);