[vlc-devel] [PATCH 15/16] video_output: use the display_pool with vout_GetPicture

Rémi Denis-Courmont remi at remlab.net
Thu Oct 24 21:25:30 CEST 2019


Le torstaina 24. lokakuuta 2019, 17.20.29 EEST Steve Lhomme a écrit :
> The decoder pool is no long relevant and used by the decoder.

long*er*

> The remaining callers of vout_GetPicture() are audio visualization which can
> use pictures from the display pool they configured.
> ---
>  src/video_output/video_output.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/video_output/video_output.c
> b/src/video_output/video_output.c index 8f54806b8f9..4dc19559f4b 100644
> --- a/src/video_output/video_output.c
> +++ b/src/video_output/video_output.c
> @@ -329,7 +329,7 @@ void vout_SetSpuHighlight( vout_thread_t *vout,
>  picture_t *vout_GetPicture(vout_thread_t *vout)
>  {
>      assert(!vout->p->dummy);
> -    picture_t *picture = picture_pool_Wait(vout->p->decoder_pool);
> +    picture_t *picture = picture_pool_Wait(vout->p->display_pool);
>      if (likely(picture != NULL)) {
>          picture_Reset(picture);
>          video_format_CopyCropAr(&picture->format, &vout->p->original);


-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list