diff options
-rw-r--r-- | filters/f_output_chain.c | 12 | ||||
-rw-r--r-- | video/hwdec.c | 2 | ||||
-rw-r--r-- | video/out/gpu/hwdec.c | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/filters/f_output_chain.c b/filters/f_output_chain.c index 468bfe6466..de01c954d7 100644 --- a/filters/f_output_chain.c +++ b/filters/f_output_chain.c @@ -106,16 +106,16 @@ static void check_in_format_change(struct mp_user_filter *u, if (u == p->input) { p->public.input_params = img->params; - - // Unfortunately there's no good place to update these. - // But a common case is enabling HW decoding, which - // might init some support of them in the VO, and update - // the VO's format list. - update_output_caps(p); } else if (u == p->output) { p->public.output_params = img->params; } + // Unfortunately there's no good place to update these. + // But a common case is enabling HW decoding, which + // might init some support of them in the VO, and update + // the VO's format list. + update_output_caps(p); + p->public.reconfig_happened = true; } } diff --git a/video/hwdec.c b/video/hwdec.c index 1b15c95c64..246117a4f1 100644 --- a/video/hwdec.c +++ b/video/hwdec.c @@ -94,7 +94,7 @@ void hwdec_devices_set_loader(struct mp_hwdec_devices *devs, void hwdec_devices_request_for_img_fmt(struct mp_hwdec_devices *devs, struct hwdec_imgfmt_request *params) { - if (devs->load_api && !hwdec_devices_get_first(devs)) + if (devs->load_api) devs->load_api(devs->load_api_ctx, params); } diff --git a/video/out/gpu/hwdec.c b/video/out/gpu/hwdec.c index 4217bad16a..9b994bc0a1 100644 --- a/video/out/gpu/hwdec.c +++ b/video/out/gpu/hwdec.c @@ -244,7 +244,7 @@ void ra_hwdec_ctx_init(struct ra_hwdec_ctx *ctx, struct mp_hwdec_devices *devs, * obviously no interops will need to be loaded later. * * Finally, if a specific interop is requested, it will be loaded now, and - * no other interop will be loaded, even if requested later. + * other interops can be loaded, if requested later. */ if (!type || !type[0] || strcmp(type, "auto") == 0) { if (!load_all_by_default) |