Skip to content
Snippets Groups Projects
Commit 8cb41cb3 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

avcodec audio encoder: set frame size

parent 2621fdeb
No related branches found
No related tags found
No related merge requests found
......@@ -887,6 +887,7 @@ errmsg:
{
goto error;
}
p_enc->fmt_out.audio.i_frame_length = p_context->frame_size;
p_enc->fmt_out.audio.i_blockalign = p_context->block_align;
p_enc->fmt_out.audio.i_bitspersample = aout_BitsPerSample( p_enc->fmt_out.i_codec );
//b_variable tells if we can feed any size frames to encoder
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment