[vlc-commits] video_output: use the display_pool with vout_GetPicture
Steve Lhomme
git at videolan.org
Fri Oct 25 08:07:44 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jul 4 13:48:47 2019 +0200| [1654775516cc11c2a6e0f0704a7042d59cf081d7] | committer: Steve Lhomme
video_output: use the display_pool with vout_GetPicture
The decoder pool is no longer 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1654775516cc11c2a6e0f0704a7042d59cf081d7
---
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 8f54806b8f..4dc19559f4 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);
More information about the vlc-commits
mailing list