0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00

f_hwtransfer: minor debug logging improvement

This commit is contained in:
wm4 2020-01-17 15:10:36 +01:00
parent 7ed6b5f44d
commit a500608845

View File

@ -322,8 +322,11 @@ static bool probe_formats(struct mp_hwupload *u, int hw_imgfmt)
MP_VERBOSE(u->f, " ... skipping blacklisted format\n");
continue;
}
if (vo_supports(ctx, hw_imgfmt, fmt))
MP_TARRAY_APPEND(p, p->upload_fmts, p->num_upload_fmts, fmt);
if (!vo_supports(ctx, hw_imgfmt, fmt)) {
MP_VERBOSE(u->f, " ... not supported by VO\n");
continue;
}
MP_TARRAY_APPEND(p, p->upload_fmts, p->num_upload_fmts, fmt);
}
p->fmt_upload_num[index] =