Added number of reference frames to prefix SEI user data

This commit is contained in:
Marko Viitanen 2014-02-19 14:45:18 +02:00
parent 8490ff1a9d
commit c230a73155

View file

@ -632,6 +632,7 @@ void encode_prefix_sei_version(encoder_control* encoder)
s += sprintf(s, " sao=%d", cfg->sao_enable); s += sprintf(s, " sao=%d", cfg->sao_enable);
s += sprintf(s, " intra_period=%d", cfg->intra_period); s += sprintf(s, " intra_period=%d", cfg->intra_period);
s += sprintf(s, " qp=%d", cfg->qp); s += sprintf(s, " qp=%d", cfg->qp);
s += sprintf(s, " ref=%d", cfg->ref_frames);
length = (int)(s - buf + 1); // length, +1 for \0 length = (int)(s - buf + 1); // length, +1 for \0