Commit a8d2d402 authored by Ilkka Ollakka's avatar Ilkka Ollakka Committed by Rémi Denis-Courmont

transcode: actually do the audio encode flushing

parent 1e0a7a8c
......@@ -340,6 +340,16 @@ int transcode_audio_process( sout_stream_t *p_stream,
block_t *p_block, *p_audio_buf;
*out = NULL;
if( unlikely( in == NULL ) )
{
block_t *p_block;
do {
p_block = id->p_encoder->pf_encode_audio(id->p_encoder, NULL );
block_ChainAppend( out, p_block );
} while( p_block );
return VLC_SUCCESS;
}
while( (p_audio_buf = id->p_decoder->pf_decode_audio( id->p_decoder,
&in )) )
{
......
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