Commit 321cb8b0 authored by Gildas Cocherel's avatar Gildas Cocherel Committed by Anton Khirnov

hevc: store profile and level in AVCodecContext

Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 2a41826b
......@@ -495,6 +495,9 @@ static int hls_slice_header(HEVCContext *s)
s->max_ra = INT_MAX;
}
s->avctx->profile = s->sps->ptl.general_ptl.profile_idc;
s->avctx->level = s->sps->ptl.general_ptl.level_idc;
sh->dependent_slice_segment_flag = 0;
if (!sh->first_slice_in_pic_flag) {
int slice_address_length;
......
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