mirror of https://git.ffmpeg.org/ffmpeg.git
hevc_ps: expose vps_id
This commit is contained in:
parent
3bc866159c
commit
d0b02c3aff
|
@ -464,7 +464,7 @@ int ff_hevc_decode_nal_vps(GetBitContext *gb, AVCodecContext *avctx,
|
|||
}
|
||||
memcpy(vps->data, gb->buffer, vps->data_size);
|
||||
|
||||
vps_id = get_bits(gb, 4);
|
||||
vps_id = vps->vps_id = get_bits(gb, 4);
|
||||
|
||||
if (get_bits(gb, 2) != 3) { // vps_reserved_three_2bits
|
||||
av_log(avctx, AV_LOG_ERROR, "vps_reserved_three_2bits is not three\n");
|
||||
|
|
|
@ -145,6 +145,7 @@ typedef struct PTL {
|
|||
} PTL;
|
||||
|
||||
typedef struct HEVCVPS {
|
||||
unsigned int vps_id;
|
||||
HEVCHdrParams hdr[HEVC_MAX_LAYER_SETS];
|
||||
|
||||
uint8_t vps_temporal_id_nesting_flag;
|
||||
|
|
Loading…
Reference in New Issue