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:
parent
f0dfbbd126
commit
c41c7cc5f4
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue