mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Write the encoding tier (main/high) into the bitstream
This commit is contained in:
parent
324203e5b4
commit
62b44efaa4
|
@ -60,7 +60,7 @@ static void encoder_state_write_bitstream_PTL(bitstream_t *stream,
|
|||
// PTL
|
||||
// Profile Tier
|
||||
WRITE_U(stream, 0, 2, "general_profile_space");
|
||||
WRITE_U(stream, 0, 1, "general_tier_flag");
|
||||
WRITE_U(stream, state->encoder_control->cfg.high_tier, 1, "general_tier_flag");
|
||||
// Main Profile == 1, Main 10 profile == 2
|
||||
WRITE_U(stream, (state->encoder_control->bitdepth == 8)?1:2, 5, "general_profile_idc");
|
||||
/* Compatibility flags should be set at general_profile_idc
|
||||
|
|
Loading…
Reference in a new issue