Fixed temporal_id to be always zero

This commit is contained in:
Marko Viitanen 2013-09-12 15:26:03 +03:00
parent 7da00bc51a
commit 8d44f29d89

View file

@ -371,7 +371,7 @@ void encode_one_frame(encoder_control* encoder)
cabac_flush(&cabac);
bitstream_align(encoder->stream);
bitstream_flush(encoder->stream);
nal_write(encoder->output, encoder->stream->buffer, encoder->stream->buffer_pos, 0,NAL_TRAIL_R,encoder->frame);
nal_write(encoder->output, encoder->stream->buffer, encoder->stream->buffer_pos, 0,NAL_TRAIL_R,0);
bitstream_clear_buffer(encoder->stream);
}
#ifdef _DEBUG