mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 18:10:13 +01:00
h264: Add Intra and Constrained Baseline profiles to avctx.profile
(cherry picked from commit fe9a3fbe42)
This commit is contained in:
committed by
Michael Niedermayer
parent
8a92ec71b3
commit
94e3e83f13
@@ -187,7 +187,7 @@ static inline int parse_nal_units(AVCodecParserContext *s,
|
||||
h->sps = *h->sps_buffers[h->pps.sps_id];
|
||||
h->frame_num = get_bits(&h->s.gb, h->sps.log2_max_frame_num);
|
||||
|
||||
avctx->profile = h->sps.profile_idc;
|
||||
avctx->profile = ff_h264_get_profile(&h->sps);
|
||||
avctx->level = h->sps.level_idc;
|
||||
|
||||
if(h->sps.frame_mbs_only_flag){
|
||||
|
||||
Reference in New Issue
Block a user