[vlc-devel] [RFC PATCH] input: decoder: optimize dpb_size of H264

Rémi Denis-Courmont remi at remlab.net
Sat May 20 10:08:47 CEST 2017


	Nihao,

Le perjantaina 19. toukokuuta 2017, 16.31.29 EEST Zhao Zhili a écrit :
> ---
>  src/input/decoder.c | 120
> ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 120 insertions(+)
> diff --git a/src/input/decoder.c b/src/input/decoder.c
> index 400464d..2283503 100644
> --- a/src/input/decoder.c
> +++ b/src/input/decoder.c
> @@ -370,6 +370,80 @@ static int aout_update_format( decoder_t *p_dec )
>      return 0;
>  }
> 
> +/* copy and paste from modules/packetizer/h264_nal.c
> + */

This should probably stay in the respective AVC and HEVC packetizers.

You might need to add a DPB parameter to es_format_t.

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list