[vlc-devel] [PATCH 3/5] android_window: add logs

Thomas Guillem thomas at gllm.fr
Wed Nov 19 12:04:14 CET 2014


---
 modules/video_output/android/android_window.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/video_output/android/android_window.c b/modules/video_output/android/android_window.c
index 8474840..4a667d4 100644
--- a/modules/video_output/android/android_window.c
+++ b/modules/video_output/android/android_window.c
@@ -731,11 +731,12 @@ static picture_pool_t *PoolAlloc(vout_display_t *vd, unsigned requested_count)
     picture_t **pp_pics = NULL;
     unsigned int i = 0;
 
+    msg_Dbg(vd, "PoolAlloc: request %d frames", requested_count);
     if (SetupWindowSurface(sys, requested_count) != 0)
         goto error;
 
     requested_count = AndroidWindow_GetPicCount(sys, sys->p_window);
-    msg_Dbg(vd, "PoolAlloc: request %d frames", requested_count);
+    msg_Dbg(vd, "PoolAlloc: got %d frames", requested_count);
 
     UpdateWindowSize(&sys->p_window->fmt, sys->p_window->b_use_priv);
 
-- 
2.1.1




More information about the vlc-devel mailing list