mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-30 20:54:07 +00:00
Remove extra parameter sets.
This commit is contained in:
parent
02ec26fcea
commit
afb9e8c3f4
|
@ -689,6 +689,7 @@ static void encoder_state_write_bitstream_main(encoder_state * const main_state)
|
|||
}
|
||||
|
||||
if (main_state->global->is_radl_frame) {
|
||||
if (main_state->global->frame == 0) {
|
||||
// Access Unit Delimiter (AUD)
|
||||
if (encoder->aud_enable)
|
||||
encoder_state_write_bitstream_aud(main_state);
|
||||
|
@ -707,6 +708,7 @@ static void encoder_state_write_bitstream_main(encoder_state * const main_state)
|
|||
nal_write(stream, NAL_PPS_NUT, 0, 1);
|
||||
encoder_state_write_bitstream_pic_parameter_set(main_state);
|
||||
bitstream_align(stream);
|
||||
}
|
||||
|
||||
if (main_state->global->frame == 0) {
|
||||
// Prefix SEI
|
||||
|
|
Loading…
Reference in a new issue