mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-10 19:40:03 +08:00
[mpp_h265]: Fix the black screen issue of hevc
For hevc field source without idr frame, get idr information from recovrey point Signed-off-by: Hongjin Li <vic.hong@rock-chips.com> Change-Id: I4c5aaa20b074d470eff73461ac15c1019f74cfb4
This commit is contained in:
@@ -373,6 +373,10 @@ static RK_S32 decode_nal_sei_message(HEVCContext *s)
|
|||||||
h265d_dbg(H265D_DBG_SEI, "tone_mapping_info in\n");
|
h265d_dbg(H265D_DBG_SEI, "tone_mapping_info in\n");
|
||||||
tone_mapping_info(s);
|
tone_mapping_info(s);
|
||||||
return 1;
|
return 1;
|
||||||
|
} else if (payload_type == 6) {
|
||||||
|
h265d_dbg(H265D_DBG_SEI, "recovery point in\n");
|
||||||
|
s->max_ra = INT_MIN;
|
||||||
|
return 1;
|
||||||
} else {
|
} else {
|
||||||
h265d_dbg(H265D_DBG_SEI, "Skipped PREFIX SEI %d\n", payload_type);
|
h265d_dbg(H265D_DBG_SEI, "Skipped PREFIX SEI %d\n", payload_type);
|
||||||
SKIP_BITS(gb, 8 * payload_size);
|
SKIP_BITS(gb, 8 * payload_size);
|
||||||
|
Reference in New Issue
Block a user