mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 23:13:18 +08:00
vf_d3d11vpp: print supported custom rates
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user