[vlc-devel] [PATCH 7/9] video_output: use the display_pool with vout_GetPicture
Steve Lhomme
robux4 at ycbcr.xyz
Fri Oct 18 17:11:12 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 70ab417899b..930a5b61b49 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