You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
hevc_ps: expose vps_id
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user