[vlc-devel] [PATCH] vout: android: remove unused local pool

Steve Lhomme robux4 at ycbcr.xyz
Fri Dec 20 13:02:30 CET 2019


---
 modules/video_output/android/display.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/video_output/android/display.c b/modules/video_output/android/display.c
index 547b269e835..3ad9aeb4520 100644
--- a/modules/video_output/android/display.c
+++ b/modules/video_output/android/display.c
@@ -107,7 +107,6 @@ struct buffer_bounds
 struct vout_display_sys_t
 {
     vout_window_t *embed;
-    picture_pool_t *pool;
 
     int i_display_width;
     int i_display_height;
@@ -657,9 +656,6 @@ static void Close(vout_display_t *vd)
         AndroidWindow_UnlockPicture(sys, sys->p_sub_window, sys->p_sub_pic);
     }
 
-    if (sys->pool)
-        picture_pool_Release(sys->pool);
-
     if (sys->p_window)
     {
         if (sys->b_displayed)
-- 
2.17.1



More information about the vlc-devel mailing list