Remove extra parameter sets.

This commit is contained in:
Ari Koivula 2014-10-16 03:23:33 +03:00
parent 02ec26fcea
commit afb9e8c3f4

View file

@ -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