[vlc-commits] vout/opengl: add more logs

Thomas Guillem git at videolan.org
Tue Dec 20 11:28:25 CET 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Dec 20 10:51:26 2016 +0100| [578960cbf3abb34dd05ebb11363c0694308e702f] | committer: Thomas Guillem

vout/opengl: add more logs

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

 modules/video_output/opengl/converter_android.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/video_output/opengl/converter_android.c b/modules/video_output/opengl/converter_android.c
index 8f0b48d..bfb27e1 100644
--- a/modules/video_output/opengl/converter_android.c
+++ b/modules/video_output/opengl/converter_android.c
@@ -91,7 +91,10 @@ tc_anop_get_pool(const opengl_tex_converter_t *tc, const video_format_t *fmt,
     struct priv *priv = tc->priv;
     priv->stex = SurfaceTexture_create(tc->parent, textures[0]);
     if (priv->stex == NULL)
+    {
+        msg_Err(tc->parent, "tc_anop_get_pool: SurfaceTexture_create failed");
         return NULL;
+    }
 
 #define FORCED_COUNT 31
     requested_count = FORCED_COUNT;



More information about the vlc-commits mailing list