Commit 333a300a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert "AVFormat Muxer : Set codec frame size."

This reverts commit 077f47ff.
frame_size is set by libavcodec, not the user.
parent 2791ecbf
......@@ -250,7 +250,6 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
codec->channels = fmt->audio.i_channels;
codec->sample_rate = fmt->audio.i_rate;
stream->time_base = (AVRational){1, codec->sample_rate};
codec->frame_size = fmt->audio.i_frame_length;
if (fmt->i_bitrate == 0) {
msg_Warn( p_mux, "Missing audio bitrate, assuming 64k" );
i_bitrate = 64000;
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