[vlc-devel] [PATCH 1/3] decoder: process the last block when closing
Rémi Denis-Courmont
remi at remlab.net
Tue Jul 19 08:27:01 CEST 2011
> diff --git a/src/input/es_out_timeshift.c b/src/input/es_out_timeshift.c
> index d2d9b43..2930736 100644
> --- a/src/input/es_out_timeshift.c
> +++ b/src/input/es_out_timeshift.c
> @@ -1269,12 +1269,11 @@ static int CmdExecuteSend( es_out_t *p_out,
> ts_cmd_t *p_cmd )
>
> p_cmd->u.send.p_block = NULL;
>
> + if( p_cmd->u.send.p_es->p_es )
> + return es_out_Send( p_out, p_cmd->u.send.p_es->p_es, p_block );
> if( p_block )
> - {
> - if( p_cmd->u.send.p_es->p_es )
> - return es_out_Send( p_out, p_cmd->u.send.p_es->p_es,
p_block
> );
> block_Release( p_block );
> - }
> +
Uh? I don't get this chunk.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list