Backport of "h264decoder, h265decoder: Latency report related fixes" into 1.22
Backport of !4357 (merged) "h264decoder, h265decoder: Latency report related fixes".
Commits:
- 560fd483 h264decoder: Fix for latency report when src caps is not configured
- f439481d h265decoder: Fix for latency report when src caps is not configured
- e0c2578f h264decoder: Ignore invalid max_num_reorder_frames in VUI
- 73daa0e0 h264decoder: Fix for latency report
- bb5c1513 h264decoder: Enable low-latency bumping in case of pic_order_cnt_type 2