vf_d3d11vpp: print supported custom rates

This commit is contained in:
Kacper Michajłow
2026-02-18 18:13:18 +01:00
parent 2141fa88b3
commit f571fd73a1
+9
View File
@@ -296,6 +296,15 @@ static int recreate_video_proc(struct mp_filter *vf)
"itelecine_caps=%#x custom_rate_count=%u\n", marker, n,
rcaps.ProcessorCaps, rcaps.PastFrames, rcaps.FutureFrames,
rcaps.ITelecineCaps, rcaps.CustomRateCount);
for (UINT c = 0; c < rcaps.CustomRateCount; c++) {
D3D11_VIDEO_PROCESSOR_CUSTOM_RATE cr;
if (FAILED(ID3D11VideoProcessorEnumerator_GetVideoProcessorCustomRate(p->vp_enum, n, c, &cr)))
continue;
MP_DBG(vf, "\t%u: custom_rate=%u/%u out_frames=%u in_interlaced=%d in_frames_or_fields=%u\n",
0, cr.CustomRate.Numerator, cr.CustomRate.Denominator, cr.OutputFrames,
cr.InputInterlaced, cr.InputFramesOrFields);
}
}
if (rindex < 0) {