vlc | branch: master | Rémi Denis-Courmont <[email protected]> | 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;
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to