[vlc-commits] vdpau/chroma: use filter pool

Rémi Denis-Courmont git at videolan.org
Sun Dec 30 18:49:12 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Dec 25 21:15:09 2018 +0200| [67254b82156474b9e444264eccdfdbfd2b75ca77] | committer: Rémi Denis-Courmont

vdpau/chroma: use filter pool

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=67254b82156474b9e444264eccdfdbfd2b75ca77
---

 modules/hw/vdpau/chroma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/hw/vdpau/chroma.c b/modules/hw/vdpau/chroma.c
index 6b1b0d9de4..f0a97ebde9 100644
--- a/modules/hw/vdpau/chroma.c
+++ b/modules/hw/vdpau/chroma.c
@@ -514,7 +514,7 @@ static picture_t *Render(filter_t *filter, picture_t *src, bool import)
     }
 
     /* Get a VLC picture for a VDPAU output surface */
-    dst = filter_NewPicture(filter);
+    dst = picture_pool_Get(sys->pool);
     if (dst == NULL)
         goto skip;
 



More information about the vlc-commits mailing list