Commit bdf9d06c authored by Ilkka Ollakka's avatar Ilkka Ollakka

opus: support setting bitrate

parent 5507803e
......@@ -614,7 +614,10 @@ static int OpenEncoder(vlc_object_t *p_this)
goto error;
}
/* TODO: vbr, bitrate, fec */
/* TODO: vbr, fec */
if( enc->fmt_out.i_bitrate )
opus_multistream_encoder_ctl(sys->enc, OPUS_SET_BITRATE( enc->fmt_out.i_bitrate ));
/* Buffer for incoming audio, since opus only accepts frame sizes that are
multiples of 2.5ms */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment