v_hdmirx.c: Add custom video mode id tag

For input resolution not found in mode table update the video
mode id as custom.

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
This commit is contained in:
Rohit Consul 2015-10-22 11:45:39 -07:00 committed by Nava kishore Manne
parent f0dfbbd126
commit c41c7cc5f4

View file

@ -1231,6 +1231,11 @@ void XV_HdmiRx_GetVideoTiming(XV_HdmiRx *InstancePtr)
InstancePtr->Stream.Video.Timing.VActive,
InstancePtr->Stream.Video.FrameRate,
InstancePtr->Stream.Video.IsInterlaced);
//If video mode not found in the table tag it as custom
if (InstancePtr->Stream.Video.VmId == XVIDC_VM_NOT_SUPPORTED) {
InstancePtr->Stream.Video.VmId = XVIDC_VM_CUSTOM;
}
}
}