[vlc-devel] [PATCH 15/16] video_output: use the display_pool with vout_GetPicture
Steve Lhomme
robux4 at ycbcr.xyz
Thu Oct 24 16:20:29 CEST 2019
The decoder pool is no long relevant and used by the decoder.
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);
--
2.17.1
More information about the vlc-devel
mailing list