Commit 8908dd2a authored by François Cartegnie's avatar François Cartegnie 🤞

packetizer: hevc: add poc HandleCraAsBlaFlag param

(cherry picked from commit 5999e68d)
parent d58bee43
......@@ -1467,7 +1467,8 @@ int hevc_compute_picture_order_count( const hevc_sequence_parameter_set_t *p_sps
p_slice->nal_type == HEVC_NAL_IDR_W_RADL ||
p_slice->nal_type == HEVC_NAL_BLA_W_LP ||
p_slice->nal_type == HEVC_NAL_BLA_W_RADL ||
p_slice->nal_type == HEVC_NAL_BLA_N_LP);
p_slice->nal_type == HEVC_NAL_BLA_N_LP ||
p_ctx->HandleCraAsBlaFlag );
}
else
{
......
......@@ -248,6 +248,7 @@ typedef struct
int msb;
} prevPicOrderCnt, prevTid0PicOrderCnt;
bool HandleCraAsBlaFlag;
bool first_picture; /* Must be set on start or on NAL_EOS */
} hevc_poc_ctx_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment